Turn the "Terminal" into a showcase like the Apple Store

SNOW IN TERMINAL

The weekend comes to an end and we continue to propose news about it apple world. In this case, we are going to tell you one more time about the "Terminal" by OSX.

Remember that just as in Windows we have the command prompt window C: /, in OSX its equivalent is the command window. In it, through commands we can do and undo many actions that are not directly implemented with buttons in the system for an average user.

The Terminal allows us to modify aspects of the OSX system through programming commands, so if you start to use it, we recommend that before you are very sure of what you write in it, you are going to spoil the proper functioning of the system.

In this post we bring you, more than a trick, a way to have fun teaching your programmer friends how, by command line art, you make snow appear in the "Terminal" window. Yes, as you hear, you will be able to generate moving snow by command.

It is clear that the trick will not go beyond copying and pasting the command that we propose, although you must be careful that the background color of the "Terminal" is the Homebrew or Pro so that the white snowflakes can be seen.

Ready to create the snow effect? The steps you must take are:

  • Start the application "Terminal", which is within launch pad, binder OTHER.
  • Right-click on the "Terminal" window and click on "Show inspector" to select the theme with a black background.
  • Copy and paste the following command:

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}'

  • Press enter to run it.

Well with this artificial snow in the showcase style of the Apple Store, we leave you until tomorrow we return to inform you of new news and tricks from Apple and the Mac world.

SnowTerminalCommand

More information - Christmas is coming and with it the decoration in the Apple Store

Source - osxdaily


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.