I hereby claim:
- I am lcdss on github.
- I am lucasc (https://keybase.io/lucasc) on keybase.
- I have a public key whose fingerprint is D9C9 7FD6 614A CDBD 664E 3B9C FB81 9C52 33DE BEFA
To claim this, I am signing this object:
| {"lastUpload":"2020-08-29T06:22:17.176Z","extensionVersion":"v3.4.3"} |
I hereby claim:
To claim this, I am signing this object:
| import requests | |
| class HoverException(Exception): | |
| pass | |
| class HoverAPI(object): | |
| def __init__(self, username, password): | |
| params = {"username": username, "password": password} | |
| r = requests.post("https://www.hover.com/api/login", params=params) |
| # Basically the nginx configuration I use at konklone.com. | |
| # I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com | |
| # | |
| # To provide feedback, please tweet at @konklone or email [email protected]. | |
| # Comments on gists don't notify the author. | |
| # | |
| # Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites. | |
| # Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration. | |
| server { |
| #!/bash/bin | |
| # quiet, non-interactive | |
| ./certbot certonly --standalone --quiet \ | |
| --pre-hook "sudo service nginx stop" \ | |
| --post-hook "sudo service nginx start" \ | |
| --rsa-key-size 4096 | |
| --email [email protected] \ | |
| # --cert-name # Defaults to the first domain name | |
| -d domain.com -d domain.com xxx.domain.com \ | |
| # --domains domain.com,xxx.domain.com \ |
| ############################### | |
| # /etc/nginx/nginx.conf | |
| ############################### | |
| user www-data; | |
| worker_processes auto; | |
| pid /run/nginx.pid; | |
| events { | |
| worker_connections 768; |
| sudo apt-get update | |
| sudo apt-get upgrade -y | |
| sudo apt-add-repository -y ppa:philip.scott/elementary-tweaks | |
| sudo apt-add-repository -y ppa:git-core/ppa | |
| sudo apt-add-repository -y ppa:ondrej/php | |
| sudo add-apt-repository -y ppa:webupd8team/java | |
| sudo add-apt-repository -y ppa:mc3man/mpv-tests | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' |
| sudo apt-add-repository -y ppa:git-core/ppa | |
| sudo apt-add-repository -y ppa:nginx/stable | |
| sudo apt-add-repository -y ppa:ondrej/php | |
| # sudo apt-add-repositpry -y ppa:chris-lea/redis-server | |
| curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - |