Public Gists by benhoskings

Gravatar
Thu Nov 19 04:20:39 -0800 2009
1
2
3
Nov 19, 2009 9:59:10 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-6100
Nov 19, 2009 9:59:10 PM org.apache.catalina.startup.Catalina load
Gravatar
Wed Nov 18 19:55:30 -0800 2009
1
2
3
require 'digest/md5'
 
%w[
Gravatar
Mon Oct 19 23:43:03 -0700 2009
1
2
3
From: http://www.nyx.net/~gthompso/self_c.txt
 
Author: Dan Hoey
Gravatar
Wed Oct 07 00:22:12 -0700 2009
1
2
3
class Object
  def returning obj
    yield obj
Gravatar
Tue Oct 06 04:57:39 -0700 2009
1
2
3
# Even there are no references to 'fuse' in the ruby1.9 source, it breaks the build.
 
[...]
Gravatar
Mon Sep 28 03:46:11 -0700 2009
1
2
3
<html>
  <head>
    <!-- jQuery v1.3.2 -->
Gravatar
Tue Sep 22 20:19:11 -0700 2009
1
2
3
dep 'sbt' do
  requires 'writable install location'
  met? { which 'sbt' }
Gravatar
Sun Sep 06 23:48:20 -0700 2009
1
2
3
# in the model
 
class Copy < ActiveRecord::Base
Gravatar
Sun Sep 06 07:32:12 -0700 2009
1
2
3
Mon 00:31:47 ben@hax ~ > lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
Gravatar
Thu Sep 03 02:09:46 -0700 2009
1
2
3
# The done? call within Copy#make_live! returns false, but
# @transfer.creator_copy.done? within the spec returns true.
 
Gravatar
Thu Sep 03 01:29:48 -0700 2009
1
2
3
class Foo
  def done?
    false
Gravatar
Wed Sep 02 02:23:41 -0700 2009
1
2
3
#!/bin/bash
 
# Update timestamps of files in dest/ within the from..to range to
Gravatar
Tue Aug 18 23:25:38 -0700 2009
1
2
3
# idea: Method#yield_until.
 
class Method
Gravatar
Wed Jul 08 00:36:17 -0700 2009
1
2
3
Wed 17:35:29 ben@hat ~ > gem --version
1.3.4
Wed 17:35:30 ben@hat ~ > gem1.9 --version
Gravatar
Tue Jul 07 21:55:24 -0700 2009
1
2
3
#!/bin/sh
#
# Each line of the text files in /etc/paths are directories that should be
Gravatar
Mon Jul 06 00:13:44 -0700 2009
1
2
3
require 'rubygems'
require 'hpricot'
require 'net/http'
Gravatar
Mon Jun 15 22:55:27 -0700 2009
1
2
3
class Lol
  %w[
serviceChoiceHeadwayFactor
Gravatar
Sun Jun 14 11:21:35 -0700 2009
1
2
3
<!--
Adapted from the Macports version.
Copy to "/Library/LaunchDaemons/org.nginx.plist"
Gravatar
Sun Jun 14 11:00:46 -0700 2009
1
2
3
# put in /etc/init.d
# start with 'sudo /etc/init.d/nginx start'
# start every boot with 'sudo update-rc.d defaults nginx'
Gravatar
Tue Jun 09 16:39:03 -0700 2009
1
2
3
> rake features --trace
(in /Users/ben/projects/corkboard/corkboard.git)
** Invoke features (first_time)