Category: Blog
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…
How to trim paths in inkscape
use the node tool if you double-click where you want the cut it puts a node there. then shift-B, spacebar, shift-ctrl-k, and you have two paths.
Fix for Plugable bluetooth dongle in Ubuntu Linux 17.10 / 18.10 Bluetooth Headsets mic not working
ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0 Run the commands: wget https://s3.amazonaws.com/plugable/bin/fw-0a5c_21e8.hcd sudo mv fw-0a5c_21e8.hcd /lib/firmware/brcm/BCM20702A0-0a5c-21e8.hcd sudo cp /lib/firmware/brcm/BCM20702A0-0a5c-21e8.hcd /lib/firmware/brcm/BCM20702A1-0a5c-21e8.hcd From: https://plugable.com/2014/06/23/plugable-usb-bluetooth-adapter-solving-hfphsp-profile-issues-on-linux/
What’s the deal with cell phone networks and stuff?
A very confusing topic! Don’t worry I figured it out. =] I will go over topics such as: Networks, Coverage, Technology, Resellers, Roaming, Lifeline (Free low income smart phone and monthly service), Prepaid, Cellphone hardware, Unlocking, Voice over IP (VOIP), Credo Mobile, Google Voice, Google Fi, Republic Wireless & Freedompop. All in the context of…
pfsense OpenVPN Ubuntu client bug and fix
The OpenVPN export package in pfsense does not work out of the box for Ubuntu linux clients. The fix lies with editing the VPN configuration after importing it. You can do this with the following tool: nm-connection-editor click on the connection then click the cog: Edit the selected connection Click “Advanced” Click the “TLS Authentication”…
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. find . -name ‘* ‘ -exec sh -c ‘x=”{}”; mv “$x” “${x%?}”‘ \;
Git commands
Add their github fork repo as a remote to a clone of your own repo: git remote add other-guys-repo <url to other guys repo> Get their changes: git fetch other-guys-repo Checkout the branch where you want to merge: git checkout my_new_branch Merge their changes in (assuming they did their work on the master branch): git…
Hey everyone! Your name, address, birth date, social security #, and other info is compromised. – Credit Reporting Agency Equifax Reveals Massive Hack
Photo courtesy of: http://thehackernews.com/2017/09/equifax-credit-report-hack.html This is pretty amazing. Not a little deal. This information can never be considered secure ever again. I first heard about this on the 7th. I was pretty amazed at the breadth of the breach. Then in the following days reading about the response. Crazy. Equifax is so evil it’s not…
IPV4 Private Subnets
IPv4 Private Address Space and Filtering 10.0.0.0/8 IP addresses: 10.0.0.0 — 10.255.255.255. 172.16.0.0/12 IP addresses: 172.16.0.0 — 172.31.255.255. 192.168.0.0/16 IP addresses: 192.168.0.0 – 192.168.255.255. You can use any and all of these with the /24 netmask for instance 10.1.2.0/24
Creating a custom splash image for a multiboot USB drive from multibootusb.org
http://multibootusb.org/page_download/
You cannot hold your cell phone and drive in California. $250 fine. Mount it to your dash with a Magnet for $4!
These mounts are by far the most effective and affordable solution I’ve found. Super easy to use and install. Just slides snugly into your vent on either side of the steering wheel. The small metal disc can be used with or without a case. Inside or outside the case. I recommend the plain black one.…
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 [jbox]This only needs to be done…