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 - Aug 11 2015 - 5:17pm - 23 comments

Unix/Linux grep command examples

... table of contents   Abridged grep command examples Searching for a text string in one file ... your grep pattern match Power file searching with find and grep Related Unix/Linux grep commands and tutorials ...

Blog - alvin - Aug 11 2015 - 5:18pm - 15 comments

Use AppleScript to display a dialog from the Mac OS X Unix shell

... How can I display a dialog with AppleScript from the Unix command line shell? (Either from a command line shell like bash through the Mac ... Unit Types, 262): no suitable image found. Did find: /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe ...

Blog - alvin - Aug 18 2015 - 7:55pm - 3 comments

Example MySQL database design - A Nagios MySQL database design

... table commands ( id int auto_increment not null, command_name varchar(128) not null, command_line varchar(1024) not null, ... boolean not null, # make it easier to find templates name varchar(128), # template name ...

Blog - alvin - Aug 12 2015 - 7:02pm - 7 comments

How to use the ImageMagick 'convert' command to add a border to many images

... $name done The script uses the ImageMagick convert command inside a Unix for loop to convert every file. I guess I should note ... iMac in what is currently a very large kitchen, and I find that constantly seeing the images is an inspiration for my practice. ...

Source_Code - alvin - Aug 23 2015 - 7:51pm - 0 comments

mysqldump command - how to dump (backup) a MySQL database

... you can dump a database named my_db with the following command, but don't do this just yet: mysqldump my_db Note that ... tutorials on this website. Just use the search form to find them, or look for the "Related" block near this article to find ...

Blog - alvin - Aug 12 2015 - 6:57pm - 0 comments

LaTeX examples - reference a figure or table

... commands must match the text used within the label command. (It seems to be a convention to begin this text with the string ... Thank you. Reference a Figure Hello, I've used a command \ref{fig:} to reference my figures, but I don't receive the same ... of the table number itself. I am actually trying to find a way of correcting the problem when i came upon this thread. Hope ...

Blog - alvin - May 5 2015 - 4:55pm - 38 comments

How to access POST request data with Scalatra

... can use to test a post method: a Scala client, and a command-line client that uses the Unix curl command. Discussion ... , which I wrote for O’Reilly: You can find the Scala Cookbook at these locations: Here on the O’Reilly ...

Blog - alvin - Aug 9 2015 - 8:13pm - 0 comments

Notes on deploying a Play Framework application to a production server

... can deploy to the production server with the Play dist command: $ play clean compile dist That command creates a file ... of the application, then start this version. You can find the PID of the previous version with the ps command, like ps auxw | ...

Blog - alvin - Aug 9 2015 - 5:32pm - 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 - Aug 9 2015 - 5:31pm - 0 comments