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
#!/usr/bin/env python3 | |
import logging | |
import functools | |
def logging_debug_pre_post(func): | |
@functools.wraps(func) | |
def logging_debug_pre_post_wrapper(*args, **kwargs): | |
func_name = f"{func.__class__.__name__}.{func.__name__}" | |
logging.debug(f" pre-{func_name}") |
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
{ | |
"signs": { | |
"DE:237": { | |
"tags": { | |
"highway": "cycleway", | |
"bicycle": "designated", | |
"access": "no", | |
"mofa": "yes|no" | |
}, | |
"file": "Zeichen_237_-_Sonderweg_Radfahrer,_StVO_1992.svg" |
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
#!/usr/bin/env bash | |
# https://spin.atomicobject.com/2017/08/24/start-stop-bash-background-process/ | |
trap "exit" INT TERM ERR | |
trap "kill 0" EXIT | |
function run_echo_rand() | |
{ | |
my_identifier=$(printf "% 2s" $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
// ==UserScript== | |
// @name Deep History osm.org | |
// @version 1 | |
// @grant none | |
// @match https://www.openstreetmap.org/node/* | |
// @match https://www.openstreetmap.org/way/* | |
// @match https://www.openstreetmap.org/relation/* | |
// ==/UserScript== | |
var sidebar_content, newElement; |
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
if (es != Acad::ErrorStatus::eOk) | |
{ | |
acutPrintf(_T("\n gotten to line: %i"), __LINE__); | |
return; | |
} |