This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
[user] | |
name = [name for commits] | |
email = [email for commits] | |
[github] | |
user = [GH username] | |
token = [API token from https://github.com/account/admin] | |
[color] | |
ui = auto | |
interactive = auto | |
[push] |
#!/usr/bin/env bash | |
# PARAMETERS | |
# ---------- | |
# PHP | |
# --- | |
PHP_TIMEZONE="UTC" | |
PHP_DIRECTORY="/etc/php5ts" | |
PHP_VERSION="5.6.5" |
# Note: Based on http://justinhileman.info/article/reinstalling-php-on-mac-os-x/ | |
# Refer to the page in case of any issues | |
# Assumed that you have Brew install; else run the following commands | |
# xcode-select --install | |
# ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew update && brew upgrade |
xcode-select --install | |
curl -L http://install.ohmyz.sh | sh | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
curl -sS https://getcomposer.org/installer | php | |
mv composer.phar /usr/local/bin/composer | |
chmod +x /usr/local/bin/composer |
#!/bin/bash | |
mkdir /tmp/bison | |
cd /tmp/bison | |
apt-get update | |
apt-get install -y build-essential m4 | |
wget http://ftp.gnu.org/gnu/bison/bison-2.7.tar.gz | |
tar -xvf bison-2.7.tar.gz |
# APACHE must be configured with PHP5-FPM, and not be using ModPHP | |
# I've another gist that configures it | |
# TODO: Combine both scripts and make a backup of original SSL conf file | |
sudo apt-get -y install git g++ apache2 libapr1-dev libaprutil1-dev patch binutils make devscripts | |
# Build spdy | |
# --------------------------------------------------------- | |
git clone https://github.com/eousphoros/mod-spdy.git /tmp/mod-spdy |
#! /bin/sh | |
# | |
# Downloaded from: | |
# http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/supervisor/trusty/view/head:/debian/supervisor.init | |
# | |
# skeleton example file to build /etc/init.d/ scripts. | |
# This file should be used to construct scripts for /etc/init.d. | |
# | |
# Written by Miquel van Smoorenburg <[email protected]>. | |
# Modified for Debian |
#TODO: Use this init script https://gist.github.com/bipinu/df44686185d263ef1ba2 | |
apt-get update && apt-get upgrade | |
apt-get install python-pip | |
pip install supervisor --pre | |
mkdir /etc/supervisor | |
echo_supervisord_conf > /etc/supervisor/supervisord.conf | |
ln -s /etc/supervisor/supervisord.conf /etc/supervisord.conf | |
mkdir /var/log/supervisor |
sudo apt-get install gnome-shell xinit | |
# DISABLE ANIMATIONS | |
gsettings set org.gnome.settings-daemon.plugins.remote-display active false | |
gsettings set org.gnome.desktop.interface enable-animations false | |