#> wget http://download.silicondust.com/hdhomerun/libhdhomerun_20130117.tgz
#> tar zxvf libhdhomerun_20130117.tgz
# if netid is logged in, send a random cat fact to all of its terminals. | |
# usage: crontab -e. paste in: | |
# 0 * * * * python ~/catfact.py | |
# logs in ~/victims.txt | |
# why did i spend so much time on this. | |
# this got me banned from the school servers for two days | |
messagechance = 5 # 1 is 1%, 99 is 99%. keep in mind this will only run if they're logged in. | |
postscript = '\n this has been an automated cat fact. contact me to unsubscribe. or to subscribe others.\n' | |
listofnetids = ['netids','go','here'] |
server { | |
listen 443 ssl; | |
server_name xxx.xx.io | |
ssl on; | |
ssl_certificate /etc/asterisk/certs/xxx.io.pem; | |
ssl_certificate_key /etc/asterisk/certs/xxx.io.key; | |
ssl_session_timeout 5m; |
#!/bin/bash | |
# How to install: | |
# | |
# $ sudo wget -O /usr/local/bin/jenkins-cli.jar http://your-jenkins/jnlpJars/jenkins-cli.jar | |
# $ sudo chmod +x !:3 | |
# | |
# Put this script somewhere in your PATH and allow execution: | |
# | |
# $ sudo wget -O /usr/local/bin/jenkins https://gist.github.com/jubianchi/6434891/raw/jenkins.sh |
if [[ $BUILD_STATUS == "success" ]] | |
then | |
export STATUS="success" | |
else | |
export STATUS="failure" | |
fi | |
curl "https://api.github.com/repos/justincampbell/my_repo/statuses/$GIT_COMMIT?access_token=abc123" \ | |
-H "Content-Type: application/json" \ | |
-X POST \ |