sudo apt install proxychains cp /etc/proxychains.conf ~/ echo 'socks5 127.0.0.1 1080' >> ~/proxychains.conf sudo mv ~/proxychains.conf /etc/proxychains.conf # to run ui project off-site proxychains npm start
Monthly Archives: August 2017
How to install polipo
sudo apt install -y polipo mkdir -p ~/.config/polipo cp /etc/polipo/config ~/.config/polipo/ echo "socksParentProxy = \"127.0.0.1:1080\"" >> ~/.config/polipo/config echo "socksProxyType = socks5" >> ~/.config/polipo/config echo "proxyAddress = \"::0\"" >> ~/.config/polipo/config echo "proxyPort = 8123" >> ~/.config/polipo/config sudo mv ~/.config/polipo/config /etc/polipo/config rmdir ~/.config/polipo sudo service polipo restart
How to install latest nodejs
sudo apt install -y curl curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt install -y nodejs
How to install latest git
sudo add-apt-repository -y ppa:git-core/ppa sudo apt update sudo apt -y install git
How to fix inotify_watch_limit
touch ~/98-watches.conf echo '# add this files to /etc/sysctl.d/' >> ~/98-watches.conf # yes, allowing 524288 files to be open is a lot echo 'fs.inotify.max_user_watches = 524288' >> ~/98-watches.conf sudo mv ~/98-watches.conf /etc/sysctl.d sudo sysctl -p --system