A few regular expressions to parse WIFI schemes such as:
WIFI:T:WEP;S:test;P:rainbows\;unicorns\:jedis\,ninjas\\ secure;;
###Raw (?<=T:)[a-zA-Z]+(?=;)
#!/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 |
// 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); | |
#!/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 "@-" "$@" | |
} |
.bin
file from the zip and rename it: wr810nv1_tp_recovery.bin
sudo apt install tftpd-hpa
/var/lib/tftpboot
wr810nv1_tp_recovery.bin
to /var/lib/tftpboot
192.168.0.66
with mask 255.255.255.0
sudo systemctl restart tftpd-hpa.service