Public Gists by kneath

Gravatar
Wed Nov 18 18:42:26 -0800 2009
1
This is the first file in the series. Woo!
Gravatar
Wed Nov 18 15:13:21 -0800 2009
1
2
3
public/javascripts
|-- README.md
|-- admin
gist: 238291 Intelligent asset bundling ...
Gravatar
Wed Nov 18 13:42:13 -0800 2009
1
2
3
# GitHub Javascript Strategy
 
Unless otherwise necessary (such as mobile development), the GitHub javascript codebase is based off jQuery. You can safely assume it will be included on every page.
Gravatar
Thu Nov 12 14:44:46 -0800 2009
1
2
3
/Users/kneath/Projects/github/main_site/public/javascripts/admin/date.js:191: WARNING - Parse error. type annotation incompatible with other annotations
* @type String
^
Gravatar
Thu Oct 15 23:43:03 -0700 2009
1
gisting is broken
Gravatar
Wed Oct 14 18:48:45 -0700 2009

      
Gravatar
Wed Oct 14 16:20:31 -0700 2009
1
2
3
describe 'Bacon and Mocha sucks together' do
  it "sucks when you have a spec using only mocha, not bacon, to assert something" do
    str = 'a'
Gravatar
Wed Oct 14 13:54:47 -0700 2009

      
Gravatar
Sat Oct 10 11:59:07 -0700 2009

      
gist: 143225 My sad messed up sphinx dbs
Gravatar
Wed Jul 08 14:53:26 -0700 2009
1
2
3
code(master) % ls db/sphinx/test
comment_core.spa discussion_search_cache_delta.spi user_core.spm
comment_core.spd discussion_search_cache_delta.spl user_core.spp
Gravatar
Tue Feb 17 16:34:21 -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">
 
Gravatar
Tue Jan 13 02:45:58 -0800 2009
1
2
3
/**
* Format any UTC timestamp on the page to the users local timezone.
*/
Gravatar
Tue Jan 13 02:44:49 -0800 2009
1
2
3
/**
* Format any UTC timestamp on the page to the users local timezone.
*/
Gravatar
Tue Dec 30 21:39:42 -0800 2008
1
2
3
#!/usr/local/bin/ruby
 
# Fun script to see your income potential if you bill hourly
Gravatar
Sun Nov 16 18:38:28 -0800 2008
1
2
3
-- Quicksilver script to post your status to XTT via xttc (http://github.com/jnewland/xttc/tree/master)
-- Put into ~/Library/Application Support/Quicksilver/Actions, enable scripts, relaunch QS
-- To activate, start quicksilver type . (period), enter your status, tab over and type 'tt' and press enter
Gravatar
Tue Oct 21 18:55:33 -0700 2008
1
2
3
#!/bin/sh
# VHostit
# Simple bash script to add a virtual host to apache & your hosts file on OS X
Gravatar
Mon Oct 20 14:27:24 -0700 2008
1
2
3
Element.implement({
  getDimensions: function() {
    return {width: this.getStyle('width', true), height: this.getStyle('height', true)};
Gravatar
Sun Sep 07 16:36:21 -0700 2008
1
2
3
// Beginning of a Ubiquty script for use with xtt
 
CmdUtils.CreateCommand({
Gravatar
Thu Aug 21 14:10:55 -0700 2008
1
2
3
// Examples:
//
// button_to "Mark as unread", mark_as_unread_message_path(message), :method => :put, :class => "form_to_link"