Skip to content

Instantly share code, notes, and snippets.

I am currently the president of the UW Photo Club and have access to our rental equipment which includes:
2x AB800 Strobes
1x AB400 Strobe
3x 50'' Soft boxes
3x Cactus V5 Triggers
1x Black/white Portable Backdrop
My personal equipment is made up of:
Canon 600D
Canon 350D
@juil
juil / wedding-budget_tentative
Created February 22, 2014 09:12
Kerrianne Wedding Photography | Tentative Budget
$30x8hrs -Photography
$20x8hrs -Post-processing
$100 -Transportation
$75 -Photo book [$30 per extra]
$25x3hrs -Photo book design
$225 -Equipment Rental
---
$875
@juil
juil / README.md
Created July 5, 2011 14:01 — forked from rgabo/README.md
CoffeeScript / Node.js - ticksort

Node.js ticksort in CoffeeScript!

Beating your sleepsort by magnitudes! Takes only SUM(argv) ticks and does not overflow the stack either. Fork the gist if you can reduce the size of ticksort.coffee.

@juil
juil / about.md
Created August 9, 2011 16:46 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@juil
juil / onchange.sh
Created August 19, 2011 17:43 — forked from senko/onchange.sh
Watch current directory and execute a command if anything in it changes
#!/bin/bash
#
# Watch current directory (recursively) for file changes, and execute
# a command when a file or directory is created, modified or deleted.
#
# Written by: Senko Rasic <senko.rasic@dobarkod.hr>
#
# Requires Linux, bash and inotifywait (from inotify-tools package).
#
# To avoid executing the command multiple times when a sequence of
@juil
juil / gist:1680142
Created January 26, 2012 01:03 — forked from fennb/gist:1283999
Benchmark, wordpress + apache2 + php-fpm + apc / EC2 small
$ ab -n 200 -c 4 http://wp-demo.local:8080/
Server Software: Apache/2.2.17
Server Hostname: wp-demo.local
Server Port: 8080
Document Path: /
Document Length: 5726 bytes
Concurrency Level: 4
@juil
juil / gist:1680170
Created January 26, 2012 01:04 — forked from fennb/gist:1284002
nginx microcaching, concurrency 500
$ ab -n 10000 -c 500 http://wp-demo.local/
Server Software: nginx/0.8.54
Server Hostname: wp-demo.local
Server Port: 80
Document Path: /
Document Length: 5728 bytes
Concurrency Level: 500
@juil
juil / gist:1679989
Created January 26, 2012 00:26 — forked from fennb/gist:1124535
node.js proxy server in 20 lines of JS (via http://www.catonmat.net/http-proxy-in-nodejs/)
var http = require('http');
http.createServer(function(request, response) {
var proxy = http.createClient(80, request.headers['host'])
var proxy_request = proxy.request(request.method, request.url, request.headers);
proxy_request.addListener('response', function (proxy_response) {
proxy_response.addListener('data', function(chunk) {
response.write(chunk, 'binary');
});
proxy_response.addListener('end', function() {
#Newbie programmer
def factorial(x):
if x == 0:
return 1
else:
return x * factorial(x - 1)
print factorial(6)
#First year programmer, studied Pascal
@juil
juil / gist:2127754
Created March 19, 2012 22:37 — forked from dhh/gist:1975644
attr_accessible fix
class PostsController < ActionController::Base
def create
Post.create(post_params)
end
def update
Post.find(params[:id]).update_attributes!(post_params)
end
private