1, in the MAC system to open the Launchpad interface
2, in Launchpad "other" folder to find "terminal" application
3, open the terminal, click on the Mac screen at the top of the menu in the Shell menu
4, then in the Shell menu, click "New Window-ocean" to create a new blue background of the terminal window, so that the screen snowflakes falling effects more beautiful
5, then enter the following code in the Terminal window (can be copied and pasted directly into the terminal window), and then press ENTER to perform
Ruby-e ' c= ' stty size '. Scan (/d+/) [1].to_i; s=["2743". To_i].pack ("u*"); a={};p UTS "33[2J"; Loop{a[rand (C)]=0;a.each{|x,o|; A[x]+=1;print "33[#{o};#{x}h 33[#{a[x]};#{x}h#{s} 33[0;0h"}; $stdout. Flush;sleep 0.1} '
After execution, you can see the snowflake effect falling from the top of the terminal.
6, if you want to exit the terminal, you can press COMMAND+Q combination button, and then click "Off"