Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am maheshmurthy on github.
  • I am maheshmurthy (https://keybase.io/maheshmurthy) on keybase.
  • I have a public key whose fingerprint is 84CC 1BCF 2A88 09BB 8324 526F 22C5 94F0 24DC A5B0

To claim this, I am signing this object:

View gist:546505
<- 00000000: 0000 0051 0000 0004 0000 0000 4c72 dfbc | ...Q........Lr..
<- 00000010: 0003 0038 3339 3836 3300 0101 3133 3132 | ...839863...1312
<- 00000020: 3535 3531 3231 3200 0000 0100 0001 0000 | 5551212.........
<- 00000030: 0010 4e6f 2068 656c 7020 666f 7220 796f | ..No help for yo
<- 00000040: 752e 2150 0002 004f 2157 0005 3330 3338 | u.!P...O!W..3038
<- 00000050: 36 | 6
View gist:1093039
["connected"]
["receive",
#<AMQP::Frame::Method:0x101176220
@channel=0,
@payload=
#<AMQP::Protocol::Connection::Start:0x101175fc8
@debug=1,
@locales="en_US",
@mechanisms="PLAIN AMQPLAIN",
View gist:1131229
<a href="http://mmurthy.com>mahesh</a>
<a href="http://thecollegestuff.com>Failure 1</a>
<a href="http://theecofind.com>Failure 2</a>
<a href="http://laytime>Failure 3</a>
View gist:1131234
$(a[href]).each(function(i) {
urls[i] = $(this).attr('href');
}
View gist:1131240
$(a[href]).eq(2).css("background-color","#ff0000");
View gist:1131244
var arr = $.map($("LI"), function(item, index){ while (index < 3)
});
{
return $(item).html(); return null;
}
@maheshmurthy
maheshmurthy / links checker
Created Mar 6, 2012
click on all links in the site
View links checker
View gist:2993330
class Weight
include Mongoid::Document
field :bench_press, {:type => Range}
end
console> w = Weight.new
console> w.bench_press = [100,150]
console> w.bench_press.min
100
View gist:13896d903e6f26de39e2bc840f361231
Verifying that "maheshmurthy.id" is my Blockstack ID. https://onename.com/maheshmurthy