Skip to content

Instantly share code, notes, and snippets.

@goofrider
goofrider / php5-fcgid.conf
Created June 5, 2013 16:09
Use fcgid to run PHP scripts on Apache
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi .php
# Where to look for the php.ini file?
DefaultInitEnv PHPRC "/etc/php5/cgi"
# Maximum requests a process handles before it is terminated
MaxRequestsPerProcess 3000
# Maximum number of PHP processes
MaxProcessCount 100
# Number of seconds of idle time before a process is terminated
@goofrider
goofrider / hack.sh
Created February 17, 2013 16:15 — forked from erikh/hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@goofrider
goofrider / gist:4228811
Last active October 13, 2015 17:08
Useful RubyGems (and bad RubyGems)
gem 'compass-rails'
gem 'zurb-foundation'
# activeadmin is awesome
gem 'activeadmin'
gem "meta_search", '>= 1.1.0.pre'
gem 'yajl-ruby' # for json parsing