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 20 2016 - 12:42am - 23 comments

How to display the APC Opcode Cache information page

... To display the APC test/information page, just: Find the apc.php web page on your server after installing APC. Mine was ... . (You can use the Unix locate command if need be to find that file.) Copy this page (apc.php) to the main directory of your web ...

Blog - alvin - May 18 2016 - 6:04pm - 0 comments

A way to migrate Drupal 6 Photo content type to Drupal 8

... with that limitation — that I make no attempt to find and use the old “preview” images — this project may work ... over 1,700 photos. After you run that script, run this command to flush all caches: drush cr (Or do whatever else it is you do ...

Blog - alvin - May 17 2016 - 8:13pm - 0 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 12 2016 - 5:13pm - 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 12 2016 - 5:14pm - 5 comments

How to see JVM parameters/arguments from within a running Java application

... code that shows how to see Java Virtual Machine JVM command line arguments/parameters from within a running Java (or Scala) ... around the internet for a while I was finally able to find this solution, which helps to show the JVM command line arguments: // ...

Blog - alvin - May 12 2016 - 5:30pm - 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 12 2016 - 5:16pm - 1 comment

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 12 2016 - 5:10pm - 0 comments

How to find all MySQL database tables that have specific column names

MySQL FAQ: How can I find all MySQL database tables that have specific column names? I found the ... names after you get them, I recommend starting the MySQL command line client like this: $ mysql -sN -u root -p The -sN ... | Summary In summary, if you want to know how to find one or more column names that are contained in all of your MySQL ...

Blog - alvin - May 9 2016 - 3:58am - 0 comments

MySQL backup - How to backup a MySQL database

... be any SQL INSERTs, DELETEs, or UPDATEs occurring, so I find that it’s really easy to perform a MySQL backup using the mysqldump command-line utility program. Here’s how it works. Create a ... MySQL Drupal database using the following mysqldump command: mysqldump --opt --user=root --password drupaldb > ...

Blog - alvin - May 7 2016 - 7:05pm - 0 comments