- assuming you already have your domain, will use domain.com as example and you have your github pages, will use username.github.io as example
- register for cloudflare account
- get cloudflare nameservers for your domain, e.g xxx.ns.cloudflare.com and yyy.ns.cloudflare.com
- update dns settings for your domain with the cloudflare nameservers and check status (might take a while)
- cloudflare dns settings -> add 2 A records; name: domain.com, value 192.30.252.153 and value 192.30.252.154 as per github pages instructions
- cloudflare dns settings -> add cname record; name www, value (is an alias of) username.github.io
- cloudflare page rules -> domain.com/* forwarding URL https://www.domain.com/$1 301 permanent redirect
- cloudflare page rules -> http://www.domain.com/* Always use https
- settings on your github pages repo -> custom domain 'www.domain.com'
This file contains 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
name: Publish docs to Netlify | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Deploy docs | |
runs-on: ubuntu-latest |
This file contains 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
/opt/bin/nvidia-smi | |
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb | |
dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb 2> /dev/null | |
apt-key add /var/cuda-repo-8-0-local-ga2/7fa2af80.pub | |
apt-get update | |
apt-get install -qq cuda gcc-5 g++-5 -y | |
ln -s /usr/bin/gcc-5 /usr/local/cuda/bin/gcc | |
ln -s /usr/bin/g++-5 /usr/local/cuda/bin/g++ | |
/usr/local/cuda/bin/nvcc --version |
Go to http://www.softether-download.com/files/softether and download SoftEther Client for the right architecture.
> cd /tmp
> wget http://www.softether-download.com/files/softether/v4.18-9570-rtm-2015.07.26-tree/Linux/SoftEther_VPN_Client/64bit_-_Intel_x64_or_AMD64/softether-vpnclient-v4.18-9570-rtm-2015.07.26-linux-x64-64bit.tar.gz
> tar xf softether-vpnclient-v4.18-9570-rtm-2015.07.26-linux-x64-64bit.tar.gz