Public Gists by wezm

Gravatar
Wed Oct 28 22:19:28 -0700 2009
1
2
3
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
Gravatar
Tue Aug 25 21:13:05 -0700 2009
1
2
3
@implementation MyClass : CPObject
{
}
Gravatar
Wed Aug 12 00:12:44 -0700 2009
1
2
3
require 'rubygems'
require 'rack/cache'
 
Gravatar
Wed Jul 29 00:19:32 -0700 2009
1
2
3
require 'active_support/core_ext/string'
 
module CleanURIs#:nodoc:
Gravatar
Sat Jul 18 06:41:43 -0700 2009
1
2
3
require 'rubygems'
require 'nokogiri'
require 'mechanize'
gist: 137179 Script to generate an Atom ...
Gravatar
Sat Jun 27 18:18:55 -0700 2009
1
2
3
#!/usr/bin/ruby
 
require 'rubygems'
gist: 114808 HTML5 Template for xhtmldoc...
Gravatar
Wed May 20 06:16:54 -0700 2009
1
2
3
<!DOCTYPE html>
<html>
    <head>
Gravatar
Thu May 14 17:25:27 -0700 2009
1
2
3
#!/bin/bash
 
############################################################################
Gravatar
Mon May 04 00:17:39 -0700 2009
1
2
3
require 'rubygems'
require 'hpricot'
require 'time'
Gravatar
Wed Apr 29 23:12:00 -0700 2009
1
2
3
module Spec
  module Mocks
    # module ArgumentMatchers # rspec > 1.1.12
Gravatar
Wed Apr 15 19:38:23 -0700 2009
1
2
3
require 'rubygems'
require 'aws/s3'
 
gist: 90617 Regexes to santise MovableT...
Gravatar
Sun Apr 05 19:43:24 -0700 2009
1
2
3
" Find delimiters in content
/^-\{5,8\}[\n\r]\+[^:-]*$
 
gist: 87724 Git related bash config
Gravatar
Mon Mar 30 03:04:11 -0700 2009
1
2
3
# http://henrik.nyh.se/2008/12/git-dirty-prompt
# http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/
# username@Machine ~/dev/dir[master]$ # clean working directory
gist: 85859 A pair of scripts to notify...
Gravatar
Wed Mar 25 20:44:33 -0700 2009
1
2
3
I turned off most of Skype's pesky notifications. This pair of scripts allows
you to be notified when a particular user becomes available. Since it is
separate from the Skype application its settings can be customised individually
Gravatar
Wed Feb 25 14:21:52 -0800 2009
1
2
3
#!/bin/sh
 
# passwd_login should be set to the password
gist: 47105 XHTML 1.1 Template for xhtm...
Gravatar
Wed Jan 14 13:45:50 -0800 2009
1
2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
gist: 47104 XHTML 1.0 Frameset Template...
Gravatar
Wed Jan 14 13:45:42 -0800 2009
1
2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
gist: 47103 XHTML 1.0 Transitional Temp...
Gravatar
Wed Jan 14 13:45:34 -0800 2009
1
2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
gist: 46853 XHTML 1.0 Strict Template f...
Gravatar
Wed Jan 14 01:45:28 -0800 2009
1
2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
gist: 46771 Dot Files for Windows/Cygwin
Gravatar
Tue Jan 13 20:04:35 -0800 2009
1
2
3
" Make Windows use my UNIX vimfiles
if has("win32")
    set runtimepath=$HOME/.vim,$HOME/vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/vimfiles/after