Skip to content

Instantly share code, notes, and snippets.

@wacko

wacko/clock

Last active Jan 3, 2016
Embed
What would you like to do?
Emoji animations that fit in a tweet
ruby -e 'z=0x1F551;->(c,&b){loop{c.each(&b)}}.(11.times.map{|i|[z+i].pack("U")}){|m|print "#{"\b"*3}#{m} ";sleep 0.1}'
ruby -e'a,b=0x1F493,0x1F497;loop{a,b=b,a;print(("\b"*6)+[a].pack("U")+(" "*5));sleep(0.004)}'
ruby -e'a=0x1F311;loop{8.times{|i|print(("\b"*6)+[a+i].pack("U")+(" "*5));sleep(0.1)}}'
ruby -e'a,b=0x1f6b6,0x1f3c3;loop{a,b=b,a;print(("\b"*6)+[a].pack("U")+(" "*5));sleep(0.2)}'
You can’t perform that action at this time.