Public Gists by aussiegeek

Gravatar
Sun Sep 27 19:29:13 -0700 2009
1
2
3
<?php
function verify_password($password, $crypted_password, $password_salt) {
$digest = $password . $password_salt;
Gravatar
Fri May 22 17:56:32 -0700 2009
1
2
3
export GEMDIR=`gem env gemdir`
 
gemdoc() {
Gravatar
Sun Dec 14 16:20:21 -0800 2008
1
Haml::Template.options = {:attr_wrapper => "\""}
Gravatar
Wed Nov 19 17:24:54 -0800 2008
1
2
Apache + Passenger + FileVault
chmod +a "www allow search" /Users/alan
Gravatar
Mon Nov 03 15:11:55 -0800 2008
1
2
3
#!/usr/bin/env ruby
BASE='/opt/ree'
# The command to run for your vanila Ruby 'gem' command
Gravatar
Sat Sep 13 03:02:29 -0700 2008
1
2
3
set :user, 'nordicmineral' # Your dreamhost account's username
set :domain, 'gambino.dreamhost.com' # Dreamhost servername where your account is located
set :project, 'nordicmineral' # Your application as its called in the repository
Gravatar
Mon Sep 01 14:54:43 -0700 2008
1
2
3
Last night we had our third Brisbane Cocoaheads meeting, great to see we picking up steam and seeing some regulars.
 
First of all we had Rob Keniger give us an introduction to the WebKit Bridge, which allows you to use HTML and Javascript within a Cocoa app, and bridge between Cocoa and Javascript.
Gravatar
Tue Aug 05 05:25:31 -0700 2008
1
2
3
#!/usr/bin/env ruby
BASE='/opt/ruby-enterprise-1.8.6-20080624'
# The command to run for your vanila Ruby 'gem' command
Gravatar
Sun Aug 03 01:57:13 -0700 2008
1
2
3
#!env ruby
class DummyTable
  def initialize(tablename)
Gravatar
Thu Jul 24 21:49:08 -0700 2008
1
ActiveRecord::Base.logger = Logger.new(STDERR)