Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Preface > How to Run the Programming Hacks

How to Run the Programming Hacks

The few programmatic hacks in this book run on the command line (that’s the Terminal for Mac OS X folks, and the DOS command window for Windows users). Running a hack on the command line invariably involves the following steps:

  1. Type the program into a garden-variety text editor: Notepad on Windows, TextEdit on Mac OS X, vi or Emacs on Unix/Linux, or anything else of the sort. Save the file as directed—usually as scriptname .pl (the pl bit stands for Perl, the predominant programming language used in Mind Performance Hacks).

  2. Alternately, you can download the code for all of the hacks online at http://www.oreilly.com/catalog/mindperfhks. There you’ll find a zip archive filled with individual scripts already saved as text files.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint