sudo apt-get install python-pip libcairo2 python-cairo
pip install carbon
pip install whisper
pip install django
pip install django-tagging
pip install graphite-web
$ mkdir -p /var/www/letsencrypt/.well-known/acme-challenge | |
$ sudo systemctl restart nginx | |
$ ~/opt/letsencrypt/letsencrypt-auto -c /etc/letsencrypt/webroot.ini -d domain.com certonly | |
# renew certs | |
$ ~/opt/letsencrypt/letsencrypt-auto renew --renew-hook "systemctl restart nginx" | |
# crontab | |
@weekly ~/opt/letsencrypt/letsencrypt-auto renew --renew-hook "systemctl restart nginx" |
{ | |
["outline"] = true, | |
["fontSize"] = 28, | |
["color"] = { | |
[1] = 1, | |
[2] = 0.086274509803922, | |
[3] = 0.11372549019608, | |
[4] = 1, | |
}, | |
["displayText"] = "%c", |
# https://cloud.digitalocean.com/settings/api/tokens | |
TOKEN="digitalocean api key" | |
DO_API="https://api.digitalocean.com/v2" | |
# curl -X GET -H 'Content-Type: application/json' -H "Authorization: Bearer $TOKEN" "$DO_API/account/keys" | |
SSH_KEY_IDS="key1,key2,..." | |
# curl -X GET -H 'Content-Type: application/json' -H "Authorization: Bearer $TOKEN" "$DO_API/snapshots" | |
SNAPSHOT="snapshot id" |
#! /bin/bash | |
TWITCH_RTMP="rtmp://live-cdg.twitch.tv/app/live_ID_KEY" #?bandwidthtest=true" | |
# You can change "cdg" with any other server: https://twitchstatus.com/ | |
if [ -z "$1" ]; then | |
echo "The YouTube URL is mandatory" | |
echo "Usage: $0 https://youtu.be/Video_ID" | |
exit 1 | |
fi |
Build the following and make it run as fast as you possibly can using Python 3 (vanilla). The faster it runs, the more you will impress us!
Your code should:
All of that in the most efficient way you can come up with.
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
There are two modes when you don't want Certbot to edit your configuration:
Webroot is better because it doesn't need to replace Nginx (to bind to port 80) to renew certificates.
In the following, we're setting up mydomain.com
to be served from /var/www/mydomain
, and challenges will be served from /var/www/letsencrypt
.
#!/usr/bin/env bash | |
echo Git Commit Sequence | |
echo Adding files... | |
git add * | |
echo Enter your commit message: | |
read message | |
git commit -m "$message" | |
echo Pushing files to website... | |
git push | |
echo Sequence done. It may take a few moments for Jekyll to build the files properly. |