I hereby claim:
- I am aidik on github.
- I am aida (https://keybase.io/aida) on keybase.
- I have a public key ASD396x6XlDehXcDxii5-FIWDGubhaXDLJ4NJbADTmJfzgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#/bin/sh | |
ffmpeg -i input -c:v libx264 -preset slow -profile:v high -crf 18 -coder 1 -pix_fmt yuv420p -movflags +faststart -g 30 -bf 2 -c:a aac -b:a 384k -profile:a aac_low output |
var output = ""; | |
jQuery(".episodes-broadcast-content a") | |
.each(function(a, b) { | |
output = output + ("https://www.ceskatelevize.cz" + jQuery(b).attr("href") + "\n"); | |
}) | |
.promise().done(function() { | |
console.log(output); | |
}); |
rsync -ribP --suffix ".old" --checksum --remove-source-files |
mkdir -m 700 ~/.ssh; curl https://github.com/aidik.keys >> ~/.ssh/authorized_keys
var names = ""; | |
jQuery(".pokemon-family-container").find("h2").not('.main-title').each( function () { | |
names += jQuery( this ).text(); | |
}); | |
console.log( names ); |
pdnsutil list-all-zones | xargs -L1 pdnsutil increase-serial |
SELECT `p`.`id` AS `order_id`, | |
Cast(`p`.`post_date` AS datetime) AS `order_date`, | |
SUBSTRING(`p`.`post_status`, 4) AS `order_status`, | |
Max(CASE WHEN `pm`.`meta_key` = '_billing_email' AND `p`.`id` = `pm`.`post_id` THEN `pm`.`meta_value` end) AS `billing_email`, | |
Max(CASE WHEN `pm`.`meta_key` = '_billing_first_name' AND `p`.`id` = `pm`.`post_id` THEN `pm`.`meta_value` end) AS `_billing_first_name`, | |
Max(CASE WHEN `pm`.`meta_key` = '_billing_last_name' AND `p`.`id` = `pm`.`post_id` THEN `pm`.`meta_value` end) AS `_billing_last_name`, | |
Max(CASE WHEN `pm`.`meta_key` = '_billing_company' AND `p`.`id` = `pm`.`post_id` THEN `pm`.`meta_value` end) AS `_billing_company`, | |
Max(CASE WHEN `pm`.`meta_key` = '_billing_address_1' AND `p`.`id` = `pm`.`post_id` THEN `pm`.`meta_value` end) |
Nostr NIP-05 specification makes it a bit harder to serve identifiers from a simple webserver without CGI to run an external program handling the name
URL query parameter. I really didn't want to do all that, so instead I focused on how to handle everything just in Nginx itself.
Inside the http
block insert map
and map_hash_bucket_size
directives:
map_hash_bucket_size 256;
map $arg_name $nostr_key {