This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo dpkg --get-selections | grep '[[:space:]]install$='| awk '{print $1}' > installedpackages | |
| sudo aptitude update | |
| cat installedpackages | xargs sudo aptitude install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # curl -L gist.github.com/raw/3030000 | sudo bash | |
| sudo -s | |
| apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
| echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" > /etc/apt/sources.list.d/10gen.list | |
| apt-get update | |
| apt-get install mongodb-10gen -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # curl -L gist.github.com/raw/3030596 | bash | |
| sudo add-apt-repository ppa:webupd8team/sublime-text-2 | |
| sudo apt-get update | |
| sudo apt-get install sublime-text -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # curl -L gist.github.com/raw/3033843 | bash | |
| sudo apt-get install python-software-properties | |
| sudo add-apt-repository ppa:pitti/postgresql | |
| sudo apt-get update | |
| sudo apt-get install postgresql-9.1 libpq-dev -y | |
| #su postgres | |
| #psql -d postgres -U postgres | |
| #alter user postgres with password 'a'; | |
| #\q |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # curl -L gist.github.com/raw/3658554 | bash | |
| sudo add-apt-repository ppa:scopes-packagers/ppa | |
| sudo apt-get update | |
| sudo apt-get install unity-lens-utilities unity-scope-calculator -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # curl -L gist.github.com/raw/3658597 | bash | |
| sudo add-apt-repository ppa:scopes-packagers/ppa | |
| sudo apt-get update && sudo apt-get install unity-lens-utilities unity-scope-cities -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # curl -L gist.github.com/raw/3688593 | bash | |
| sudo add-apt-repository ppa:shnatsel/zram | |
| sudo apt-get update | |
| sudo apt-get install zramswap-enabler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # curl -L gist.github.com/raw/3738442 | bash | |
| sudo add-apt-repository ppa:nvbn-rm/ppa | |
| sudo apt-get update && sudo apt-get install everpad -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install youtube-dl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # A shortcut function that simplifies usage of xclip. | |
| # - Accepts input from either stdin (pipe), or params. | |
| # ------------------------------------------------ | |
| cb() { | |
| local _scs_col="\e[0;32m"; local _wrn_col='\e[1;31m'; local _trn_col='\e[0;33m' | |
| # Check that xclip is installed. | |
| if ! type xclip > /dev/null 2>&1; then | |
| echo -e "$_wrn_col""You must have the 'xclip' program installed.\e[0m" | |
| # Check user is not root (root doesn't have access to user xorg server) | |
| elif [[ "$USER" == "root" ]]; then |