Public Gists by gruner

Gravatar
Tue Sep 22 11:37:20 -0700 2009
1
2
3
require 'rubygems'
require 'rake'
 
Gravatar
Tue Aug 11 15:24:12 -0700 2009
1
2
3
# The default permissions are somewhat draconian so to avoid getting 403:Forbidden messages when trying to look at any local sites, I also added these lines to the httpd-vhosts.conf file:
 
<Directory /Users/*/Sites/>
Gravatar
Mon Jul 20 14:27:43 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
unless ARGV[0]
Gravatar
Thu Jun 18 11:27:41 -0700 2009
1
2
3
<!-- Sample Content to Plugin to Template -->
<h1>CSS Basic Elements</h1>
 
gist: 107583 Calling Dynamic Methods in ...
Gravatar
Wed May 06 09:06:12 -0700 2009
1
2
3
# Dynamic Methods
# same as calling MyClass.foo and MyClass.bar
 
Gravatar
Thu Apr 23 15:51:55 -0700 2009
1
$page_id = basename($_SERVER['SCRIPT_FILENAME'], ".php");
Gravatar
Mon Jan 12 22:31:24 -0800 2009
1
2
3
# 1) Point *.example.com in your DNS setup to your server.
#
# 2) Setup an Apache vhost to catch the star pointer: