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
git config --global user.name "Ivan E. Cao-Berg" | |
git config --global user.email "[email protected]" |
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
#!/bin/bash | |
find . -name "*.m" -exec sed -i 's/\/home\/icaoberg\/cellorganizer-matlab-master/\/home\/icaoberg\/projects\/cellorganizer\/matlab/g' {} \; |
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
#!/bin/bash | |
find . -name "*.sh" -exec sed -i 's/#PBS -M [email protected]/##PBS -M [email protected]/g' {} \; |
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
TAG="v1.7.2" | |
git tag -d $TAG | |
git push origin :refs/tags/$TAG |
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
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install setup-tools python-matplotlib | |
sudo easy_install pip | |
sudo pip install pyslic | |
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
cp /opt/matlab/amd64_f7/7.10/lib/matlab7/toolbox/matlab/codetools/private/*.gif . | |
sed -i 's/file:\/\/\/\/opt\/matlab\/amd64_f7\/7.10\/lib\/matlab7\/toolbox\/matlab\/codetools\/private\///g' *.html | |
sed -i 's/file:\/\/\/\/opt\/matlab\/7.13\/toolbox\/matlab\/codetools\/private\///g' *.html | |
sed -i 's/file0.html/index.html/g' *.html | |
mv file0.html index.html |
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
#!/bin/bash | |
QUEUE_NAME=model1 | |
pbsnodes | grep -B 3 "properties = $QUEUE_NAME" | grep "compute" |
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
#!/bin/bash | |
pbsnodes | grep -B 1 "state = down" | grep "compute" |
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
#!/bin/bash | |
#Restricts job selection to those in the specified states | |
#E(xiting state) | |
#H(eld state) | |
#Q(ueued state) | |
#R(unning state) | |
#T(ransiting state) | |
#W(aiting state) |
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
#!/bin/bash | |
#http://stackoverflow.com/questions/12574604/scipy-install-on-mountain-lion-failing | |
mkdir -p build | |
cd build | |
git clone https://github.com/numpy/numpy.git | |
python build setup.py | |
python install setup.py | |
pip install scipy |