This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xeno-2% jirb -r rubygems -r innate -r ramaze | |
| irb(main):001:0> Ramaze::Adapter::Base | |
| NameError: uninitialized constant Innate::Adapter::Base | |
| from /Users/mit/.jruby/lib/ruby/1.8/irb/ruby-token.rb:102:in `const_missing' | |
| from (irb):2:in `irb_binding' | |
| from /Users/mit/.jruby/lib/ruby/1.8/irb/workspace.rb:53:in `eval' | |
| from /Users/mit/.jruby/lib/ruby/1.8/irb/workspace.rb:81:in `evaluate' | |
| from /Users/mit/.jruby/lib/ruby/1.8/irb/context.rb:219:in `evaluate' | |
| from /Users/mit/.jruby/lib/ruby/1.8/irb.rb:150:in `eval_input' | |
| from /Users/mit/.jruby/lib/ruby/1.8/irb.rb:259:in `signal_status' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def browse | |
| root, dir = File.expand_path("."), request[:dir] | |
| @lis = [] | |
| begin | |
| path = root + "/" + dir | |
| Dir.chdir(File.expand_path(path)) do | |
| if Dir.pwd[0,root.length] == root then | |
| files = Dir.glob("*") | |
| files.each{ |x| | |
| next unless File.directory?(x) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # | |
| # | |
| # Author: Michael 'entropie' Trommer <[email protected]> | |
| # | |
| url = ARGV.join | |
| url = ENV['HOMEPAGE'] if url.empty? | |
| url = ("http://" + url) if url !~ /https?:\/\// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Making completion list... | |
| Loading /Users/mit/.emacs.d/xml-rpc.el (source)...done | |
| Contacting host: twitter.com:80 | |
| funcall: Symbol's value as variable is void: url-request-method | |
| Mark saved where search started | |
| Quit [3 times] | |
| Making completion list... [2 times] | |
| Type C-x 4 C-o RET to restore the other window. | |
| Loading url-vars...done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Command: Toggle whether to enter Lisp debugger when an error is signaled. | |
| toggle-debug-on-quit <menu-bar> <options> <debug-on-quit> | |
| Command: Toggle whether to enter Lisp debugger when C-g is pressed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Debugger entered--Lisp error: (wrong-type-argument consp nil) | |
| url-http-parse-headers() | |
| url-http-content-length-after-change-function(282 389 107) | |
| url-http-wait-for-headers-change-function(1 389 388) | |
| url-http-generic-filter(#<process gist.github.com> "HTTP/1.1 302 Moved Temporarily \nServer: nginx/0.6.35 \nDate: Mon, 21 Sep 2009 11:06:54 GMT \nContent-Type: text/html; charset=utf-8 \nConnection: keep-alive \nStatus: 302 Moved Temporarily \nX-Runtime: 1407ms \nLocation: http://gist.github.com/190193 \nCache-Control: no-cache \nContent-Length: 95 \n \n<html><body>You are being <a href=\"http://gist.github.com/190193\">redirected</a>.%3c/body></html>") | |
| accept-process-output(#<process gist.github.com>) | |
| (or (accept-process-output proc) (null proc)) | |
| (if (or (accept-process-output proc) (null proc)) nil (setq proc (get-buffer-process ...))) | |
| (if (and proc (memq ... ...) (eq proc ...)) (set --cl-retrieval-done-- t) (if (or ... ...) nil (setq proc ...))) | |
| (while (not (symbol-value --cl-retrieval-done- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * a smart poller for jquery. | |
| * (by github) | |
| * | |
| * simple example: | |
| * | |
| * $.smartPoller(function(retry) { | |
| * $.getJSON(url, function(data) { | |
| * if (data) { | |
| * doSomething(data) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| der witz is der renner, aber ihr müsst mir versprechen in "bewusst zu | |
| lesen, am besten laut (frau, freundin, katze oder schwester freun sich)" | |
| (das wird ne horror mühe...) | |
| Geht nen zwerg durch wald. trifft er den zwergzwerg. fragt der | |
| zwergzwerg den zwerg "hey, was machstn du?", antwortet der zwerg "ich | |
| geh spazieren". Fragt der zwergzwerg den zwerg und den zwergzwerg | |
| "Darf ich mit kommen?" - "klar". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dpkg: regarding .../libc-bin_2.9-27_amd64.deb containing libc-bin: | |
| package uses Breaks; not supported in this dpkg | |
| dpkg: error processing /var/cache/apt/archives/libc-bin_2.9-27_amd64.deb (--unpack): | |
| unsupported dependency problem - not installing libc-bin | |
| Selecting previously deselected package libc-dev-bin. | |
| (Reading database ... 27725 files and directories currently installed.) | |
| Unpacking libc-dev-bin (from .../libc-dev-bin_2.9-27_amd64.deb) ... | |
| Replacing files in old package libc6-dev ... | |
| Preparing to replace binutils 2.17-3 (using .../binutils_2.19.91.20091006-1_amd64.deb) ... | |
| Unpacking replacement binutils ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; | |
| ;;; ruby-mode.el - | |
| ;;; | |
| ;;; $Author: matz $ | |
| ;;; $Date: 2006-08-25 21:28:09 +0200 (Fr, 25 Aug 2006) $ | |
| ;;; created at: Fri Feb 4 14:49:13 JST 1994 | |
| ;;; | |
| (defconst ruby-mode-revision "$Revision: 1.95 $") |