- https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX%3A32004R0261
- https://www.flyertalk.com/forum/information-desk/2123657-eu261-what-counts-denied-boarding.html
- https://travel.stackexchange.com/questions/186213/denied-check-in-on-a-code-shared-flight-of-israir-and-smartwings-where-to-compl
- https://www.eutravelrights.eu/how-to-complain
- https://transport.ec.europa.eu/transport-themes/passenger-rights/air/enquiry-form-air-passengers_en
- https://europa.eu/youreurope/citizens/travel/passenger-rights/air/index_fr.htm
- https://www.skycop.com/
- https://europa.eu/youreurope/citizens/travel/passenger-rights/air/index_en.htm#next-steps-3
- https://transport.ec.europa.eu/document/download/d7b5dd33-4083-4faa-8132-b6dc8b3a1c07_en?filename=2004_261_national_enforcement_bodies-2024-01-30.pdf
- https://transport.ec.europa.eu/transport-themes/passenger-rights/air_en
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// cc cat.c -o cat && ./cat cat.c | |
#include <stdio.h> | |
int main(int argc, char* argv[]) | |
{ | |
char buf[1024]; | |
if(argc < 2) return 2; | |
FILE* f = fopen(argv[1], "r"); | |
if(!f) return 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
# https://github.com/hrw/syscalls-table/issues/78 | |
wget https://raw.githubusercontent.com/torvalds/linux/master/include/linux/syscalls.h | |
sed -z 's/,\n/,/g' syscalls.h | grep 'path\|file\|name' | |
# some manual filtering of syscalls mentioning just name | |
*/ | |
asmlinkage long sys_setxattr(const char __user *path, const char __user *name, const void __user *value, size_t size, int flags); | |
asmlinkage long sys_lsetxattr(const char __user *path, const char __user *name, const void __user *value, size_t size, int flags); | |
asmlinkage long sys_fsetxattr(int fd, const char __user *name, const void __user *value, size_t size, int flags); | |
asmlinkage long sys_getxattr(const char __user *path, const char __user *name, void __user *value, size_t size); |
-
add electronic signature to a pdf without re-coding ?
-
split/merge pages
-
spellcheck in wasm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I printed the code listings from the TorchScript silero_vad.jit's .code/_c.code attributes and tidied up the source a bit, nothing really fancy here | |
# This can be used for optimizing inference and enabling GPU inference | |
# Big thanks to the Silero company for making public their VAD checkpoint! | |
# The used checkpoint: | |
# https://github.com/snakers4/silero-vad/blob/a9d2b591dea11451d23aa4b480eff8e55dbd9d99/files/silero_vad.jit | |
import torch | |
import torch.nn as nn | |
class STFT(nn.Module): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# supports only strings, dicts and lists | |
# does not support multiline strings as the first list-item key `- run: |` | |
# does not preserve whitespaces in " |" literal string blocks as described in : https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html | |
def yaml_loads(content, convert_bool = True, convert_int = True, convert_dict = True): | |
def procval(val): | |
read_until = lambda tail, chars: ([(tail[:i], tail[i+1:]) for i, c in enumerate(tail) if c in chars] or [(tail, '')])[0] | |
val = val.strip() | |
is_quoted_string = len(val) >= 2 and ((val[0] == val[-1] == '"') or (val[0] == val[-1] == "'")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xml.dom.minidom | |
def feed_write(ctx, path, generator_name = 'minimapython', generator_uri = 'https://github.com/vadimkantorov/minima', generator_version = 'https://github.com/vadimkantorov/minimapython'): | |
site = ctx.get('site', {}) | |
site__lang = site.get('lang') | |
page__url__absolute_url = '' | |
root__absolute_url = '' | |
site__time__date_to_xml_schema = '' | |
page__url__absolute_url__xml_escape = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# python -m pip install timezonefinder pytz --user | |
import timezonefinder | |
import pytz | |
import datetime | |
latlnglist = ''' | |
43.0010092,41.0208743 | |
42.9972303,41.0089412 | |
43.0125911,40.9705287 | |
42.9991332,41.0408331 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><body> | |
<link href="https://tile.openstreetmap.org/{z}/{x}/{y}.png" id="link_tiles" /> | |
<!-- | |
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.8.0/dist/leaflet.css" | |
integrity="sha512-hoalWLoI8r4UszCkZ5kL8vayOGVae1oxXe/2A4AO6J9+580uKHDO3JdHb7NzwwzK5xr/Fs0W40kiNHxM9vyTtQ==" | |
crossorigin=""/> | |
<script src="https://unpkg.com/leaflet@1.8.0/dist/leaflet.js" |
NewerOlder