Skip to content

Instantly share code, notes, and snippets.

View juliancheal's full-sized avatar

Julian Cheal juliancheal

View GitHub Profile
# 1) Point *.example.com in your DNS setup to your server.
#
# 2) Setup an Apache vhost to catch the star pointer:
#
# <VirtualHost *:80>
# ServerName example.com
# ServerAlias *.example.com
# </VirtualHost>
#
# 3) Set the current account from the subdomain
@jashkenas
jashkenas / sounder.rb
Created February 20, 2009 04:15
A Demonstration of Minim in Ruby-Processing
# Sounder sounds for class
# Requires an active microphone to pick up anything
require 'ruby-processing'
class MinimTest < Processing::App
load_library "minim"
import "ddf.minim"
import "ddf.minim.analysis"
@mrrooijen
mrrooijen / Capistrano-Deployment-Recipe.rb
Created July 29, 2009 09:34
a "base" Capistrano Rails Deployment Recipe. Use it to deploy your Rails application. It is also easily expandable. So feel free to grab this Recipe and add your own tasks/customization!
# Guide
# Configure the essential configurations below and do the following:
#
# Repository Creation:
# cap deploy:repository:create
# git add .
# git commit -am "initial commit"
# git push origin master
#
# Initial Deployment:
@chrisyour
chrisyour / Folder Preferences
Created December 4, 2010 20:05
Show hidden files and hidden folders (except .git) in your TextMate project drawer
# Want to show hidden files and folders in your TextMate project drawer? Simple, just modify the file and folder patterns in TextMate's preferences.
# Instructions:
# Go to TextMate > Preferences...
# Click Advanced
# Select Folder References
# Replace the following:
# File Pattern
@rmoriz
rmoriz / Gemfile
Last active February 7, 2020 12:30
UUID primary keys in Rails 3
# Gemfile
gem 'uuidtools'
@teamon
teamon / gist:1008461
Created June 4, 2011 22:58
OpenOCD setup for Mac OSX
1. Download and install d2xx drivers http://www.ftdichip.com/Drivers/D2XX/MacOSX/D2XX1.0.4.dmg (from http://www.ftdichip.com/Drivers/D2XX.htm)
2. Install OpenOCD from homebrew (http://mxcl.github.com/homebrew/)
$ brew install openocd --enable-ft2232_libftdi
@rwaldron
rwaldron / branch-count.sh
Created June 15, 2011 16:08
Count number of branches in a repo
git branch | wc -l
@henrygarner
henrygarner / gist:1035477
Created June 20, 2011 11:39
Likely Ltd Job Vacancy

About Likely Ltd

Likely Ltd are a funded startup specialising in highly targeting online publishing. We understand consumers’ interests, intent and behaviour online and use social platforms to talk to them about things that we know they will love. We manage hundreds of online accounts across multiple social media networks (each based around an interest, geographic location and consumer demographic), and we are scaling fast.

The company was founded at the beginning of this year by the team behind the @LDN twitter account. Our business is built on high-quality advertising, matching content to prospect so well that our audience enjoy even our sponsored messages. We already count several large global brands as clients, and are building out our communities beyond London to Europe and the US.

About the Vacancy

To efficiently grow our business, we are looking for rubyists who are motivated by the challenges presented by big data storage, analysis and navigation. We have a diverse database ecosystem inclu

@Overbryd
Overbryd / hacking-club-mate-imatate.md
Created June 22, 2011 13:46
Hacking Club Mate "imatate"

Hacking Club Mate "imatate"

Read about the end result here

Join me when I start brewing my first batch of Club Mate. Inspired by a podcast from chaos radio express on the topic "Hackerbrausen" (Hacker's soda, listen here) I want to try this by myself.

So far I have bought all the necessary ingrediends and tools to get started. And with the help from Jan (@janl) I can even carbonate the end result :)

When? Where?

@Overbryd
Overbryd / the-result-hacking-club-mate-imatate.md
Created June 30, 2011 17:13
The Result: Hacking Club Mate "imatate"

Hacking Club Mate "imatate"

See the original post here: Hacking Club Mate "imatate"

It was great fun!

Brewing was easy. Many people joined, and they did enjoy my special surprise: "Mate jelly shots". So after having a debate over how much gram is a cup for sugar, I just went by visual judgment. Out came two batches, I made a bigger one for Imatate and a small one for Maca Mate. Cooling was definitely an issue, it took ages to heat the huge pot and it took ages to cool it down. So we decided to put everything in the refridgerator and wait for the night to pass.