Public Gists by andypearson

Gravatar
Mon Nov 09 07:59:05 -0800 2009
1
2
3
<?php
 
/*
Gravatar
Sun Nov 01 11:13:28 -0800 2009
1
2
3
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
 
<ShortName>Ask UK</ShortName>
Gravatar
Mon Aug 17 02:00:22 -0700 2009
1
2
// Find a div
<div id="footer">([.\s\S]*?)</div>
Gravatar
Thu Jul 30 14:46:01 -0700 2009
1
2
3
# Service model
 
require 'nokogiri'
Gravatar
Wed Jul 15 01:53:26 -0700 2009
1
2
3
pre {
clear:both;
margin-top:36px;
Gravatar
Mon Jul 06 14:26:58 -0700 2009
1
2
3
<?php
 
$photos = array(
Gravatar
Tue Jun 30 02:05:42 -0700 2009
1
2
3
body {
font:62.5%/1.5 Helvetica, Arial, sans-serif;
}
Gravatar
Thu Apr 30 12:56:51 -0700 2009
1
2
3
# Using Filter branch to remove a file from entire repository history
git filter-branch --index-filter 'git rm --cached --ignore-unmatch filename' HEAD
rm -r .git/refs/original
Gravatar
Thu Apr 16 04:37:45 -0700 2009
1
2
3
/*
Name: Reset CSS
Author: Eric Meyer
Gravatar
Mon Mar 30 01:46:54 -0700 2009
1
2
%y%m%d-__DB__
%y%m%d-__DB__-__TABLE__
gist: 82498 PHP Lifestream V1
Gravatar
Fri Mar 20 11:40:02 -0700 2009
1
2
3
<?php
 
/*
Gravatar
Mon Jan 26 11:14:00 -0800 2009
1
2
3
Last login: Mon Jan 26 18:53:57 on console
Captain-Dread:~ andypearson$ cd 0working/github
Captain-Dread:github andypearson$ rails formtastic_example
gist: 51438 A whole bunch of useful com...
Gravatar
Sat Jan 24 04:53:32 -0800 2009
1
2
3
# Edit the Hosts file on OSX (I always forget this...)
mate /private/etc/hosts
 
Gravatar
Fri Sep 26 01:42:38 -0700 2008
1
2
3
<?php
 
// Heredoc Syntax