Maybe is a python script that allows you to simulate running commands such as rm without making any actual changes to files. I’ve just given it a test run and it seems to work very nicely.

maybe has prevented rm test_file from performing 1 file system operations:

delete /home/ryan/test_file

Do you want to rerun rm test_file and permit these operations? [y/N]

This looks like an excellent script for using on servers in particular!

My Minecraft Launchers

I’ve got two custom launchers for Minecraft on Linux. One is a wrapper script written for zsh and the other is a *.desktop file so I can conveniently launch it from my desktop. First the script ~/local/bin/minecraft: #!/usr/bin/zsh function minecraft () { case $1 { “”) java -jar $HOME/minecraft/MagicLauncher_1.3.1.jar;; “-def”) java -jar $HOME/minecraft/Minecraft.jar;; “-tech”) java…

Continue reading →

mkcd: My favourite script

The two commands that I cannot stand to run consecutively are mkdir and cd. It’s a little thing but I despise creating a directory and then entering it with a second command so I wrote a /bin/zsh function to combine them. If you want to do the same add the following into your .zshrc file:…

Continue reading →