Easily set up a front end website with ssl on blank server (with port 443 open)
before you start, you need
-
install docker
-
get my.pub.lic.ip (curl https://wtfismyip.com/text)
-
place the certificate files
/etc/ssl/certs/__mydomain_com.crt
function aliensay(t){ | |
var _={ | |
"a":"(![]+[])[+!+[]]", | |
"l":"(![]+[])[+!+[]+!+[]]", | |
"i":"([![]]+[][[]])[+!+[]+[+[]]]", | |
"e":"(!+[]+[])[+!+[]+!+[]+!+[]]", | |
"n":"([][[]]+[])[+!+[]]"," ":",", | |
"u":"([][[]]+[])[+[]]","d":"([][[]]+[])[+!+[]+!+[]]", | |
"f":"(![]+[])[+[]]","t":"(!+[]+[])[+[]]", |
<?php | |
# ------------------------------ | |
# START CONFIGURATION SECTION | |
# | |
$launch_url = "http://www.imsglobal.org/developers/BLTI/tool.php"; | |
$key = "12345"; | |
$secret = "secret"; | |
$launch_data = array( |
ffmpeg -i vid.mp4 -filter_complex "[0:v]setpts=0.25*PTS[v];[v]fps=9,scale=480:-1:flags=lanczos,split [o1] [o2];[o1] palettegen [p]; [o2] fifo [o3];[o3] [p] paletteuse" vid4x.gif |
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
Easily set up a front end website with ssl on blank server (with port 443 open)
before you start, you need
install docker
get my.pub.lic.ip (curl https://wtfismyip.com/text)
place the certificate files
/etc/ssl/certs/__mydomain_com.crt
import sys | |
import re | |
import uuid | |
def literal_uuid(m): | |
return str(uuid.uuid4()) | |
unfixed="" | |
with open(sys.argv[1],'r') as sqlfile: | |
unfixed = sqlfile.read() |
import sys | |
import re | |
import uuid | |
def literal_uuid(m): | |
return str(uuid.uuid4()) | |
unfixed="" | |
with open(sys.argv[1],'r') as sqlfile: | |
unfixed = sqlfile.read() |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import base64 | |
MESSAGE = ''' | |
EUYQGhMMSx0cU0FIU1MCFAQPG01NQ0gTAEICChUGBxZTRVxBSQoZFQYKHQpKSUNURhcVEgoUFR1I | |
SltDSBkBTRwKEAgQHxFCSkFJDgkJCgoGCkMLAQBGUklUQhMPAgAJCgYLV0MOSR0VAxAaABZBQVRP | |
TRICCRVIAk5IEg4dVFRfRkYZBgRARBI= | |
''' |
/* Helper buddy for removing async/await try/catch litter 🗑 */ | |
function O_o(promise) { | |
return promise.then(data => { | |
if (data instanceof Error) return [data] | |
return [null, data] | |
}).catch(err => [err]) | |
} | |
/* Look ma, no try/catch */ | |
async function usageExample(params) { |