My Recent Pastes (634 and counting)

Pastes by Allan Odgaard (634 and counting)

Pages:

Below are the 15 most recent pasties by Allan Odgaard.

June 17, 2007
1:14PM EDT
by Allan Odgaard

Name                Type                Nullable        Default
===================================================================
id                int(11)                                NULL
name                varchar(255)        YES                NULL
email                varchar(255)                        

June 16, 2007
8:10PM EDT
by Allan Odgaard

Index: Experimental SQL.tmbundle/Support/bin/db_browser.rb
===================================================================
--- Experimental SQL.tmbundle/Support/bin/db_browser.rb        (revision 7514)
+++ Experimental SQL.tmbundle/Support/bin/db_browser.rb        (working copy)
@@ -152,8 +152,8 @@

June 16, 2007
4:27PM EDT
by Allan Odgaard

% git rebase origin
  ⋮
% edit plugins/phrases.rb
% git add plugins/phrases.rb
% git rebase --continue

June 16, 2007
11:07AM EDT
by Allan Odgaard

% iconv <<< 'p "«recode»" =~ /\brecode\b/' -f utf-8 -t iso-8859-1|ruby
1
% ruby  <<< 'p "«recode»" =~ /\brecode\b/' -KU
nil

June 16, 2007
11:01AM EDT
by Allan Odgaard

p "“recode”" =~ /\brecode\b/
$KCODE = 'U'
p "“recode”" =~ /\brecode\b/

# >> 3

June 16, 2007
8:21AM EDT
by Allan Odgaard

NON-CACHED MODE
       The "non-cached" mode takes a different approach, and is potentially
       the more useful of the two in that what it does can't be emulated with
       a "git-write-tree" + "git-diff-tree". Thus that's the default mode. The
       non-cached version asks the question:

June 15, 2007
9:09AM EDT
by Allan Odgaard

% git push git+ssh://repo.or.cz/srv/git/cybot.git master
updating 'refs/heads/master'
  from 0000000000000000000000000000000000000000
  to   ef6985ec30350ee32426a2ff7f00293448d95f27
Generating pack...

June 14, 2007
3:53PM EDT
by Allan Odgaard

 yes i have question regarding plugin
i have a quick question 
anybody have time for a quick question?
so no one can help me
: I have a stupid question.

June 14, 2007
9:55AM EDT
by Allan Odgaard

#!/usr/bin/env ruby -wKU

puts DATA.gets

__END__

June 14, 2007
1:54AM EDT
by Allan Odgaard

tell app "Adium"

        -- chat name of chats
        -- set theChat to (chats where chat name is "Mads (arb.)")

June 14, 2007
1:15AM EDT
by Allan Odgaard

(completion)/OCaml Experimental Completions
(completion)/OCamlCodeCompletion Misc
(completion)/OCamlCodeCompletion Unix
(completion)/OCamlCodeCompletion
(completion)/ODCompletion

June 13, 2007
10:55AM EDT
by Allan Odgaard

Error loading plugin 'Textmate':
undefined local variable or method `irc' for #<Plugin:0x8295880>
./lib/plugin.rb:33:in `on_startup'
./lib/plugin.rb:27:in `each'
./lib/plugin.rb:27:in `on_startup'

June 13, 2007
5:08AM EDT
by Allan Odgaard

 <p class="message"><b>NameError: uncaught throw `Connection refused'</b><pre>        Support/bin/db_browser.rb:107:in `throw'
Support/bin/db_browser.rb:107:in `print_data'
Support/bin/db_browser.rb:177</pre></p>

June 13, 2007
5:00AM EDT
by Allan Odgaard

Support/bin/db_browser.rb:137:in `sub': $_ value need to be String (nil given) (TypeError)
        from Support/bin/db_browser.rb:137:in `smarty'
        from Support/bin/db_browser.rb:125:in `print_data'
        from Support/bin/db_browser.rb:177

June 11, 2007
12:40PM EDT
by Allan Odgaard

-------------------------------------------------------------- Dir::glob
Dir.glob( pattern, [flags] ) => array
Dir.glob( pattern, [flags] ) {| filename | block } => nil
------------------------------------------------------------------------
Returns the filenames found by expanding _pattern_ which is an

Next page

Previous page