The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
pip install twill --allow-external twill --allow-unverified twill |
find /abs/path/ -name '*.ext' |
git branch newbranch | |
git checkout newbranch | |
git push origin newbranch | |
git checkout master | |
git branch -d newbranch |
sudo rm /var/crash/* |
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.provider "virtualbox" do |v| | |
v.memory = 2048 | |
v.cpus = 2 | |
# vb.gui = true | |
end | |
cd /opt/graphite | |
sudo ./bin/carbon-cache.py start | |
cd /opt/elasticsearch | |
sudo nohup ./bin/elasticsearch start & | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list | |
sudo apt-get update | |
sudo apt-get install -y mongodb-org |
git clone git@github.com:user/repo.git | |
cd repo | |
git remote add upstream git@github.com:user/repo.git | |
git fetch upstream | |
git rebase upstream/master |
chmod a+x script.py | |
./script.py <arguments> |