title | cascade | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Index |
|
Index page
# Add horizontal line before prompt | |
ORIG_PROMPT_COMMAND="$PROMPT_COMMAND" | |
hr_precmd() { | |
printf "\e[90;4m%*s\e[0m\n" "$(tput cols)" | |
} | |
PROMPT_COMMAND="hr_precmd; $ORIG_PROMPT_COMMAND" |
#!/usr/bin/env python3 | |
'''Enum argparse''' | |
import argparse | |
import enum | |
from dataclasses import dataclass | |
@dataclass |
title | cascade | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Index |
|
Index page
udisksctl dump -> ejectable!!! /dev/sda |
grep -ir "python3_{10..11}" /var/db/repos/gentoo/* | wc -l
################################################### | |
# | |
# ThinkPad T480 | |
# | |
# i7-8550U, 9th Gen Intel GFX, SSD WD NS720 512G | |
# | |
################################################### | |
# Prefer stability over agressive optimizations | |
# Use '-march=native' since working fine; check: 'echo | gcc -### -E - -march=native' |
echo 'security.protocol=SSL' > ~/kafka-client.properties | |
export KAFKA_HEAP_OPTS='-Xmx2g' | |
# ./bin/kafka-consumer-groups.sh --bootstrap-server <host:port> --timeout 15000 --command-config kafka-client.properties --group '<consumer_group_name>' --topic '<topic>:<partition>' --reset-offsets --to-offset <offset> --dry-run | |
./bin/kafka-consumer-groups.sh --bootstrap-server '...amazonaws.com:9094' --timeout 15000 --command-config ~/kafka-client.properties --group 'kestra_executor_main' --topic 'kestra_execution:7' --reset-offsets --to-offset 8915 --dry-run | |
# append '--execute' to commit |
https://dofsimulator.net/en/?x=EQaAyQEGgAAMIkwkAAADgAA |
<template> | |
<el-select | |
:model-value="options" | |
@update:model-value="onInput" | |
multiple | |
filterable | |
allow-create | |
default-first-option | |
clearable | |
collapse-tags |