Simplest Journal Solution
This is my simple journal solution. Put the code belowe in your ~/.zshrc or ~/.bashrc Type a j from a terminal, type some notes, save and exit. The script creates a file in the format of ~/journal/2019/01-29.md and automatically pushes it to git. EDITOR=vim journal() { mkdir -p ~/journal/`date +%Y` $EDITOR ~/journal/`date +%Y`/`date +%m-%d.md` (cd ~/journal/; git pull; git add *; git commit -a -m "Update `date +%Y-%m-%d`"; git push) } alias j=journal Easy, simple, effective. Continue readingSniffing one's own farts: Moving from GitHub to Gitlab
I recently announced a new side project of mine, HomelabOS on Reddit.
There was a lot of great feedback, and then there was the hilarious comment in the screenshot.
oh god...one of those people that moved to gitlab to 'send a message'.
OP sounds like the kind of person that sniffs their own farts
While I do enjoy the occassional whiff of gourmet flatulence, I thought I would address my actual motivations behind moving my projects from GitHub to GitLab.
Continue readingSlither Bots - How I built a series of JavaScript snippets to play Slither.io for you
Slither Bots is a series of scripts I created that automate playing the web-based game Slither.io in increasingly complicated ways.
Slither.io is a multiplayer version of the classic Worm game.
You hit other snakes, you lose, they hit you, they lose. Once
a worm dies, it drops a bunch of food that can be slurped up
by the survivors (or anyone else) and can double or triple
a player’s size in a second or two.
I started very simply, and added layers of complexity one after another, saving them each as a separate generation.
Continue reading















