Search

Search results

A collection of Unix/Linux find command examples

... table of contents   Abridged find command examples Basic find command examples Find directories ...

Blog - alvin - May 1 2016 - 3:31am - 23 comments

How to read Perl command-line arguments

... table of contents   Perl command line args and the @ARGV array Example 1: A typical Perl ... can also use: foreach $argnum (@ARGV) Shift I find it easier most of the time to use shift: my variable = shift; ...

Blog - alvin - May 1 2016 - 3:40am - 8 comments

Mac crontab - Mac OS X startup jobs with crontab, er, launchd

... crontab, launchd, and launchctl Running a simple command every minute with Mac launchd 1) Move to the ... As of this writing (updated in 2014), the Mac crontab command seems to be deprecated on Mac OS X, and the Apple documentation ... Extremely Helpful! This is great! I could not find these practical steps outlined in any other documentation, particularly ...

Blog - alvin - May 1 2016 - 9:25pm - 8 comments

vi/vim delete commands and examples

... commands - reference vi delete character command vi delete word commands vi delete line ... refers to the end of the current line or end of file, so I find these commands fairly easy to remember. delete to beginning or end of ...

Blog - alvin - May 1 2016 - 3:42am - 5 comments

Mac zoom - How to zoom in and zoom out a Mac screen

... zoom out. This is very cool. A lot of times I’ll find myself making text larger in Firefox by changing the font size ( [command] + to make the font larger, [command] - to make it ... settings. On Mac OS X 10.9 (and possibly 10.7 and 10.8), I find it easiest to search for the word “zoom” inside of the System ...

Blog - alvin - May 1 2016 - 3:37am - 2 comments

Linux find command: How to find and copy files

Linux find/copy FAQ: How can I use the find command to find many files and copy them all to a directory? I ran ...

Blog - alvin - Feb 15 2016 - 3:46am - 0 comments

A collection of Gnuplot examples

... with OS X Yosemite (10.10.x) I had to use this brew command instead: brew install gnuplot --with-qt You’ll know that ... select a terminal with 'set terminal'. You can find more information about the need for this new brew command at this SO ...

Blog - alvin - May 1 2016 - 3:46am - 1 comment

Mac OS X launchd examples (launchd plist example files)

... to this script. This is helpful when you use the launchctl command, as discussed in the earlier tutorial. A second Mac launchd ... many more Mac launchd examples here, but since you can find dozens of examples on your own Mac OS X system in the two directories ...

Blog - alvin - May 1 2016 - 9:24pm - 0 comments

How to use Scala as a scripting language

... Hello, world As detailed in the next recipe, command-line parameters to the script can be accessed via an args array, ... , which I wrote for O’Reilly: You can find the Scala Cookbook at these locations: Here on the O’Reilly ...

Blog - alvin - May 1 2016 - 9:24pm - 0 comments

Scala - Recursion, Stacks, and Stack Frames

... with this function will depend on the java command-line settings you use, but the last time I checked the default ... 1024 . I dug through this oracle.com documentation to find that this “1024” means “1,024 Kbytes”. ...

Blog - alvin - May 1 2016 - 4:02am - 0 comments