Skip to content

Instantly share code, notes, and snippets.

View pazustep's full-sized avatar

Marcus Brito pazustep

View GitHub Profile

Keybase proof

I hereby claim:

  • I am pazustep on github.
  • I am pazustep (https://keybase.io/pazustep) on keybase.
  • I have a public key whose fingerprint is 6B81 16DE EAB7 467B E530 7FC9 28EB A275 6F46 E3A9

To claim this, I am signing this object:

2014-12-31 12:24:40
Full thread dump OpenJDK 64-Bit Server VM (24.65-b04 mixed mode):
"Service Thread" daemon prio=10 tid=0x00007f082c0b3800 nid=0x6e22 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C1 CompilerThread1" daemon prio=10 tid=0x00007f082c0b1000 nid=0x6e21 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" daemon prio=10 tid=0x00007f082c0ae000 nid=0x6e20 waiting on condition [0x0000000000000000]

Keybase proof

I hereby claim:

  • I am pazustep on github.
  • I am pazustep (https://keybase.io/pazustep) on keybase.
  • I have a public key whose fingerprint is 6B81 16DE EAB7 467B E530 7FC9 28EB A275 6F46 E3A9

To claim this, I am signing this object:

//
// NSObject+BlockObservation.h
// Version 1.0
//
// Andy Matuschak
// andy@andymatuschak.org
// Public domain because I love you. Let me know how you use it.
//
typedef NSString AMBlockToken;
var MyNamespace = function() {
private_hello = function() {
alert("hello");
}
sayHello = function() {
// We're in the same lexical scope, no this needed
private_hello();
}
@pazustep
pazustep / each_with_index_test.rb
Created June 17, 2011 20:44
each_with_index.map
class EachWithIndexTest < Test::Unit::TestCase
def setup
@array = ["one", "two", "three"]
end
def test_each_with_index_enumerator
enum = @array.each_with_index
assert_equal ["one", 0], enum.next
end