- jailbreak
- enable usb networking (type
;un
into the search bar after jailbreak) - configure your computer
- ssh in as root:mario
- usb mount point is
/mnt/us
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The script helps you restore all installed OpenWRT packages after upgrading the main firmware image via sysupgrade. It works | |
ONLY if the default firmware image provided by the OpenWRT project is sufficient to get connected to the Internet, but you | |
want some extra packages for additional functionality. In other words, it WILL NOT WORK if connecting to the Internet | |
requires installing extra packages (e.g., a kernel module for your LTE modem). | |
The script has been tested for upgrading from OpenWRT 18.06.1 to 18.06.2 and to a development snapshot, as well as between | |
development snapshots. On LEDE 17.01.x, "flock" is not a part of the default image, so has to be installed manually. | |
Initial setup: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## outline | |
- [jailbreak](http://www.mobileread.com/forums/showthread.php?t=198446) | |
- enable usb networking (type `;un` into the search bar after jailbreak) | |
- [configure your computer](http://wiki.mobileread.com/wiki/Kindle_Touch_Hacking#USB_Networking) | |
- ssh in as root:mario | |
- usb mount point is `/mnt/us` | |
### useful hacks |
This guide is to save other sorry plebs from needing to RTFM in figuring out how to use wget to scrape images from 4chan and other imageboards. There are lots of image downloaders in existence, but they are usually outdated and broken. You will save time following this guide to learn how to use a powerful and general purpose tool instead.
Wget is a command-line file downloader that can handle just about any file downloading task normal and power users will ever need to do. It has versions available for Windows, Mac, and Linux. If it is not already installed on your machine, install it now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import requests | |
PRODUCT_URL = 'https://bad-dragon.com/api/products' | |
SAVE_DIR = 'models' | |
def load_products(): | |
return requests.get(PRODUCT_URL).json() |