Immediately is Christmas, in order to let the festive atmosphere more strong, today PC6 small compilation to teach you Mac User A very interesting skill, let your Mac float white snowflakes, below with small weave together to see!
For Apple Mac Computer "terminal" applications, may not be used in peacetime, so it should be more unfamiliar. In fact, this terminal application is used to allow users to directly input some system instructions, let it perform the appropriate operation, such as the simple display of the current directory of files, display date and time, delete files and other operations are OK. Here today we are going to show you how to achieve the snow effect on the Mac terminal window by entering specific instructions.
1, first please in the MAC system, open the Launchpad interface, as shown in the picture
2, Next please in Launchpad "other" folder to find "Terminal" application, click Open.
3, after opening the terminal, next click it is located in the Mac screen at the top of the menu Shell menu, as shown in the picture
4, then in the Shell menu, click "New Window-ocean" to create a new blue background of the terminal window, so that the snow effect behind the more beautiful.
5, then please enter the following code in the Terminal window, you can copy and paste directly into the terminal window, and finally press the ENTER key can be executed:
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 the execution, you can see from the end of the terminal falling down the snowflakes, very good-looking.
6, after watching the end of the window after the snow, if you want to exit the terminal, please press the straight COMMAND+Q combination button, and then click "Off" on it.