Public Gists by singpolyma

Gravatar
Fri Sep 25 10:03:07 -0700 2009
1
2
3
#!/bin/sh
 
## If you use source files with space in the name, this will break.
Gravatar
Sat Aug 15 14:49:22 -0700 2009
1
2
3
=begin
Copyright © 2009, Stephen Paul Weber
 
Gravatar
Fri Jun 05 11:32:41 -0700 2009
1
2
3
#!/usr/bin/ruby
 
require 'cgi'
Gravatar
Thu Jun 04 13:34:54 -0700 2009
1
2
3
#!/bin/sh
 
# run make with the given flags either in the current directory
Gravatar
Sat May 30 11:11:19 -0700 2009
1
2
3
--- link-template.php 2009-01-24 01:33:37.000000000 -0800
+++ link-template.php 2009-05-30 11:10:41.000000000 -0700
@@ -950,6 +950,9 @@
Gravatar
Mon May 25 09:32:30 -0700 2009
1
2
3
#!/bin/sh
 
# Process Makefile and output files to delete in a clean operation
Gravatar
Sun May 24 14:29:37 -0700 2009
1
2
3
#!/usr/bin/ruby
 
=begin
Gravatar
Fri May 22 11:24:53 -0700 2009
1
2
3
#!/usr/bin/ruby
 
require 'open-uri'
gist: 115752 Extract links based on type...
Gravatar
Thu May 21 14:22:34 -0700 2009
1
2
3
#!/usr/bin/ruby
 
# Extract links based on type from a URL
Gravatar
Mon May 18 09:14:06 -0700 2009
1
2
3
#!/usr/bin/ruby
 
# Much cruft from over time, but this is what I use. Illustrative
Gravatar
Wed May 13 18:24:56 -0700 2009
1
2
3
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
Gravatar
Wed Apr 22 12:19:19 -0700 2009
1
2
3
#!/usr/bin/ruby
 
require 'open-uri'
Gravatar
Wed Apr 22 11:48:14 -0700 2009
1
2
3
#!/usr/bin/ruby
 
require 'open-uri'
Gravatar
Sat Apr 11 15:26:30 -0700 2009
1
2
3
/* Expanded form of a bookmarklet for extracting rev=canonical OR tinyurling a page */
(function(){
var url=document.location;
Gravatar
Mon Apr 06 12:33:52 -0700 2009
1
2
3
<?php
/* Code from http://tantek.pbworks.com/NewBase60
License: http://creativecommons.org/licenses/by-sa/3.0/
Gravatar
Mon Apr 06 08:37:25 -0700 2009
1
2
3
#!/usr/bin/ruby
 
# Verify the PGP signature on the data on STDIN
gist: 87204 Easy string concatenation in C
Gravatar
Sat Mar 28 13:55:23 -0700 2009
1
2
3
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
Gravatar
Sat Mar 28 13:54:28 -0700 2009
1
2
3
. . . . 8 . 6 . .
. 6 . 2 . . . 5 .
. . 1 3 4 . . . 8
gist: 86917 Pass a keyid or mnencoded k...
Gravatar
Fri Mar 27 14:48:20 -0700 2009
1
2
3
#!/bin/sh
 
RAW="`echo $* | sed -e's/^0x//'`"
gist: 73179 /etc/magic
Gravatar
Mon Mar 02 20:38:55 -0800 2009
1
2
3
0 string/b #!\ /bin/sh POSIX shell script commands text executable
 
0 string/b #!\ /usr/bin/ruby Ruby script text executable