Public Gists by tommorris

gist: 183102 description of how to chang...
Gravatar
Tue Sep 08 11:05:03 -0700 2009
1
2
3
Until my blog is restored, I thought I'd just dump this here for future reference:
 
You know how annoying it is when you open up Firefox after a crash and it opens up
Gravatar
Tue Sep 08 09:30:49 -0700 2009
1
2
3
# if you have to do particularly gnarly XML handling, you often have to double-encode
# ampersands. Of course, ideally, you'd use CDATA sections to avoid this. But, alas,
# life ain't that easy. Here's a simple regex to enable you to replace "&" with
Gravatar
Sat Sep 05 13:59:01 -0700 2009
1
2
3
[ AWT-EventQueue-0 ] - java.lang.NoClassDefFoundError: apple/laf/ScreenMenuBar
java.lang.NoClassDefFoundError: apple/laf/ScreenMenuBar
at java.lang.Class.getDeclaredMethods0(Native Method)
Gravatar
Mon Aug 31 09:40:21 -0700 2009
1
2
3
portable usb linux shopping list
 
* debian/ubuntu based
Gravatar
Mon Aug 31 09:13:33 -0700 2009
1
2
3
tom$ sudo gem install rdiscount
Building native extensions. This could take a while...
ERROR: Error installing rdiscount:
gist: 178382 RDF, events
Gravatar
Mon Aug 31 03:27:00 -0700 2009
1
2
3
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix event: <http://example.org/event/> .
@prefix soa: <http://example.org/soa/> .
gist: 178381 RDF, state of affairs model
Gravatar
Mon Aug 31 03:18:52 -0700 2009
1
2
3
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix event: <http://example.org/event/> .
@prefix soa: <http://example.org/soa/> .
Gravatar
Fri Aug 28 13:23:21 -0700 2009
1
2
3
...........................................................
.................. OpenCL Bench V 0.25 by mitch ...........
...... C2D 3GHz = 12 sec vs Nvidia 9600GT = 0,93 sec ......
gist: 172050 young rewired state - ucas ...
Gravatar
Fri Aug 21 07:26:14 -0700 2009
1
2
3
require "rubygems"
require "nokogiri"
require "open-uri"
Gravatar
Mon Aug 10 01:44:38 -0700 2009
1
2
3
Dom has asked for guidance in the world of OO programming - see
http://www.thehodge.co.uk/programming/php-oop-wtf.php
 
Gravatar
Fri Aug 07 04:49:52 -0700 2009
1
2
3
Aug 7 00:00:00 iMac newsyslog[1434]: logfile turned over
Aug 7 00:00:00 iMac com.apple.launchd[1] (0x119860.cron[1438]): Could not setup Mach task special port 9: (os/kern) no access
Aug 7 00:00:00 iMac com.apple.launchd[1] (0x119a60.cron[1437]): Could not setup Mach task special port 9: (os/kern) no access
Gravatar
Tue Jul 28 09:39:15 -0700 2009
1
2
3
I don't really get Markdown.
 
Here's the situation: I want to have some Markdown that's 74 (or 80) chars
gist: 152146 Clearleft client worksheet ...
Gravatar
Wed Jul 22 10:19:58 -0700 2009
1
2
3
Clearleft[1] are a clever bunch of user-experience designers and consultants
based in Brighton. They have a very useful Client Worksheet available on their
website in RTF format[2].
gist: 149856 ASCII pron looks so much be...
Gravatar
Sun Jul 19 02:01:58 -0700 2009
1
2
3
# taken from http://www.asciipr0n.com/pr0n/morepr0n/pr0n92.txt
         _..----''"`""'"'"`--.._
__...+" `-.
gist: 148758 [python] twitfave json-to-r...
Gravatar
Thu Jul 16 16:40:28 -0700 2009
1
2
3
#!/usr/bin/python
# a twitfave json-to-rdf converter
# twitfave.com provides really awesome data as JSON
gist: 147872 microformatted address Fire...
Gravatar
Wed Jul 15 11:16:57 -0700 2009
1
2
3
/****************************************************************
 * microformatted address FireEagle updater plugin for Operator *
 ****************************************************************
gist: 147674 Ruby+Linux: FireEagle SSH I...
Gravatar
Wed Jul 15 05:25:30 -0700 2009
1
2
3
# this code is a rough prototype of a simple IP login-based system for
# checking to see where a person is logged in from. I'm intending to use
# the string it returns to pass to Yahoo's FireEagle service.
gist: 146953 n3<->rdf/xml with formulae ...
Gravatar
Tue Jul 14 06:51:04 -0700 2009
1
2
3
# converting notation3 with formulae into rdf/xml using cwm
 
ricoeur:~ tom$ cat | cwm --n3 --rdf
gist: 146334 Mark Birbeck's code sample ...
Gravatar
Mon Jul 13 10:56:55 -0700 2009
1
2
3
<div xmlns:v="http://rdf.data-vocabulary.org/#"
 typeof="v:Review"
>
Gravatar
Sat Jul 11 16:56:55 -0700 2009
1
2
3
# simple "is this running?" script
#
# I wrote this (a) because I have uses for it among those who use