Lists snippets located in $HOME/.snippets
in fzf
and copy its content when selected.
Snippets can be any type of file (sql
, sh
, ...).
Lists snippets located in $HOME/.snippets
in fzf
and copy its content when selected.
Snippets can be any type of file (sql
, sh
, ...).
fuzzy find a folder and cd into it
Available in a bash version with bindings, or sh function:
fzfcd()
{
directory="$(find -L . -mindepth 1 -maxdepth 8 -name '\.config' -o -name '\.local' -o \( -name '\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \) -prune -o -type d -print 2>/dev/null | fzf)" || return 1
cd "$directory" || return 1
Documentation
https://git-scm.com/docs/git-worktree
Using worktrees can be cumbersome and dissuade one from using them, while they're great tools! Here's a helper script that makes using them much easier and hopefully help you adopt worktrees.
Introduction
https://medium.com/@pimterry/introducing-git-confirm-2618bb7cfbed
Debug prints and TODOs should often be stripped out of commits, but some slip in when you're not wary. Set-up a pre-commit hook that will look for some blacklisted keywords in your stashed changes and ask you to confirm you want to commit them before you do.
Building your Unity project makes your game playable outside of the Unity Editor. The platform you target during build will determine the platform your game will be playable on.
Here we will focus on building our project for WebGL, to make our game run in almost any browser.