How to batch optimize all jpgs using a bash script to speed up your site

Based on Google Insights article here: https://developers.google.com/speed/docs/insights/OptimizeImages JPEG is a lossy format. The compression process removes visual details of the image, but the compression ratio can be 10x larger than GIF or PNG. Reduce quality to 85 if it was higher. With quality larger than 85, the image becomes larger quickly, while the visual improvement is Read more about How to batch optimize all jpgs using a bash script to speed up your site[…]

How to find any file or folder with a trailing space in it’s name, and delete the trailing space

Windows does not know how to handle files or folders whos name ends in a space. Usually Windows won’t allow you to delete these files, and other bizarre behavior. This is a simple bash command to fix that.  

Tags: bash, how to, Windows

How to create a $15 Point of Sales with a Droid X and Square. Howto root, unlock bootloader, install custom recovery, CyanogenMod 11 (Android 4.4.4), and Square Register.

The Droid X is Motorola phone sold by Verizon. It has an SD slot and HDMI out. You can buy good condition used ones on eBay for $15 here. 4.3 inch Screen (~61.0% screen-to-body ratio) More specifications Complete guide to getting the Square Register App on the Droid X If it’s booting then you can Read more about How to create a $15 Point of Sales with a Droid X and Square. Howto root, unlock bootloader, install custom recovery, CyanogenMod 11 (Android 4.4.4), and Square Register.[…]

How to unlock your Sprint phone’s SIM slot by calling Sprint. Even if you never had an account with them.

The account last associated with the device must be in good standing. In order to check to see if the account is in good standing, you must have the account # or the full name of the account holder last associated with the device. Unlocking policy here: https://www.sprint.com/legal/unlocking_policy.html Once that is verified you can request the domestic Read more about How to unlock your Sprint phone’s SIM slot by calling Sprint. Even if you never had an account with them.[…]

How to get a free electric car in California (low income)

If you live in the San Joaquin Valley Air Pollution Control District and are low income, and you are located on this census map: https://www.arb.ca.gov/cc/capandtrade/auctionproceeds/535maps-zip.pdf, you can get up to $9500 cash rebate on a new or USED electric car. If you buy or lease a new one you can get an addition $10,000 federal Read more about How to get a free electric car in California (low income)[…]

How to add an USB 3.0 port to your laptop for $5 (Windows or Linux)

You can get it on Amazon here. In Ubuntu 16.10 it is plug and play. It comes with both a USB power cable, and a AC wall power supply. You’ll need the wall one for power hungry devices like a USB hard drive. It comes with 2 ports, but I’m skeptical you could use them Read more about How to add an USB 3.0 port to your laptop for $5 (Windows or Linux)[…]

How to install Windows 10 on an old IDE hard drive using Virtualbox.

Sometimes you want to install an OS on to an old computer that does not boot from USB, and you don’t have, or don’t want to waste a DVD to burn. Here is a way to install any OS directly to the hard drive using Virtualbox’s raw disk feature. I used a cheap USB to Read more about How to install Windows 10 on an old IDE hard drive using Virtualbox.[…]