a blog about coding & IT
-
Android Security Fix MMS Flaw
Android security fix MMS flaw – Turn Off MMS Message Auto retrieve. Below is only a workaround for Android’s MMS Security Flaw (aka Stagefright) Please update your Android phone ASAP. There are several other flaws related to Stagefright that this workaround will not help! Android Security Fix Steps Step 1 – Hangouts or Messaging If you’re…
-
Android Studio – Failed to Sync Gradle project – Fix
Matching SDK versions identified in build.gradle (Module: app) with the SDK versions you have installed via SDK Manager, then “Sync Now”, will fix most Android Studio build errors. Common Android Studio build errors: Failed to Sync Gradle project Failed to find target android-21 Install missing platform(s) and sync project If you’re building / running someone else’s project…
-
Android Studio Git Clone Push Pull Repository
For personal development in Android Studio, using BitBucket as remote repository here’s my VCS workflow using Git. Android Studio VCS setup for untracked project: VCS -> Import into Version Control Create Git Repository Add files & directories to track in Git, using File Explorer (left window) Since these are personal private projects, git add all Android…
-
Undelete Mac Files Free
To undelete Mac files free, here is a step-by-step guide to using a free Mac undelete program called Photorec by Christophe GRENIER of CG Security. (Huge thanks to Christophe for making this program and making it free to the world.) Overview – Undelete Mac Files Free Download Mac undelete program – photorec/testdisk Unzip program Use Terminal program to run…
-
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…
-
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…
-
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…
-
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…
-
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 &…
-
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…
Got any book recommendations?