Skip to content

Instantly share code, notes, and snippets.

View cheeseprocedure's full-sized avatar

Matt Mercer cheeseprocedure

  • British Columbia, Canada
View GitHub Profile
#!/bin/bash
# Throw an alert when a page's contents have changed
#
# Requires https://github.com/alloy/terminal-notifier
DELAY="30"
URL="https://ftp.gnu.org/gnu/bash/bash-3.2-patches/?C=M;O=D"
CHECKSUM="d1476050bb854ad1d33ce539cd5214fc5c9802d3"
while true; do
@cheeseprocedure
cheeseprocedure / install_python27.sh
Last active February 28, 2017 17:36
Installation of Python 2.7 on an Ubuntu 10.04 Server amd64 instance (using deadsnakes PPA).
#!/bin/bash
PYTHON27="/usr/bin/python2.7"
VENV_ROOT="/data/venv"
apt-get update
apt-get -y install python-software-properties
add-apt-repository ppa:fkrull/deadsnakes
apt-get update