latest tweets:

Jump to content.

New and improved! The previous post on one line!

October 20th, 2009

This following bash code outputs the puzzlebot facebook email from my previous post with no extra output. This is one of those “just for fun things” that non-CS people don’t understand.

echo -e "#include <stdio.h>\nint main(int argc, char ** args){printf(\"%d@facebook.com\\\n\", 0xFACEB00C>>2); return 0;}" > fbmail.c; g++ fbmail.c -o fbmail; ./fbmail; rm fbmail.c fbmail

Share and Enjoy:
  • Digg
  • email
  • Google Bookmarks
  • Live
  • RSS
  • StumbleUpon
  • Technorati
  • Twitter

2 comments

  1. http://facebook.com/puzzles | My Piece of the Inter(.)net posted on October 20, 2009:

    [...] at 4:25pm: update Share and [...]

  2. David McGrath posted on October 20, 2009:

    lul http://twitter.com/paxswill/statuses/5027404203

    echo 'print 0xFACEB00C>>2' | perl

RSS feed for comments on this post.

Leave a comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Read more

« »


Switch to our mobile site