Skip to content

Instantly share code, notes, and snippets.

@soyo42
soyo42 / alembic-completion.bash
Last active July 3, 2024 18:00
bash completion for alembic (pythonic db structure migration tool based on sqlAlchemy)
# source it into bash
comment_show_last_detailed=1
comment_show_last_position=0
function offer_alm_revisions() {
local raw_history
raw_history="$(alembic history | sed -E 's/^[^->]+ -> ([^ ]+.+)$/\1/')"
#echo -e "\n${raw_history}"
@soyo42
soyo42 / .Inspect_spring_boot_services
Last active March 17, 2020 08:22
spring-boot service inspection (parallel)
Inspect spring-boot services (parallel) - reading their /info
@soyo42
soyo42 / .CheckClusterTimes
Last active September 29, 2016 10:29
collect times from multiple cluster nodes, evaluate diffs and show results in gnuplot chart
this is project name keeper
@soyo42
soyo42 / .Merge_Logs
Last active September 16, 2016 09:48
merge logs - honor timestamp at line start, used python-2.7
this is project name keeper
@soyo42
soyo42 / .gitignore
Last active October 2, 2015 15:24
config subsystem required capabilities pairing
karaf-etc-coss
karaf-system
META-INF
@soyo42
soyo42 / .Slf4j_log_checker
Last active December 13, 2016 10:46
walks through all java files in given folder and checks if class in log4j logger matches the encapsulating class
this is project name keeper
@soyo42
soyo42 / .Mininet_custom_topo
Last active April 14, 2016 12:40
mininet custom topologies
this is project name keeper
@soyo42
soyo42 / .Karaf_feature_tree
Last active September 21, 2017 08:02
Karaf feature tree generator.
this is project name keeper
@soyo42
soyo42 / .gitignore
Last active November 3, 2015 08:29
primitive and lightweight openflow switch emulator
*.log
*.pyc
@soyo42
soyo42 / .Git_cherrypicks_lineup_script
Last active December 14, 2016 14:08
lineup and summarize changes on master and branch in order to hint cherry-picking
this is project name keeper