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
#!/bin/bash | |
ports=(65000 # web | |
65001 # web | |
65005 # transmission | |
32400 # plex | |
6690 #cloud station | |
) | |
protocols=(tcp udp) | |
cmd="./upnpc-static" |
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
rm -rf ~/.config/Mis | |
sudo apt install build-essential python-dev -y | |
sudo apt install libgconf2-4 -y | |
curl https://install.meteor.com/ | sh | |
source ~/.bashrc | |
curl -o- -L https://yarnpkg.com/install.sh | bash | |
source ~/.bashrc |
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
// VSCode: Place your settings in this file to overwrite the default settings | |
{ | |
"http.proxy": "http://user:[email protected]:8080", | |
"https.proxy": "http://user:[email protected]:8080", | |
"http.proxyStrictSSL": false | |
} |
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
tar xf openwrt_with_git.tar.xz | |
cd openwrt | |
# update folder to the latest | |
git pull | |
./scripts/feeds update packages luci | |
./scripts/feeds install -a -p luci | |
pushd package/shadowsocks-libev | |
git pull | |
popd | |
pushd package/chinadns |
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
#!/bin/bash | |
set -e | |
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG | |
trap 'echo FAILED COMMAND: $previous_command' EXIT | |
#------------------------------------------------------------------------------------------- | |
# This script will download packages for, configure, build and install a GCC cross-compiler. | |
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running. | |
# If you get an error and need to resume the script from some point in the middle, | |
# just delete/comment the preceding lines before running it again. |