I have just discovered a script that figures out what you just got wrong at the Linux/BSD/Mac command line and generates the correct command. It is called fuck.
Its home, complete with documentation is
https://github.com/nvbn/thefuck
Thinking with keyboard
I have just discovered a script that figures out what you just got wrong at the Linux/BSD/Mac command line and generates the correct command. It is called fuck.
Its home, complete with documentation is
https://github.com/nvbn/thefuck
Ruby is by far one of my favourite programming languages. It combines the power of Perl with the flexibility of Lisp while remaining far more readable than either. The downside of this though is that a great deal of Ruby development is done in conjunction with the Gem package manager. At best you are asked… Continue reading $GEM_HOME makes ruby programming even better
I’ve written a tool to examine readers browsing sessions on this site. There are some improvements that I want to make to it but it works for me.
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.
This looks like an excellent script for using on servers in particular!
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 My Minecraft Launchers
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 mkcd: My favourite script