Profile cover photo
Profile photo
Anirudh R
452 followers -
Standardese
Standardese

452 followers
About
Anirudh's posts

Post has shared content

Post has attachment

[Perl] THE most beautiful one-liner I have seen yet.
This tests if a number is prime. For example, with 13 and 15, 

perl -e 'print "Prime" if ("a" x shift) !~ /^a?$|^(aa+?)\1+$/' 13
perl -e 'print "Prime" if ("a" x shift) !~ /^a?$|^(aa+?)\1+$/' 15

Post has attachment

Post has attachment

Two ints and a Float walk into a bar. They spot an attractive Double on her own.
The first int walks up to her and say: “Hey baby, my VM or yours?”. She slaps him and he walks back dejected.

The second int walks over. “Hey cute-stuff, can I cook you ‘Beans’ for breakfast?” After a quick slapping, he too walks back.

Then the Float ambles over casually: “Where those two primitive types bothering you?”, he remarks.

“Yes, I’m so glad you’re here”, she says. “They just had no Class!”

Post has attachment
Wait while more posts are being loaded