Skip to content

Instantly share code, notes, and snippets.

View willjasen's full-sized avatar
☎️
just read me the credit card number

willjasen

☎️
just read me the credit card number
View GitHub Profile
@willjasen
willjasen / ubuntu-graylog2.sh
Last active May 29, 2016 01:21
Graylog2 on Ubuntu
## Sets up Graylog2 on Ubuntu
# Variables
ELASTICACHE_VERSION=0.90.10
GRAYLOG2_VERSION=0.20.6
GRAYLOG2_WEB_VERSION=0.20.6
GRAYLOG2_PORT=12900
GRAYLOG2_WEB_PORT=9000
PASSWORD=password
#!/usr/bin/ruby
# Calculate the entropy of a file
# Install prereqs
sudo apt-get update
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get install -y git curl build-essential python-software-properties python g++ make
# Install node
sudo apt-get install -y nodejs npm
# Install Meteor.JS
curl https://install.meteor.com | sh
@willjasen
willjasen / ubuntu-ruby-env
Last active May 28, 2016 21:02
Ubuntu Ruby Environment
#!/bin/bash
echo -n "Enter Git username: "
read git_username
echo -n "Enter Git user email: "
read git_user_email
# Update available packages and install Ruby dependencies
sudo apt-get -y update
sudo apt-get -y install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev