Linux

OpenVPN installer wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
List of Installed Packages dpkg –get-selections | grep -v deinstall > packages
wget  wget -A pdf,jpg -m -p -E -k -K -np http://site/path/

This will mirror the site, but the files without jpg or pdf extension will be excluded

Correct permissions /var/www sudo adduser $USER www-data

sudo chown $USER:www-data -R /var/www

sudo chmod +0775 -R /var/www

Continue reading

American Theater (World War II)

America was bombed 1,000 times during World War II

Among the lesser known weapons used in World War II were airborne bombs, that drifted across the ocean like flying jellyfish. They were known as fugo, or fire balloons, and they were the only successful attack on the mainland United States. Continue reading

20 Unofficial Plex Channels You Should Install Right Now

How to Install the Unsupported App Store

You cannot install the Unofficial App Store via the Plex Media Server itself. Instead, you need to do it manually.

The old method simply required you to download a zip file and put it into Plex’s plugins folder. However, a new version of the App Store was released in early 2016, and the installation method is now slightly more complicated.

First, download the WebTools plugin from GitHub. You need the file titled “WebTools.bundle.zip”. Once the download is complete, extract the file and ensure the extracted directory is called WebTools.bundle.

Continue reading

Bookerly Font on Kindle Keyboards (and other older Kindles)

I really like the new Bookerly font, but I have an older Kindle. Here’s how I got it on my Kindle Keyboard, but the instructions should work for other models as well.

  1. Download the Bookerly font here and unzip the files.
  2. Rename the file “Bookerly-RegularItalic.ttf” to “Bookerly-Italic.ttf”.
  3. Exit out of whatever book you’re reading and go to the main menu (this is important for some reason). Connect the Kindle to your computer.
  4. Create a folder in the Kindle root directory called “fonts” and put the font files there.
  5. Follow these instructions on how to change the fonts on your particular Kindle model.
  6. Open a book. If you have a Kindle Keyboard, you’ll notice that the font has changed to sans-serif. When you press the “Aa” button, under “Typeface” you’ll see “std,” “sans,” “mono,” and “alt.” Choose “alt”.
  7. Happy reading.

*Edit: I just discovered that if you ever hit the “Aa” key sometime down the road and choose one of the factory installed fonts, it will reset all of the custom settings and you’ll have to start all over again, so don’t do that.

Removing DRM from rented Amazon azw4 eBook

To make deDRM work with rented Kindle books, you have to open mobidedrm.py and find the lines:

if val406 != 0:

raise DrmException(u”Cannot decode library or rented ebooks.”)

Then either comment them out (using #) or remove these two lines. Then deDRM works perfectly with rented eBooks.