Update/Install Tex Live 2016

Solutions combined from here and here. Here is a log. If you use MacOS, skip the Debian/Ubuntu part. Debian/Ubuntu cd ~ wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz tar -xzf install-tl-unx.tar.gz cd install-tl-20170117 sudo ./install-tl Then press o and press Enter. You will see the option manual. Enable letter size as well as creating symlinks by pressing P and L.… Continue reading Update/Install Tex Live 2016

Issue While Installing NCrack 0.4Alpha

So today I was trying to install NCrack 0.4Alpha, and I encountered this problem of undeclared variable DE1 and userkey not in scope. Below are the commands to run and the red marks where the errors appear. wget http://nmap.org/ncrack/dist/ncrack-0.4ALPHA.tar.gz tar xzf ncrack-0.4ALPHA.tar.gz cd ncrack-0.4ALPHA.tar.gz && ./configure make make install The errors: ... crypto.cc: In function… Continue reading Issue While Installing NCrack 0.4Alpha

Backup and Restore MySQL Database

Simple commands. To backup (with root password): mysqldump -u root -p --all-databases | gzip > /backups/mybackup.gz To restore: zcat mybackup.gz | mysql -u root -p

Create ShadowSocks on VPS

This is a log to establish & install ShadowSock on VPS (Centos). If you do not have zlib-devel and openssl-devel, then you need to install it. sudo yum install -y zlib-devel openssl-devel Detailed steps: git clone https://github.com/shadowsocks/shadowsocks-libev.git cd shadowsocks-libev ./configure --prefix=/usr && make sudo make install sudo cp ./rpm/SOURCES/etc/init.d/shadowsocks-libev /etc/init.d/ sudo chmod +x /etc/init.d/shadowsocks-libev sudo… Continue reading Create ShadowSocks on VPS

Fetch Free VPN From VPNBook.com

A simple code for fetching the free VPN account from VPNBook.com. It is an awesome VPN site! The addresses are (updated Nov. 29): euro217.vpnbook.com euro214.vpnbook.com us1.vpnbook.com us2.vpnbook.com ca1.vpnbook.com de233.vpnbook.com Below is the Python code.