R.I.P. Greg Allman

Author: , Posted on Saturday, May 27th, 2017 at 4:10:48pm
greg-allman

Gregory LeNoir Allman was born December 8th, 1947, died May 27, 2017, age 69

R.I.P. Sir Roger Moore

Author: , Posted on Tuesday, May 23rd, 2017 at 1:10:30pm

'Live and Let Die'

R.I.P. Powers Boothe

Author: , Posted on Monday, May 15th, 2017 at 7:24:06am

Powers Boothe

How To Fix WordPress Missing “Add New” Button in Plugins and Menu Choice “Dashboard > Updates”

Author: , Posted on Monday, April 17th, 2017 at 5:03:47pm

If you are missing either your “Dashboard > Updates” menu choice, or the “Add New” button or menu choice in the Plugins section, do this to correct it:

Edit the wp-config.php file, and change two lines to be false instead of true:

For example, here are the two lines fixed:

1
2
define('DISALLOW_FILE_EDIT', false);
define('DISALLOW_FILE_MODS',false);
define('DISALLOW_FILE_EDIT', false);
define('DISALLOW_FILE_MODS',false);

How To Associate All Log Files with MacVim

Author: , Posted on Wednesday, April 12th, 2017 at 9:54:29am

You can associate a file extension with an app (such as MacVim) via the “Info dialog”. Just select the file and hit Cmd-i, then go to the “Open with” tab, select app and hit “Change all…”. This will change the default application for that file type.

How To Find the Grab Hand Move Tool in Preview

Author: , Posted on Tuesday, April 11th, 2017 at 4:01:46pm

Press Option+Space and the cursor will change to the grab hand move tool.

Roll your mouse wheel for vertical scrolling, hold down shift to switch to horizontal scroll mode.

How To Fix Excel for Mac Arrow Keys Do Not Move Cell Cursor

Author: , Posted on Wednesday, April 5th, 2017 at 3:29:31pm

As per MS Support page:

“My arrow keys don’t move from cell to cell”
Press SHIFT+F14 to toggle the Scroll Lock to the off position.


Applies To: Excel for Mac 2011
Cause: Scroll Lock is turned on and causing the arrow keys to scroll the workbook area.
Solution: Turn off Scroll Lock.

Typically, when a cell is selected in a sheet and you press the arrow keys, the selection moves between individual cells, either up or down, or left or right, depending on the arrow key you press. However, if you press the arrow keys when Scroll Lock is on, you scroll one row up or one row down. Or, you scroll one column to the left or one column to the right. Scroll Lock is a toggling lock key on the keyboard, just like the CAPS LOCK key. Once pressed, Scroll Lock is enabled. To use the arrow keys to move between cells, you must turn Scroll Lock off.

Press SHIFT+F14 to toggle the Scroll Lock to the off position.

How To Increase WordPress Memory After PHP Fatal error: Allowed memory size exhausted

Author: , Posted on Monday, February 13th, 2017 at 1:49:30pm

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 277644940 bytes) in /volumes/data/customer/wordpress/wp-content/plugins/searchwp/vendor/pdfparser/vendor/smalot/pdfparser/src/Smalot/PdfParser/Parser.php on line 72, referer: http://dev.thecustomer.com/index.php?swpnonce=1387006674.5392169952592578125000

To increase the PHP memory limit to 256MB, edit wp-config.php and add the following just before the line that says "That's all, stop editing! Happy blogging.":

1
define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '256M' );

How To rsync Only Specific File Extensions

Author: , Posted on Sunday, February 5th, 2017 at 12:20:37pm

rsync -avzn --progress --include='*.png' --include='*/' --exclude='*' /the/source/path/ user@theServer:/the/target/path/

How To Reduce the Size of a PDF Using Ghostscript

Author: , Posted on Saturday, February 4th, 2017 at 3:26:48pm

Make sure you have Ghostscript installed, then:

1
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS="/ebook" -sOutputFile=output.pdf input.pdf
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS="/ebook" -sOutputFile=output.pdf input.pdf

-dPDFSETTINGS={value} where {value} is one of:

/screen – the lowest resolution and lowest file size, fine for viewing on a screen
/ebook – mid-range resolution and file size
/printer – high-quality setting used for printing PDFs
/prepress – high-quality setting used for printing PDFs

As always, YMMV…