Public Gists by NigelThorne

Gravatar
Sun Sep 20 19:48:12 -0700 2009
1
2
3
Sub InsertLotsOfFiles()
'
' InsertLotsOfFiles Macro
gist: 143346 Helper macro to be used wit...
Gravatar
Wed Jul 08 18:22:08 -0700 2009
1
2
3
Imports System
Imports EnvDTE
Imports EnvDTE80
Gravatar
Wed Jun 24 03:53:31 -0700 2009
1
2
3
require 'memcached'
 
# Provides a hybrid of memoization and memcacheing. Designed for storing an entire (small)
Gravatar
Fri Jun 05 00:11:56 -0700 2009
1
2
3
#\ -w -p 8765
 
use Rack::Reloader, 0
gist: 100996 mp3faster - listen to mp3s ...
Gravatar
Thu Apr 23 23:58:29 -0700 2009
1
 find *.mp3 | ruby -e 'while(x=gets) do `mp3faster \"#{x.chomp}\"`;end'
Gravatar
Tue Apr 21 18:16:03 -0700 2009
1
2
3
Given I am a <role>
And I am on the entity list screen
When I <action> an <state> entity
Gravatar
Tue Apr 21 15:49:25 -0700 2009
1
2
3
Given I am logged in as <Role>
 
And I have a Protocol <Initial Protocol Details>
Gravatar
Mon Apr 13 17:29:02 -0700 2009
1
2
3
# this fails "Mock 'x' expected :a with (any args) once, but received it twice"
 
      x = mock("x")
Gravatar
Mon Mar 30 20:45:55 -0700 2009
1
2
3
# I want to say all four tabs have the same set of fields
has_dialog :add_reagent_dialog do
 
Gravatar
Wed Mar 25 05:03:04 -0700 2009
1
2
3
require 'ruby2ruby'
 
def refactor(type, method, new_method)
Gravatar
Tue Mar 17 19:06:08 -0700 2009
1
2
3
module UISpec
  class UI < UIDefinition