This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Mongodb | |
def self.db | |
config = Rails.configuration.database_configuration["mongodb_#{Rails.env}"] | |
host = config["host"] | |
database = config["database"] | |
username = config["username"] | |
password = config["password"] | |
port = config["port"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Emacs < Formula | |
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.3.tar.bz2' | |
md5 'a673c163b4714362b94ff6096e4d784a' | |
homepage 'http://www.gnu.org/software/emacs/' | |
if ARGV.include? "--use-git-head" | |
head 'git://repo.or.cz/emacs.git' | |
else |
NewerOlder