Safari most efficient browser on Mac

Safari uses the least amount of battery amperage compared to Firefox and Chrome on Apple MacBook’s.  In a quick test of watching YouTube videos in browsers here’s how much battery/energy each browser used: Safari: 1250 mA Firefox: 1600mA Chrome: 3600mA Chrome is far and away the most power hungry web browser on Mac OS X, using… Read More »

MacBook Fix Fast Battery Drain

To debug and fix a MacBook fast draining battery try the following solutions / fixes. First find out how fast your MacBook is draining its battery by using System Information (Apple logo top left corner, About This Mac, More Info, System Report, Power). Look at the Amperage (mA) value.  Unplug your MacBook if you’re running… Read More »

Securely Delete Linux Server

Shutting down and deleting a Linux server securely – overwrite disk data using: dd if=/dev/zero of=/dev/sdXXX bs=1048576 where sdXXX is found by using df which returns something like Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda 98438788 29142068 64296324 32% / varrun 524288 44 524244 1% /var/run varlock 524288 4 524284 1% /var/lock udev 524288… Read More »

Linux do-release-upgrade Checklist Recover from Broken Pipe

Before a do-release-upgrade in Ubuntu Linux, here’s a quick checklist of todo’s: Backup important files (apache sites / log files / conf files, PHP .ini files, databases, cron scripts, .bash_aliases, .profile, upstart scripts) Clear up enough space for upgrading (usually around 1GB) Open up a secondary SSH window and alternate port for firewall if you get… Read More »

Bluetooth Speaker Sound Delay Fix Macbook Pro

Suffering 1-2 second sound delay between video on Macbook Pro and bluetooth speaker (Jabra Solemate in my case) I searched for a solution.  Updating the bluetooth speaker firmware (from version 1.33 to 1.34 on the Jabra Solemate) solved/fixed the sound video sync delay problem for me between a Macbook Pro Retina (2012) and a Jabra… Read More »

Sony A7r vs. Leica M9 Dynamic Range Compared

The Sony A7r camera body vs. Leica M9 camera body sensor dynamic range comparison in these two photos illustrates the advantage Sony has in its latest 24MP CMOS full-frame camera sensor (same as used in the Nikon D600/610). Sony A7r with Leica 75mm f/2 lens Leica M9 with Leica 75mm f/2 lens (Use left &… Read More »

Splunk – account currently not available – boot-start

./splunk enable boot-start -user splunk returns error: This account is currently not available. First-time-run has not finished.  Ignore this error when previewing migration – exiting. Cause for error is the specified user has no shell. Fix – set the shell for the splunk user (“splunk” in this case), to /bin/bash. Run in the terminal: usermod… Read More »

ls sort by date modified os x

Sorting directory or file listing by date last changed/modified on Mac OS X (with long listing & attributes such as size & permissions): ls -latc On linux: ls -laSt

Bash move-jump word forward backward iTerm

In bash terminal, to skip forward or backward whole words you need to send meta + f and meta + b, but Mac’s don’t have alt keys, rather option. iTerm allows you to change option to meta under profiles (or globally in Keys).  Change option key to meta shown below and you’ll be able to… Read More »