Skip to content

Instantly share code, notes, and snippets.

def self.on_refresh_request(&block)
Beacon.watch :refresh_requested do |hash|
block.call hash
end
end
Rubinius Crash Report #rbxcrashreport
Error: signal SIGSEGV
[[Backtrace]]
0 rbx 0x00000001022de7c1 _ZN8rubiniusL12segv_handlerEi + 241
1 libsystem_c.dylib 0x00007fff8c26fcfa _sigtramp + 26
2 ??? 0x00007fff61ec5bf8 0x0 + 140734836268024
3 rbx 0x0000000102303ee0 _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE + 7712
4 rbx 0x00000001023f79a3 _ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE + 467
@robertzx
robertzx / Gemfile.lock
Created October 15, 2011 20:40
My RBX crash project gem list
GIT
remote: git@github.com:robertzx/immutable_attributes.git
revision: 009dbfebaa1402d0e48edb6ee450a76d7e637981
specs:
immutable_attributes (1.2.0)
GIT
remote: git@github.com:zeevex/aws-s3.git
revision: 8354c1c5c0062ede276156e36ccc54c823e2a036
tag: 0.6.2.3-release
def lookup(reference, authenticable = true)
return reference if !reference or reference.is_a? User
base = self
if reference.is_a? Numeric or (reference.is_a? String and reference.match(/^\d+$/))
user = base.find(reference.to_i)
elsif reference.include? '@'
user = base.find_by_email(reference) ||
base.find_by_hashed_email(User.hash_email(reference)) || base.find_by_identifier(reference)
else
require 'rubygems'
require 'pry'
require 'pry-doc'
require 'pry-remote'
require 'pry_debug'
pry_remote
Save-visited-files 1.2 available save opened files across sessions
abacus 1.0.2 available Abacus Calculator
abl-mode 0.9.0 available Python TDD minor mode
ac-ja 0.0.1 available auto-complete-mode source for Japanese
ac-slime 0.1 available An auto-complete source using slime completions
ace-jump-mode 1.0 available a quick cursor location minor mode for emacs
adaptive-wrap 0.1 available Smart line-wrapping with wrap-prefix
ahg 0.99 available Alberto's Emacs interface for Mercurial (Hg)
all 1.0 available Edit all lines matching a given regexp
alpha 1.0 available increase frame transparency
;; There is a global file (~/.emacs.d/eproject.lst)
(defun prj-globalfile ()
(expand-file-name "eproject.lst"
(if (boundp 'user-emacs-directory) user-emacs-directory
"~/.emacs.d/")
))
;; with the list of all projects
(defvar prj-list)
;;;###autoload
(defun gist-list ()
"Displays a list of all of the current user's gists in a new buffer."
(interactive)
(message "Retrieving list of your gists...")
(github-with-auth-info login token
(gist-request
(format "https://gist.github.com/api/v1/xml/gists/%s" login)
'gist-lists-retrieved-callback)))
ftp://ftp.gnu.org/pub/gnu/kawa/
pbpaste | gist -o