I used to pirate games because I couldn’t buy them. Now I pirate games because the publishers are greedy cunts who do layoffs to appease shareholders, shutter studios that make good games, and pull all the shit Sony’s pulling this year 🖕
I used to pirate games because I couldn’t buy them. Now I pirate games because the publishers are greedy cunts who do layoffs to appease shareholders, shutter studios that make good games, and pull all the shit Sony’s pulling this year 🖕
Have you tried fzf and it’s history integration? Ctrl+R and youre fuzzy finding through your history. I don’t know how I lives without it
Oh boy, my time to shine:
mkd
- Create directory and immediately cd
into itdei
- docker exec -i
dps
- docker ps
mdocker
- Switch to minikube’s docker contextn
- nvim
n.
- nvim .
Exampes use pnpm
but I have them for yarn
, npm
, and bun
too
pi
- pnpm install
pd
- pnpm run dev
sdh
- Search home directory (directories, recursive)fuckyou
- git push --force
nano
- nvim
createpgdb
- Create a postgres db on the given container with the given name
Usage: createpgdb "postgres container" "db name"
I have similar ones for dropdb
and pg_dump
. Here’s the command:
f() { local __user; if [ -z $3 ]; then __user=postgres; else __user=$3; fi; docker exec -i $1 createdb -U $__user $2; unset -f f; }; f'
I have an init.sh file I run from my dotfiles. Pipe my sudo password to it and leave it alone for about an hour. Gets things 95% of the way to how I like them.
I should migrate to ansible like u/djehuti@programming.dev but time :(
This was an interesting read. Good to know that from now on I should treat official CDs just like pirated content: with caution.