Commanding Chaos for Coworking, Open Source and Creative Communities

mac

cachegrind.out Filled My Drive | John Rearick

Tue, 05/24/2016 - 18:41 -- rprice

That big blue field is a whole bunch of cachegrind.out files in /private/var/tmp. Turns out these files are generated when you have Xdebug enabled, which I do because it's useful to debug PHP as a developer. So, first thing I try to do is delete all these useless files.

I changed where Xdebug saves it's cache files to /tmp in my php.ini file. In my case with MacPorts it's at /opt/local/etc/php54/php.ini.

php
mac
tips
development

cachegrind.out Filled My Drive | John Rearick

Tue, 05/24/2016 - 18:41 -- rprice

That big blue field is a whole bunch of cachegrind.out files in /private/var/tmp. Turns out these files are generated when you have Xdebug enabled, which I do because it's useful to debug PHP as a developer. So, first thing I try to do is delete all these useless files.

I changed where Xdebug saves it's cache files to /tmp in my php.ini file. In my case with MacPorts it's at /opt/local/etc/php54/php.ini.

php
mac
tips
development

ImageOptim — better Save For Web

Tue, 06/02/2015 - 09:28 -- rprice

mageOptim is a free app that makes images take up less disk space and load faster, without sacrificing quality. It optimizes compression parameters, removes junk metadata and unnecessary color profiles. ImageOptim seamlessly integrates the best optimization tools: PNGOUT, Zopfli, Pngcrush, AdvPNG, extended OptiPNG, JpegOptim, jpegrescan, jpegtran, and Gifsicle. It's excellent for publishing images on the Web (easily shrinks images “Saved for Web” in Photoshop) and also useful for making Mac and iPhone/iPad applications smaller (if you configure Xcode).

opensource
image
tools
mac
drupaleasypodcast

fish shell

Fri, 04/24/2015 - 14:55 -- rprice

Finally, a command line shell for the 90s fish is a smart and user-friendly command line shell for OS X, Linux, and the rest of the family. Autosuggestions Autosuggestion Thumbnail fish suggests commands as you type based on history and completions, just like a web browser. Watch out, Netscape Navigator 4.0! Glorious VGA Color Colors Thumbnail fish natively supports term256, the state of the art in terminal technology. You'll have an astonishing 256 colors available for use! Sane Scripting Scripting Thumbnail fish is fully scriptable, and its syntax is simple, clean, and consistent.

shell
linux
bash
UNIX
mac
drupaleasypodcast

Restore an Apple Partition Map

Sun, 08/18/2013 - 11:16 -- rprice

And then, disaster strikes. Cause “initialize” means something entirely else. The Disk Management tool has just overwritten the APM with a Master Boot Record (MBR) and all partition information seems lost. That is exactly what happened to me last week. After extensive searches on the internet...

help
tutorial
hard_disk
mac
command_line

Pages

Subscribe to RSS - mac