Make It Snow On Your Mac With This Bit Of Terminal Magic [OS X Tips] | Cult of Mac

Make It Snow On Your Mac With This Bit Of Terminal Magic [OS X Tips]



As you can see, it’s snowing in the Terminal.

This bit of fun is seriously easy to make happen, and it looks super cool when you maximize the Terminal window to full screen. Here’s how to make it snow on your own Mac.

First up, launch Terminal from the Dock, Applications Menu, or app launcher on your Mac. Then, hit Command-I to bring up the Inspector panel. Click the Settings button in the upper right of the Inspector panel, and you can then click on a snow-like visual theme, like Pro for white on black, or Homebrew, for green on black.

Next, paste the entire following code into your Terminal, and then hit the Return key.

ruby -e 'C=`stty size`.scan(/\d+/)[1].to_i;S=["2743".to_i(16)].pack("U*");a={};puts "\033[2J";loop{a[rand(C)]=0;a.each{|x,o|;a[x]+=1;print "\033[#{o};#{x}H \033[#{a[x]};#{x}H#{S} \033[0;0H"};$stdout.flush;sleep 0.1}'

Now you have a snowy time in Terminal! You can make the window full screen, but the “snowflakes” may get out of whack. Simply hit Control-C to stop the process, and re-paste in the full code above.

Source: CLImagic
Via: OS X Daily


Daily round-ups or a weekly refresher, straight from Cult of Mac to your inbox.

  • The Weekender

    The week's best Apple news, reviews and how-tos from Cult of Mac, every Saturday morning. Our readers say: "Thank you guys for always posting cool stuff" -- Vaughn Nevins. "Very informative" -- Kenly Xavier.