I use Ubuntu’s Uncomplicated firewall because it is available on Ubuntu and it's very simple.
if ufw is not installed by default be sure to install it first.
"name","iso_name","iso2","iso3","numcode" | |
"Antigua and Barbuda","ANTIGUA AND BARBUDA","AG","ATG",28 | |
"Bosnia and Herzegovina","BOSNIA AND HERZEGOVINA","BA","BIH",70 | |
"Cocos (Keeling) Islands","COCOS (KEELING) ISLANDS","CC","\N","\N" | |
"Congo, the Democratic Republic of the","CONGO, THE DEMOCRATIC REPUBLIC OF THE","CD","COD",180 | |
"Cote D'Ivoire","COTE D'IVOIRE","CI","CIV",384 | |
"Fiji","FIJI","FJ","FJI",242 | |
"French Southern Territories","FRENCH SOUTHERN TERRITORIES","TF","\N","\N" | |
"Heard Island and Mcdonald Islands","HEARD ISLAND AND MCDONALD ISLANDS","HM","\N","\N" | |
"Holy See (Vatican City State)","HOLY SEE (VATICAN CITY STATE)","VA","VAT",336 |
openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem | |
chmod 600 id_rsa.pem |
import time | |
import psycopg2 | |
from iter_file import IteratorFile | |
conn = psycopg2.connect(host="localhost", database="test") | |
# args = [(1,2), (3,4), (5,6)] | |
args = [(i,i+1) for i in range(1,1*10**4,2)] |
Follow this tutorial until step five-ish
If the test does not work because of "public key" issues, run sudo passwd sshtunnel
on the server to change the password of the user. (If sudo tail -f /var/log/auth.log
says the account is locked, this will be the issue.)
authorized_keys
should look a little like:
#!/boot/bzImage | |
# Linux kernel userspace initialization code, translated to bash | |
# (Minus floppy disk handling, because seriously, it's 2017.) | |
# Not 100% accurate, but gives you a good idea of how kernel init works | |
# GPLv2, Copyright 2017 Hector Martin <[email protected]> | |
# Based on Linux 4.10-rc2. | |
# Note: pretend chroot is a builtin and affects the current process | |
# Note: kernel actually uses major/minor device numbers instead of device name |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export to tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
Platform server side static redirects comparison
Feature | Gitlab | Cloudflare | Netlify | Example |
---|---|---|---|---|
Redirects | ✔️ Yes 200 , 301 , 302 |
✔️ Yes 301 , 302 , 303 , 307 , 308 |
✔️ Yes | /wardrobe.html /narnia.html 302 |
Rewrites | ✔️ Yes | ✔️ Yes | ✔️ Yes | /* / 200 |
Rewrites (other than 200 ) |
❌ No | ❌ No | ✔️ Yes | /en/* /en/404.html 404 |
Splats | ✔️ Yes | ✔️ Yes | ✔️ Yes | /news/* /blog/:splat |
Placeholders | ✔️ Yes | ✔️ Yes | ✔️ Yes | /news/:year/:month/:date /blog-:year-:month-:date.html |
Query parameters | ❌ No | ❌ No | ✔️ Yes | /store id=:id /blog/:id 301 |