Public Gists by jpick

Gravatar
Fri Jul 03 10:28:29 -0700 2009
1
2
3
Here's an example of how I was able to use the rsp from Smart.app to run on a different
port at the same time. It would be nice if this ability was built into the GUI app, but
for now, I hacked it.
Gravatar
Mon May 25 15:51:26 -0700 2009
1
2
3
#! /usr/bin/ruby
 
# Example:
Gravatar
Wed Apr 29 22:21:18 -0700 2009
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="true">
    <meta>
Gravatar
Sat Mar 07 00:43:49 -0800 2009
1
2
3
// Script to Generate Random Graphics for Moo Cards
// Example: http://www.flickr.com/photos/jpick/3335073434/
// Modified from Google example - same license as Top Draw (Google BSD-style)
Gravatar
Tue Feb 24 18:28:43 -0800 2009
1
2
3
Here's how to extract data out of a Google Doc spreadsheet.
 
Here's our victim...
Gravatar
Thu Feb 19 11:19:57 -0800 2009
1
javascript:location.href='/api/service/touch?onsucceed='%20+%20encodeURIComponent(location.href)
Gravatar
Tue Jan 27 12:21:03 -0800 2009
1
2
3
require 'rubygems'
require 'sinatra'
 
Gravatar
Tue Jan 20 13:18:21 -0800 2009
1
2
3
Loading development environment (Rails 2.2.2)
>> blogger = Blogger.new(:poster_id => 1, :poster_type => 'User')
=> #<Blogger id: nil, poster_id: 1, poster_type: "User", created_at: nil, updated_at: nil>
Gravatar
Thu Dec 18 13:06:08 -0800 2008
1
2
3
// This is a bookmarklet for use with TarPipe which works well with the iPhone.
 
// Replace YOUR_CODE_HERE with your API key. Copy the text starting with 'javascript:' to a new bookmark in your web browser. To put it on your iPhone, create a new Bookmark in Safari, and then sync your bookmarks to your iPhone using iTunes.