Created on 2021/11/03 with VSCode version 1.53.
Last revision on 2022/06/30 with VSCode version 1.68.2.
I'm not a native English speaker, so please report inconsistencies to [u/anonymous1184][00] (or send a .patch of the [source][01]).
| // Work for RedMi 2100 firmware 2.0.23 | |
| // http://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rm2100/miwifi_rm2100_all_fb720_2.0.23.bin | |
| function getSTOK() { | |
| let match = location.href.match(/;stok=(.*?)\//); | |
| if (!match) { | |
| return null; | |
| } | |
| return match[1]; | |
| } |
| #include <Array.au3> | |
| #include <SQLite.au3> | |
| _SQLite_Startup() ; Load the DLL | |
| If @error Then Exit MsgBox(0, "Error", "Unable to start SQLite, Please verify your DLL") | |
| Local $sDatabase = @ScriptDir & '\SQLiteTestDatabase.db' | |
| Local $hDatabase = _SQLite_Open($sDatabase) ; Create the database file and get the handle for the database | |
| _SQLite_Exec($hDatabase, 'CREATE TABLE People (first_name, last_name);') ; CREATE a TABLE with the name "People" |
###Single hop tunelling:
ssh -f -N -L 9906:127.0.0.1:3306 user@dev.example.com
where,
-f puts ssh in background-N makes it not execute a remote command| uci set network.wifi_open=interface | |
| uci set network.wifi_open.type=bridge | |
| uci set network.wifi_open.proto=static | |
| uci set network.wifi_open.ipaddr=10.0.0.1 | |
| uci set network.wifi_open.netmask=255.255.255.0 | |
| uci add wireless wifi-iface | |
| uci set wireless.@wifi-iface[-1].device=radio0 | |
| uci set wireless.@wifi-iface[-1].mode=ap | |
| uci set wireless.@wifi-iface[-1].ssid=medlanky.xvx.cz |