Skip to content

Instantly share code, notes, and snippets.

View mranallo's full-sized avatar

Mark Ranallo mranallo

View GitHub Profile
@mranallo
mranallo / nginx.rb
Created August 27, 2012 18:57
Homebrew recipe for nginx with upload modules.
require 'formula'
class Nginx < Formula
homepage 'http://nginx.org/'
url 'http://nginx.org/download/nginx-1.2.3.tar.gz'
sha1 '98059ae08ebbfaaead868128f7b66ebce16be9af'
devel do
url 'http://nginx.org/download/nginx-1.3.5.tar.gz'
sha1 'ce0245295f23a54f10d916eb6b7b34469d0618a1'
@mranallo
mranallo / nginx.rb
Created August 27, 2012 19:09
Homebrew recipe for nginx with upload modules
require 'formula'
class Nginx < Formula
homepage 'http://nginx.org/'
url 'http://nginx.org/download/nginx-1.2.3.tar.gz'
sha1 '98059ae08ebbfaaead868128f7b66ebce16be9af'
devel do
url 'http://nginx.org/download/nginx-1.3.5.tar.gz'
sha1 'ce0245295f23a54f10d916eb6b7b34469d0618a1'
@mranallo
mranallo / nginx.rb
Created August 30, 2012 21:46
NGINX with SPDY
require 'formula'
class Nginx < Formula
homepage 'http://nginx.org/'
# url 'http://nginx.org/download/nginx-1.2.3.tar.gz'
# sha1 '98059ae08ebbfaaead868128f7b66ebce16be9af'
url 'http://nginx.org/download/nginx-1.3.5.tar.gz'
sha1 'ce0245295f23a54f10d916eb6b7b34469d0618a1'
devel do
@mranallo
mranallo / nginx.rb
Created June 19, 2013 18:47
nginx + upload module + spdy
require 'formula'
class Nginx < Formula
homepage 'http://nginx.org/'
url 'http://nginx.org/download/nginx-1.4.1.tar.gz'
sha1 '9c72838973572323535dae10f4e412d671b27a7e'
devel do
url 'http://nginx.org/download/nginx-1.5.1.tar.gz'
sha1 'bd5a5e7dba39a4aa166918112367589f165ce5bc'
/*
* Copyright (C) 2006, 2008 Valery Kholodkov
* Client body reception code Copyright (c) 2002-2007 Igor Sysoev
* Temporary file name generation code Copyright (c) 2002-2007 Igor Sysoev
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#include <nginx.h>
### Keybase proof
I hereby claim:
* I am mranallo on github.
* I am markdr (https://keybase.io/markdr) on keybase.
* I have a public key whose fingerprint is 2284 2155 3CB3 8EB0 BDFC 9A6B 09B8 9BA8 6EF4 E993
To claim this, I am signing this object:
@mranallo
mranallo / gist:7f140952ddccca369706
Created May 23, 2015 00:46
move pictures hazel script
# Written by Panayotis Vryonis, 2013.
# http://blog.vrypan.net/2013/5/20/leaving-iphoto-for-dropbox/
# Distributed under MIT License.
# <http://opensource.org/licenses/MIT>
fullfile=$1
PHOTOS="$HOME/Dropbox/Photos"