Apple Mac tips: Get your computer to snow on Christmas

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.