sudo apt-get update
sudo apt-get install python3-pip
sudo pip3 install --ignore-requires-python mitmproxy==6.0.2Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 1X deployment automation tool as well!
awesome gui dialogs to pick windows version and preset action
Auto Setup choice for upgrade directly without prompts, with edition change / intelligent fallback
Create ISO choice for authoring iso file directly via DIR2ISO snippet, including any 'oem' customizations
Create USB choice for authoring usb via native MCT, including any 'oem' customizations (prompts once)
Select in MCT choice for vanilla MCT processing without 'oem' modifications, script quits straightway
control via set script vars, commandline parameters or rename script likeiso 21H2 Pro MediaCreationTool.bat
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
| # sudo apt install iptables-dev xtables-addons-common libtext-csv-xs-perl pkg-config -y --purge --auto-remove | |
| sudo apt install xtables-addons-common libtext-csv-xs-perl -y --purge --auto-remove | |
| sudo mkdir -p /usr/share/xt_geoip | |
| cd /usr/share/xt_geoip | |
| sudo /usr/src/xtables-addons-3.9/geoip/xt_geoip_dl | |
| sudo /usr/lib/xtables-addons/xt_geoip_build -D /usr/share/xt_geoip dbip-country-lite.csv | |
| sudo iptables -A INPUT -m geoip --src-cc CN -j DROP | |
| sudo iptables -A INPUT -m geoip --src-cc RU -j DROP |
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
| ################################# | |
| ## Install Dnsmasq | |
| ################################# | |
| echo "nameserver 8.8.8.8" > /etc/resolv.conf | |
| echo "10.138.0.2 example.com" > /etc/hosts | |
| sudo apt install dnsmasq | |
| # edit dnsmasq.conf | |
| sudo nano /etc/dnsmasq.conf |
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
| {"lastUpload":"2021-01-23T08:12:43.909Z","extensionVersion":"v3.4.3"} |
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
| /** | |
| * Returns an string clean of UTF8 characters. It will convert them to a similar ASCII character | |
| * www.unexpectedit.com | |
| */ | |
| function cleanString($text) { | |
| // 1) convert á ô => a o | |
| $text = preg_replace("/[áàâãªä]/u","a",$text); | |
| $text = preg_replace("/[ÁÀÂÃÄ]/u","A",$text); | |
| $text = preg_replace("/[ÍÌÎÏ]/u","I",$text); | |
| $text = preg_replace("/[íìîï]/u","i",$text); |
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
| { | |
| "custom": | |
| { | |
| "*.vue": | |
| { | |
| // This will add initial indent for each vue segment | |
| "indent_scripts": "normal", | |
| // Any additional config here | |
| "js": { | |
| "max_preserve_newlines": 1 |
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
| # clear key | |
| # slmgr -upk | |
| # slmgr /ckms | |
| # win 10 | |
| # 1. slmgr /ipk PW48G-MNG8W-B9978-YWBRP-76DGY | |
| # 1.1 KWWVF-VNVFM-HTVTP-YP824-WFDHC | |
| # 1.2 T6R8N-X9P9Q-K9W99-7G7KQ-B9492 | |
| # 2. |
