I’m constantly passing a list of git aliases I use in my terminals. Here they are:
alias gb='git branch'
alias gba='git branch -a'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gd='git diff | mate'
alias gl='git pull origin master'
alias gp='git push origin master'
alias gst='git status'
There are a number of instances where you may find yourself with two arrays and you need to find the values that do not exist in both. This is fairly simple:
For these two arrays:
a = ["rockets", "saucers", "underwater", "warp"]
b = ["saucers", "fuel", "moon", "warp"]
A simple way to do this is to put the two arrays together and then remove the items that exist in both:
(a | b) - (a & b)
Mid June we’re going to launch Imapenguin Screencasts. We’re in post production of the first few now.
The short short version of the service is: Learn something really interesting and useful from an expert for $9. They’ll be about an hour and cover topics like:
Mac OS X Security
Ubuntu Security
Launching and managing your business website with Wordpress
Network Mapping with Open Source tools
Install and configure Gentoo (you know you want to geek out with Gentoo)