-
Install Notepad++ (check "set as default HTML editor" to replace Notepad in IE).
-
Run Notepad++, update its plugins, and install "NppExec" via Plugins, Plugin Manager.
-
Download DBGpPlugin . Place in C:\Program Files (x86)\Notepad++\plugins\DBGpPlugin
-
Use this link to download a modified version of the Komodo Remote Debugging Package. Place in plugin directory. (Unmodified Komodo package does not work with DBGpPlugin) Also contains DBGpPlugin
-
Enter these scripts for Python debugging:
Press F6 to create a NppExec Execute script, save as "Run Python":
cd "$(CURRENT_DIRECTORY)"
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
# attempt 6, success | |
# relies on Magisk auto start script | |
# pause script to give wireguard time to autostart | |
bullhead:/ # cat /data/adb/service.d/prep_gateway.sh | |
#!/system/bin/sh | |
sleep 2m | |
su -c 'iptables -F tetherctrl_FORWARD' | |
su -c 'sysctl -w net.ipv4.ip_forward=1' | |
su -c 'iptables -A FORWARD -i tun0 -j ACCEPT' | |
su -c 'iptables -t nat -A POSTROUTING -o rmnet_data0 -j MASQUERADE' |
#Country ban with UFW#
Grab your different country ip addresses and save as Linux IPTables
http://www.ip2location.com/free/visitor-blocker
##Add country## Run the following command
Upgrade nodejs to v12.x.x
$ sudo npm install -g n
$ sudo n lts
Install hsd
This is a bash script to act as a Cloudflare DDNS client, useful replacement for ddclient.
- Put the
cfupdater
files to/usr/local/bin
- If you are using IPv4 for A record, append
-v4
tocfupdater
in the following systemd service unit. - If you are using IPv6 for AAAA record, append
-v6
tocfupdater
in the following systemd service unit. - If you prefer a dual-stack record, append
-dualstack
tocfupdater
in the following systemd service unit.
chmod +x /usr/local/bin/cfupdater
- Create a systemd service unit at
/etc/systemd/system/
, thecfupdate.service
is shown as an example.
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream