Skip to content

Instantly share code, notes, and snippets.

View rkh's full-sized avatar
👀
heeeyyyy

Konstantin Haase rkh

👀
heeeyyyy
View GitHub Profile
Ahhhhhhhhh
Ya ya yaaaah
Ya ya yaaah
Yaaah ya yah
Ohohohohoooo
Oh ya yaaah
Ya ya yaaah
Yaaah ya yah
export repo="ruby" # can also be jruby
export version="ruby-2.1.1" # full rvm qualifier
gem install travis
gem install travis-cli-gh
curl -H 'Authorization: `travis gh-signature -r $repo/$repo`' -i http://rubies.travis-ci.org/rebuild/$version -X POST
language: c
compiler:
- gcc
- clang
# Change this to your needs
script: ./configure && make
@rkh
rkh / .travis.yml
Last active August 29, 2015 13:59
language: ruby
notifications:
irc:
channels:
- "chat.freenode.net#my-channel"
template:
- "%{repository} (%{commit}) : %{message}"
- "Build details: %{build_url}"
@rkh
rkh / install.sh
Last active August 29, 2015 14:01
curl https://gist.githubusercontent.com/rkh/1ee2da1420fa28022fe5/raw/travis.sh -sSL > travis
chmod +x travis
./travis install

Keybase proof

I hereby claim:

  • I am rkh on github.
  • I am rkh (https://keybase.io/rkh) on keybase.
  • I have a public key whose fingerprint is 5D7E E93A 4ABE 388A 0526 E2E8 7173 AC78 7259 8CF7

To claim this, I am signing this object:

>> def foo; bar = "blah"; raise NotImplementedError; end
=> #<CompiledMethod foo file=(irb)>
>> def get_exception; begin; yield; nil; rescue Exception => e; e; end; end
=> #<CompiledMethod get_exception file=(irb)>
>> e = get_exception { foo }
=> #<NotImplementedError: NotImplementedError>
>> cx = e.context
=> #<MethodContext:0x16a main#foo (irb):1>
>> m = cx.method
=> #<CompiledMethod foo file=(irb)>
Ubuntu 8.10, 2.6.27-10-generic #1 SMP Fri Nov 21 12:00:22 UTC 2008 i686 GNU/Linux
rubinius (git: master) $ gdb --args rbx irb -f
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
konstantin:~/Workspace/misc/rubinius-copy (git: master) $ uname --all
Linux localtoast 2.6.27-10-generic #1 SMP Fri Nov 21 12:00:22 UTC 2008 i686 GNU/Linux
konstantin:~/Workspace/misc/rubinius-copy (git: master) $ gdb --args bin/rbx -e "puts ObjectSpace.each_object { }"
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
--- from irb, updated