alias gb=’git branch’
alias gc=’git commit’
alias ga=’git add’
alias gco=’git checkout ‘
alias gd=’git diff’
alias gp=’git push’
alias gp=’git push’
alias pp=’git pull && git push’
alias gst=’git status’
My Favorite here is ‘pp’, pull and push on a single command. Quite handy and saves a lot of time. This can obviously be improved on further, that will be done when I learn more of bash scripting. As of now I have decided to build on my bashrc and vimrc to setup a more productive environment.
Thanks to this link. I have modified a few things to suit me.
My Dell device had come with a pre installed version of Ubuntu 11.10, after a upgrade to long term support Ubuntu 12.04, my WIFI and blue tooth stopped working all together. After trying failing for many times I had almost given up on WIFI all together, until i stumbled up on a Ask Ubuntu answer by the awesome user izx, who has modified some drives to make the device work. So here are the steps to install the modified drivers, open a new terminal and fire away.
1. Remove the default Broadcom drivers.
sudo apt-get remove bcmwl-kernel-source
2. Install the prerequisite packages.
sudo apt-get install linux-headers$(uname -r | grep -Po "\-[a-z].*")
sudo apt-get install build-essential dkms
3. Download one of the two drivers 32 bit or 64 bit
4. Install using dpkg.
sudo dpkg -i <name of the package>
5.After the install restart your machine. open a terminal and type
rfkill unblock all
You should be able to use your WIFI now cheers 🙂
For some strange reason the upgrade option is set off by default for Ubuntu which comes installed default in Dell has its upgrade option disabled. But for the open system that Linux is, you can easily work around that by following the below steps.
1.Open up a terminal and type
sudo apt-get install update-manager-core
2.Next run this command
sudo vi /etc/update-manager/release-upgrades
Change the line
lts – will only upgrade to long term support version realases
normal – will upgrade to the intermediate relases
3. Update the packages before upgrading
sudo apt-get update && sudo apt-get upgrade
4. Finally type upgrade command and accept with “Y” at the prompt
Form more reference check out http://www.liberiangeek.net/2012/04/upgrade-to-ubuntu-12-04-from-ubuntu-10-04-via-the-terminal/