Skip to content

Instantly share code, notes, and snippets.

View onion2k's full-sized avatar
💭
In your browser, making it do stuff.

Chris Neale onion2k

💭
In your browser, making it do stuff.
View GitHub Profile
@willhalling
willhalling / gist:e76edc84003b68d860f05a0bcf280734
Created March 25, 2021 11:25
Remotion text typewriter effect
import {spring, useCurrentFrame, interpolate, Easing, useVideoConfig} from 'remotion';
/*
Pass params into component like this:
<TitleThree titleText={`But I watch
and learn from them.
I like the little they know,
which is so much.`} titleColor="white" backgroundColor="black" fontSize={60} fontFamily="Lora" />
*/
@dmilojkovic76
dmilojkovic76 / UI-UX_Resources.md
Last active February 19, 2025 08:41
UI/UX Design Resources
@EdGuiness
EdGuiness / opinions.md
Last active December 20, 2019 11:27
There are many opinions, here are mine.

Here are my opinions.

Ethics and conduct

  1. Developers should adopt a code of ethics. The ACM has a nice example, if you need one.
  2. Be kind, always.
  3. Bigotry and intolerance of others is not ever OK.
  4. In code, people, everything, seek to understand before judging.
  5. It's OK to judge, provided you're also kind.
  6. It's hard to create good software. Be respectful.
  7. It's easy to criticise and tear down. Don't be an arse.
// by Etienne JACOB
// motion blur template by beesandbombs
// needs opensimplexnoise code in another tab
// --> code here : https://gist.github.com/Bleuje/fce86ef35b66c4a2b6a469b27163591e
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;

Libraries and Tools for React

If you're developing an application based on React it can be helpful if you don't need to develop all the basic UI components yourself. Here you can find a list with various components, component libraries and complete design systems developed with and for React.

As the list got longer and longer I thought it would be better to have a "real" site for it.

👉 Please find the (new) list here: https://react-libs.nilshartmann.net/

@wojteklu
wojteklu / clean_code.md
Last active December 27, 2025 05:10
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@jfmengels
jfmengels / lodash-fp-documentation.md
Last active January 15, 2025 00:34
Generated docs for Lodash/fp. Help make them better at https://github.com/jfmengels/lodash-fp-docs
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active December 25, 2025 09:19
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
@JamesMGreene
JamesMGreene / gitflow-breakdown.md
Last active December 28, 2025 00:59
`git flow` vs. `git`: A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@canton7
canton7 / 0main.md
Last active January 17, 2025 06:09
Local versions of tracked config files

How to have local versions of tracked config files in git

This is a fairly common question, and there isn't a One True Answer.

These are the most common techniques:

If you can modify your application