First challenge: How do I "download these four data files"?
mkdir sc
# Use shell expansion to get each of the four files
wget http://resbaz.github.io/2014-03-18-combine/novice/python/inflammation-0{1,2,3,4}.csv
Current issues that need to be resolved before production use can be considered. Limited to absolutely necessary, and not a feature wishlist.
#!/bin/bash | |
export HOME=/home/researcher | |
source /opt/python/bin/activate | |
pip install nltk pyyaml tkinter |
Set value:
core@pn-02 ~ $ ETCDCTL_PEERS=http://127.0.0.1:2379/ /opt/etcd/etcdctl set /test-`date +"%s"` "tjdett: but if that one machine isn\'t getting state replicated then it could be behind"
Get cluster-wide state:
$ ansible routing -i inventory.ini --sudo -a "curl -s http://localhost:2379/v2/keys/test-1423189078"
pn-04.resbaz.cloud.edu.au | success | rc=0 >>
{"action":"get","node":{"key":"/test-1423189078","value":"tjdett: but if that one machine isn't getting state replicated then it could be behind","modifiedIndex":456,"createdIndex":456}}
#!/bin/bash | |
# In addition to `curl`, `jq` is needed for JSON querying | |
# Change these for your domain | |
OS_DESIGNATE_DOMAIN=cloud.edu.au. | |
OS_DESIGNATE_RECORD=resbaz.$OS_DESIGNATE_DOMAIN | |
OS_TOKEN=$(curl -s \ | |
-H "Content-Type: application/json" \ |
#!/bin/bash | |
export CPLUS_INCLUDE_PATH=/usr/include/gdal | |
export C_INCLUDE_PATH=/usr/include/gdal | |
pip install gdal |
#!/bin/sh | |
cd ~ | |
curl http://www.ks.uiuc.edu/Research/vmd/vmd-1.9.2/files/final/vmd-1.9.2.bin.LINUXAMD64.opengl.tar.gz | tar xzv | |
cd vmd-1.9.2 | |
./configure | |
cd src | |
fsudo make install | |
cd ~ | |
rm -rf vmd-1.9.2 |
#!/bin/sh | |
fsudo yum install -y gtk2-devel mesa-libGLU-devel expect | |
# Install gtkglext from unofficial RPMs | |
fsudo yum localinstall -y \ | |
http://www.melvilletheatre.com/articles/el7/gtkglext-libs-1.2.0-21.el7.centos.x86_64.rpm \ | |
http://www.melvilletheatre.com/articles/el7/gtkglext-devel-1.2.0-21.el7.centos.x86_64.rpm | |
curl -L https://github.com/arohl/gdis/archive/master.tar.gz | tar xzv -C /tmp |