Skip to content

Instantly share code, notes, and snippets.

@benmccown
benmccown / README.md
Last active November 25, 2025 08:55
Confetti Particle Effect in Godot 4.3

Confetti Particles in Godot 4.3

Demo

confetti-rain

A much higher quality sample of the effect can be found here.

Intro

@gaearon
gaearon / MyResponsiveComponent.js
Created November 1, 2018 10:05
Examples from "Making Sense of React Hooks"
function MyResponsiveComponent() {
const width = useWindowWidth(); // Our custom Hook
return (
<p>Window width is {width}</p>
);
}
@rdeavila
rdeavila / git-update-fork.sh
Last active July 26, 2025 20:15
Git: como atualizar um fork com as mudanças do original?
#!/bin/bash
# Adicione um novo remote; pode chamá-lo de "upstream":
git remote add upstream https://github.com/usuario/projeto.git
# Obtenha todos os branches deste novo remote,
# como o upstream/master por exemplo:
git fetch upstream
@seankross
seankross / init.md
Created February 5, 2014 18:26
Initializing GitHub repository

Create a new repository on the command line

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/seankross/womp.git
git push -u origin master