This file contains 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
======================================================================= | |
= LUXURIATING THE BENEFITS OF CONTINUOUS INTEGRATION - A SHORT HOW-TO = | |
======================================================================= | |
2012 Nikos Vasilakis, nvas@seas.upenn.edu | |
TODO: SVN-option, add a post-commit hook on the svn server | |
0. Introduction |
This file contains 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
function trash-show { | |
ls ~/.local/share/Trash/files/ | |
} | |
function trash-move { | |
mv $* ~/.local/share/Trash/files/ | |
} | |
function trash-empty { | |
echo -n 'Sure you want to empty trash? If yes, type "empty" >' |
This file contains 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
# the function is named shange as a play of word for "shell change" | |
# just run shange if you have it on ~/.profile, /bin or | |
# both .bashrc and .tcshrc (not sure about the last for I'm not using tcsh) | |
# only if you are running this as a standalone script (in /bin etc) | |
# comment the "function shange {" and "}" lines. | |
function shange { | |
if [[ "$(basename $SHELL)" == "bash" ]]; then | |
echo "Changing to tcsh" | |
chsh -s tcsh |
This file contains 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
# In case you haven't, grab mercurial binaries from http://mercurial.berkwood.com/ | |
cd ~/Downloads | |
hg clone https://vim.googlecode.com/hg/ vim | |
cd vim | |
#configure is the important bit here! | |
./configure --prefix=/usr/ --enable-rubyinterp --enable-pythoninterp --with-features=huge | |
make | |
sudo make install |
This file contains 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
#!/usr/bin/zsh | |
# Script on how to compile geary on ubuntu 12.04 and elementary | |
# git clone git://yorba.org/geary | |
wget https://launchpad.net/~tombeckmann/+archive/geary/+files/geary_0.4.1-0~1137~ubuntu12.04.1.tar.gz | |
mkdir geary-backport | |
tar xvf !wget:$:t -C !!:$ | |
cd !!:$ | |
cd $(ls) |
This file contains 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
echo 'removing all emacs23+ packages' | |
sudo apt-get purge emacs-snapshot-common emacs-snapshot-bin-common \ | |
emacs-snapshot emacs-snapshot-el emacs-snapshot-gtk emacs23 \ | |
emacs23-bin-common emacs23-common emacs23-el emacs23-nox emacs23-lucid \ | |
echo 'adding repo and installing emacs 24' | |
sudo add-apt-repository ppa:cassou/emacs | |
sudo apt-get update | |
sudo apt-get install emacs24 |
This file contains 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 add-apt-repository ppa:birdie-team/daily | |
sudo apt-get update && sudo apt-get install birdie-granite | |
sudo add-apt-repository ppa:gotwig/weekly | |
sudo apt-get update | |
sudo apt-get install gazette | |
echo 'Add weather.yahoo.com id to org → pantheon → gazette' | |
sudo apt-add-repository ppa:versable/elementary-update | |
sudo apt-get update | |
sudo apt-get install elementary-tweaks | |
sudo add-apt-repository ppa:tombeckmann/geary |
This file contains 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
;;; startup.el --- process Emacs shell arguments and build init screen | |
;; Copyright (C) 1985, 1986, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
;; 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. | |
;; Maintainer: FSF | |
;; Keywords: internal | |
;; This file is part of GNU Emacs. |
This file contains 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
function submit { | |
# cd ~/workspace/HW0 | |
# get directory from where it's being called | |
# TODO: Grab homwork number and have cases based on the ant scripts | |
echo $(pwd) | |
ant pack | |
username="$(grep '^SEAS login' README | sed 's/SEAS login://' | sed 's/ //')" | |
rsync -av --progress submit-hw*.zip "${username}@eniac.seas.upenn.edu:~" | |
ssh ${username}@eniac.seas.upenn.edu "turnin -c cis455 -p hw0 submit-hw0.zip; turnin -c cis455 -p hw0 -v" | |
} |
OlderNewer