Skip to content

Instantly share code, notes, and snippets.

@Xpktro
Created September 14, 2013 04:19
Show Gist options
  • Save Xpktro/6558791 to your computer and use it in GitHub Desktop.
Save Xpktro/6558791 to your computer and use it in GitHub Desktop.
Programmer's day one-liner greeter.
(function(){var today = new Date(); var firstday = new Date(today.getFullYear(), 0, 1); if(Math.ceil((today-firstday)/86400000) === 256) console.log('Happy Programmers Day!');})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment