Skip to content

Instantly share code, notes, and snippets.

View bvdbasch's full-sized avatar
🥇
Beat yesterday; always

Bonno van der Basch bvdbasch

🥇
Beat yesterday; always
View GitHub Profile
@bvdbasch
bvdbasch / smile-license.md
Created February 28, 2025 14:57
The Smile License

I first encountered the smile license when looking for a markdown driven CMS and stumbling across Anchor CMS. The license came with the following message:

Congratulations, you’ve got something with the best license ever.

Basically, you’re free to do what you want with it; as long as you do something good (help someone out, smile; just be nice), you can use this on anything you fancy.

Of course, if it all breaks, it’s totally not the author’s fault.

Enjoy!

@bvdbasch
bvdbasch / git-cheat-sheet.md
Created February 28, 2025 14:52
Git Cheat Sheet

These are some things I find myself doing with git intermittently, but with such a low frequency that I haven't memorized them.

There are multiple ways to perform the actions outlined in this gist, but this is my preferred way of doing them 🤷‍♂️

# I want to work on a remote branch
git checkout master
git fetch
git checkout -b {local branch} origin/{branch}  # Shorthand: git checkout -t <name of remote>/<name of branch>