Skip to content

Instantly share code, notes, and snippets.

@kossnocorp
kossnocorp / USAGE.md
Created May 13, 2011 12:26
MacVim with Drawer compile manual

Clone & Build

curl https://gist.github.com/raw/970438/caff9a09ed2d223b1123a69ede17cb19ad352af9/build.sh | sh
@mikhailov
mikhailov / installation.sh
Created November 23, 2010 15:18
nginx+passenger (real production config)
# NOTICE: to get Nginx+Unicorn best-practices configuration see the gist https://gist.github.com/3052776
$ cd /usr/src
$ wget http://nginx.org/download/nginx-1.2.1.tar.gz
$ tar xzvf ./nginx-1.2.1.tar.gz && rm -f ./nginx-1.2.1.tar.gz
$ wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.gz
$ tar xzvf pcre-8.30.tar.gz && rm -f ./pcre-8.30.tar.gz
$ wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz
@jensgro
jensgro / clearfix.css
Created November 15, 2010 14:05
Dank des Clearfixes umfassen Container floatende Kindelemente. Alternative ist overflow: hidden, die aber nicht immer gut funktioniert.
/**
* @section Clearing Methoden
* @see http://www.yaml.de/de/dokumentation/grundlagen/allgemeines.html
*/
.clearfix:after {
clear:both;
content:".";
display:block;
font-size:0;
$ rackup -p 8880 static.ru