Nothing fancy, just a personal log with a built in search function so I can recall what is easily forgotten.
Thursday, April 17, 2014
Recover Full Capacity of USB Drive
2) Type "LIST DISK" to see what number your USB drive is listed as.
3) Type "SELECT DISK 2"
4) Type "SELECT PARTITION 1"
5) Type "DELETE PARTITION".
6) Type "CLEAN".
7) Type "CREATE PARTITION PRIMARY" to create a new, full-size partition.
8) Type "EXIT"
Now create a boot disk with http://pogostick.net/~pnh/ntpasswd/bootdisk.html
Thursday, April 10, 2014
W.A.R. Party enhancement
Sunday, March 30, 2014
SpiderOnFire and the Companion Android app
I maintain a database of geotagged images at SpiderOnFire. The companion Kit Kat targeted app at Google Play retrieves the images but does not resize them. Rather I have the PHP download script do the work. Here is my code:
array('header'=>'Connection: close\r\n'))); $orig = file_get_contents("$dirfile",false, $context ); $imgstr = imagecreatefromstring($orig); $width = imagesx($imgstr); $height = imagesy($imgstr); $newwidth = '75'; $newheight = '50'; $thumb = imagecreatetruecolor($newwidth, $newheight); imagecopyresized($thumb, $imgstr, 0, 0, 0, 0, $newwidth, $newheight, $width, $height); header("Content-Type: image/jpg"); imagejpeg($thumb); //image as jpg imagedestroy($thumb); imagedestroy($imgstr); ?>
Saturday, March 1, 2014
Widespread Augmented Reality on Android Demo
Sunday, February 23, 2014
Passwords Done Right
This article is a keeper: Salted Password Hashing.
Side note: My own mobile web app is secure in so far as the hashed password only validates the anonymous and disposable handle or user ID, nothing else. This allows a member to delete their handle and recreate it with a different password as needed. Moreover, the arbitrary handle is not linked to any e-mail or other vitally important personal data.
Tuesday, February 18, 2014
Newest Android App
I designed, coded and published using the following tools installed on a Samsung Galaxy Tablet 2.0 with a 7 inch screen.
This is the app with fragments in the UI: P.Y.T
Saturday, February 1, 2014
Installing Android Studio
I have a dual boot Acer Aspire One Netbook with Eclipse running on the Windows partition.
Now I want to try Android Studio on the Ubuntu Linux partition.
Here are the steps involved.
In a terminal window switch to root with "sudo su". Then type: "export JAVA_HOME=usr/lib/jvm/java-openjdk-i386.
Navigate to the directory android-studio/bin and type "./studio.sh"