Skip to content

Instantly share code, notes, and snippets.

View Xeus's full-sized avatar

Ben Turner Xeus

View GitHub Profile
@Xeus
Xeus / age_gate_snippet.html
Created February 12, 2014 17:55
Age Gate snippet
<script>
var countryAges = {
'ageDefault': 18,
'albania': 0,
'angola': 0,
'armenia': 0,
'cambodia': 0,
'comoros': 0,
'cuba': 0,
@Xeus
Xeus / new_instance_latest.sh
Last active August 29, 2015 14:00
Bash script to install latest versions. Still needs some adjusting (particularly for Apache 2.4 and nginx w/ PHP).
#!/bin/bash
#
# updated 14/04/16
set -o nounset
set -o errexit
cd ~
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install python tcl git nodejs npm build-essential zlib1g-dev libbz2-dev libreadline-dev openssl python-setuptools g++ make php5-curl supervisor mysql-client php5-mcrypt php5-mysql phpunit libapache2-modsecurity libssl-dev curl git-core htop rubygems python-pip python-dev openjdk-7-jre-headless curl xml2 libxml2-dev libxslt-dev python-software-properties python3 mysql-server imagemagick software-properties-common libpcre3 libpcre3-dev unzip
# install openssh-server
@Xeus
Xeus / keybase.md
Last active August 29, 2015 14:01
keybase.md

Keybase proof

I hereby claim:

  • I am xeus on github.
  • I am xeus (https://keybase.io/xeus) on keybase.
  • I have a public key whose fingerprint is 8FA7 348F 6A7B 744C 323D 2B38 0D6D 6191 4294 3BB9

To claim this, I am signing this object: