- Download the factory binary link (download page)
- consider downloading from the tp link page associated with your country, as directed on the page
- the download linked to by the openWRT wiki did not work for me
- Extract the
.bin
file from the zip and rename it:wr810nv1_tp_recovery.bin
- On Ubuntu (verified on 18.10) install tftpd-hpa:
sudo apt install tftpd-hpa
- Create the default tftp directory:
/var/lib/tftpboot
- Move
wr810nv1_tp_recovery.bin
to/var/lib/tftpboot
- In the gnome network manager, set the IPv4 address to manual,
192.168.0.66
with mask255.255.255.0
- Connect an ethernet cable between the computer and the WAN/LAN port of the router
- Restart the tftp daemon to be sure:
sudo systemctl restart tftpd-hpa.service
This file contains 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
#!/bin/bash | |
# requires jq | |
# arg 1: iCloud web album URL | |
# arg 2: folder to download into (optional) | |
function curl_post_json { | |
curl -sH "Content-Type: application/json" -X POST -d "@-" "$@" | |
} |
This file contains 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
// on a portrait only app, when a video player is launched from a WebView | |
// and the user turn the phone into landscape and then closes the player, | |
// the navigation bar slips under the status bar | |
@property (nonatomic, strong) id observer; | |
- (instancetype)init { | |
@weakify(self); | |
This file contains 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
#!/bin/bash | |
# From http://tech.serbinn.net/2010/shell-script-to-create-ramdisk-on-mac-os-x/ | |
# | |
ARGS=2 | |
E_BADARGS=99 | |
if [ $# -ne $ARGS ] # correct number of arguments to the script; | |
then |