Nothing fancy, just a personal log with a built in search function so I can recall what is easily forgotten.
Friday, July 27, 2018
Lowering the 2011 Victory Cross Country Motorcycle
2. Buy a lowered kick stand.
3. Watch You Tube Video
4. Get your self a proper jack. Here is what I got from Harbor Freight.
5. Remember that once the suspension is lowered, you may not be able to pull the jack out, so an extra car tire jack might help create the necessary gap.
6. Probably a good idea to secure the front wheel by keeping the handle bar break lever closed, so the bike does not roll. See image below.
7. Also remember steel toed boots just in case, because you are messing with a 900 pound vehicle.
8. By myself, this took 6+ hours, much of it spent slowly struggling and pounding coffee.
Sunday, July 22, 2018
Update to Root Lenovo Yoga Book
I found it necessary to install a previous version of Linux Deploy. linuxdeploy-2.0.0-216.apk
Then I needed to visit Google Play and turn off automatic updates.
Go to Settings | Apps | Linux Deploy on the Yoga Book and grant permissions manually.
Use a Root Browser to copy the SU file from /magisk/.core/bin/su to /system/bin/su and /system/xbin/su.
Lastly, in order to have VNC connect, I needed the password from Linux Deploy under properties, which is under the arrow down button in the upper right. See image below.
Best of Luck.
Tuesday, July 17, 2018
Root Lenovo Yoga Book YB1-X90F
Be patient between steps as there is a slight lag between screen prompts.
XDA root Yoga Book
XDA root Yoga Book revised
Monday, April 30, 2018
Resurrect Galaxy Tab 2 7.0 P3113
I discovered that a part time gal at work had no phone and no computer due to repairs. Since she is also a student at a local community college, I volunteered to give her my spare Android tablet. However, when I factory reset the Cyanogenmod build the tablet became stuck in the logo loop. Therefore, I needed to copy the following files to the tablet after connecting it to my Hewlet Packard laptop.
First install Odin on the PC. Second connect tablet to the PC and use ODIN to flash the TWRP image. Third, boot tablet into TWRP and copy the ROM and Gapps to the tablet. Fourth, use TWRP to install both files. Lastly Wipe/Dalvik and reboot.
Sunday, April 1, 2018
Using CSS to Fit Images into an HTML Div
Below are two Div classes meant to display content side by side across a page
.left {
width: 50%;
float: left;
color: black;
display:block;
margin: 0 auto;
height: 300px;
border-radius: 10px;
box-shadow: 5px 5px 5px #000000;
}
.right{
float: left;
color: black;
display:block;
margin: 0 auto;
width: 50%;
height: 300px;
border-radius: 10px;
box-shadow: 5px 5px 5px #000000;
}
Here is the image class definition
img { object-fit: contain; display: inline-block; }Here is the image that will appear in the left div.
<div class="left" title="Managing Shedule"> <img width="350px" src="slides/web1.png"/> </div>
Tuesday, February 20, 2018
Android: HttpURLConnection java.io.FileNotFoundException
I was using
//letterStrings is an ArrayList
JSONArray jsonArray = new JSONArray(letterStrings);
//jsonArray looks like this: ['aaa','bbb','ccc','ddd'];
sNotes = 'These are my notes';
URL url = null;
HttpURLConnection urlConnection = null;
String link = "http://somewebsite.com?&userID=3&jsonArray="+jsonArray+"¬es="+sNotes;
// The above looks like this when resolved: "http://somewebsite.com?&userID=3&jsonArray=['aaa','bbb','ccc','ddd']¬es=These are my notes";
url = new URL(link);
urlConnection = (HttpURLConnection) url.openConnection();
Funny thing is that the resolved string link runs just fine from the browser address bar.
From within Android using HttpURLConnection, the link results in a FileNotFoundException.
Why? You ask.
Because I must make sure that the values for jsonArray and sNotes are properly formatted for the URLconnection.
Therefore, I must first do the following before I put together the string link.
String urlNotes = URLEncoder.encode(snotes, "UTF-8");
String urlJson = URLEncoder.encode(jsonArray.toString(), "UTF-8");
Now the String link = "http://somewebsite.com?&userID=3&jsonArray="+urlJson+"¬es="+urlNotes;
Android Overlay a First Run Tutorial screen over the Main Activity
Here is a great link on how to create the overlay. Christian Peters



















