Skip to content

Instantly share code, notes, and snippets.

View typhonius's full-sized avatar

Adam Malone typhonius

View GitHub Profile
@typhonius
typhonius / my.cnf
Created February 23, 2013 03:18
A configured my.cnf for a 4GB server also running FPM/Apache
#
# The MySQL database server configuration file.
#
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
@typhonius
typhonius / memcached.conf
Created February 23, 2013 03:14
Memcache configuration
# Run memcached as a daemon.
-d
# pidfile
-P /var/run/memcached.pid
# Log memcached's output
logfile /var/log/memcached.log
@typhonius
typhonius / bashrc
Created February 23, 2013 03:02
My bashrc
# /etc/bashrc
# System wide functions and aliases
# Environment stuff goes in /etc/profile
# are we an interactive shell?
if [ "$PS1" ]; then
if [ -z "$PROMPT_COMMAND" ]; then
case $TERM in
xterm*)