This file contains 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
~/src/rubinius/rubinius master | 8fade34 | |
$> ./bin/gem --version | |
An exception occurred running /home/jesse/src/rubinius/rubinius/library/bin/gem.rb: | |
Missing or uninitialized constant: Gem::Ext::ExtConfBuilder (NameError) | |
Backtrace: | |
Module#const_missing at kernel/common/module.rb:667 | |
Gem::Ext::Builder#builder_for at library/rubygems/ext/builder.rb:112 |
This file contains 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
~/src/rubinius/rubinius master | 49b6cb9 | |
$> bundle | |
Using gems (0.8.3) | |
Using daedalus-core (0.0.3) | |
Using rake (10.1.1) | |
Using redcard (1.1.0) | |
Using rubinius-ast (2.0.10) | |
Using rubinius-compiler (2.0.4) | |
Using rubinius-toolset (2.2.0) | |
Using rubinius-processor (2.0.1) |
This file contains 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
INTERNATIONAL CRIMINAL POLICE ORGANIZATION | |
From the desk of: Sir. Elton Wilfred | |
Director - UK National Central Bureau | |
Dear Victimized Beneficiary | |
My name is Elton Wilfred, of the fund monitoring department of ICPO UK National Bureau. | |
Your information is in our data as a victim of diverted/stolen funds. We were able to |
This file contains 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
require 'nokogiri' | |
require 'benchmark' | |
d = File.open("big.xml"){ |f| f.read } | |
s = Nokogiri::XML(d) | |
def iterfun(s) | |
s.xpath("./*").each do |c| | |
iterfun(c) | |
end |
This file contains 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
~/projects/rubinius/rubinius master | 18d641c | |
$> ./bin/rbx -S em.rb | |
Run options: | |
# Running tests: | |
[2/2] TestFork#test_fork_safe^CAn exception occurred in a forked block | |
Thread has been interrupted (Interrupt) |
This file contains 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
class Parent; end | |
class Child < Parent; end | |
ChildSingleton = class << Child; self; end | |
# in MRI 2.1.2 | |
ChildSingleton.ancestors | |
# => [#<Class:Child>, #<Class:Parent>, #<Class:Object>, #<Class:BasicObject>, Class, Module, Object, PP::ObjectMixin, Kernel, BasicObject] | |
# in Rubinius | |
ChildSingleton.ancestors |
This file contains 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
#compdef tmuxinator mux | |
# zsh completion for tmuxinator | |
# Install: | |
# $ mkdir -p ~/.tmuxinator/completion | |
# $ cp _tmuxinator ~/.tmuxinator/completion | |
# $ vi ~/.zshrc # add the following codes | |
# fpath=($HOME/.tmuxinator/completion ${fpath}) | |
# autoload -U compinit |
This file contains 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
~/projects/calagator master | 2accbf4 1m 13s | |
$> cap calagator deploy | |
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. | |
INFO[487def29] Running /usr/bin/env mkdir -p /tmp/calagator/ on calagator.org | |
DEBUG[487def29] Command: ( PATH=/var/www/calagator/shared/ruby/bin:/var/www/calagator/shared/bin:$PATH:/sbin RAILS_ENV=production /usr/bin/env mkdir -p /tmp/calagator/ ) | |
INFO[487def29] Finished in 3.057 seconds with exit status 0 (successful). | |
DEBUGUploading /tmp/calagator/git-ssh.sh 0.0% | |
INFOUploading /tmp/calagator/git-ssh.sh 100.0% | |
INFO[9e53796c] Running /usr/bin/env chmod +x /tmp/calagator/git-ssh.sh on calagator.org | |
DEBUG[9e53796c] Command: ( PATH=/var/www/calagator/shared/ruby/bin:/var/www/calagator/shared/bin:$PATH:/sbin RAILS_ENV=production /usr/bin/env chmod +x /tmp/calagator/git-ssh.sh ) |
This file contains 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
module Rubinius | |
config = {} | |
config[:config_file] = "/tmp/rbx/config.rb" | |
config[:command_line] = [] | |
config[:build_make] = "make" | |
config[:build_rake] = "rake" | |
config[:build_perl] = "perl" | |
config[:llvm] = :svn | |
config[:llvm_configure] = "/tmp/rbx/vendor/llvm/Release/bin/llvm-config" | |
config[:llvm_version] = "3.4.2" |
This file contains 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
#!/bin/sh | |
# Cisco Anyconnect CSD wrapper for OpenConnect | |
CSTUB="$HOME/.cisco/hostscan/bin/cstub" | |
$ARCH=$(uname -m) | |
if [[ "$ARCH" == "x86_64" ]] | |
then |
OlderNewer