Skip to content

Instantly share code, notes, and snippets.

Siddarth Chandrasekaran siddarth

Block or report user

Report or block siddarth

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:a944a1e8b72c7e3f68c3
### Keybase proof
I hereby claim:
* I am siddarth on github.
* I am siddarth (https://keybase.io/siddarth) on keybase.
* I have a public key whose fingerprint is 9F8D D1D6 1875 F63D CBE5 5A33 6702 E6C2 4A11 1160
To claim this, I am signing this object:
View foo.rb
@phone = Location.find(:first, ...elided... ).andand.phone
View bookstore.xml
<!-- example from http://www.w3schools.com/xml/xml_tree.asp -->
<bookstore>
<book category="COOKING">
<title lang="en">Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
<price>30.00</price>
</book>
<book category="CHILDREN">
View gist_test.html
<html>
<head>
<title>Gist!</title>
</head>
<body>
Here's some HTML code.
</body>
</html>
View faker_irb
Minerva-2:gems Sid$ irb
>> require 'faker'
=> true
>> Faker::Name.name
=> "Berniece Wunsch"
>> Faker::Name.first_name
=> "Garrison"
>> Faker::Name.name
=> "Nettie Roob PhD"
>> Faker::PhoneNumber.phone_number
View procmail_tutorial0
# simple procmail rules
MAILDIR=$HOME/mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/pmlog
FORMAIL=/usr/bin/formail
# die spam, die
:0:
* ^X-Spam-Flag: YES
View gist_tutorial2
:0:
* ^List-Id: Some list (<)some_list_id\.lists\.something\.domail\.tld(>)
/foo/bar
View procmail_tutorial3
:0:*
^To: foo@bar.baz* ^Subject:( \[Maybe\])? something .+ something|
/foo/bar/some_script
View gist:406123
$ port search scala
cassandra @0.6.0 (databases)
A highly scalable, eventually consistent, distributed, structured key-value store.
dspam @3.9.0 (mail, net)
Scalable, open-source statistical anti-spam filter
mkpwd @0.7 (sysutils)
mkpwd is a scalable password generator
You can’t perform that action at this time.