Skip to content

Instantly share code, notes, and snippets.

@NIA
Last active December 10, 2015 10:08
Show Gist options
  • Save NIA/4418697 to your computer and use it in GitHub Desktop.
Save NIA/4418697 to your computer and use it in GitHub Desktop.
A funny function that congratulates everybody with 'happy new 1357002013'th UNIX timestamp'... well, in Russian.
# encoding: utf-8
#
# Prerequisites:
# sudo gem install colorize
#
# Example usage:
# $ irb -r './newyear2013.rb'
# irb(main):001:0> congratulate! :everybody
#
require 'colorize'
def congratulate!(a)
puts "\n С Новым \n\n " +
" 1357002013-м \n\n".light_green +
" таймстэмпом!!! \n\n"
"Урааааа!!!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment