I hereby claim:
- I am munhitsu on github.
- I am munhitsu (https://keybase.io/munhitsu) on keybase.
- I have a public key whose fingerprint is A1FD 1761 CF00 5402 C93C 5C1F 91FF 6CF6 C537 D591
To claim this, I am signing this object:
| # downlaod from https://apps.apple.com/us/app/macos-ventura/id1638787999?mt=12 | |
| sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/USB |
I hereby claim:
To claim this, I am signing this object:
| import csv | |
| import xml.etree.ElementTree as ET | |
| # was: for $x in ./tickets/ticket return string-join((data($x/created-at), data($x/current-tags), data($x/subject), data($x/description), data($x/status-id)),", ") | |
| SERVICE_ID = '31281329' | |
| tree = ET.parse('tickets.xml') | |
| root = tree.getroot() |
| xqilla -i users.xml <(echo 'for $x in ./users/user return string-join((data($x/email), data($x/roles), data($x/last-login)),", ")') > users.csv |
| #nice docker stats | |
| docker stats $(docker ps --format '{{.Names}}') | |
| #old way | |
| docker stats $(docker ps | awk '{if(NR>1) print $NF}') |
| until nc -z ${POSTGRES_PORT_5432_TCP_ADDR} ${POSTGRES_PORT_5432_TCP_PORT}; do | |
| echo "$(date) - waiting for postgres..." | |
| sleep 1 | |
| done |
| brew install swig | |
| env LDFLAGS="-L$(brew --prefix openssl)/lib" \ | |
| CFLAGS="-I$(brew --prefix openssl)/include" \ | |
| SWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl)/include" \ | |
| pip install m2crypto |
| Kraków - university city - ex-capital - where I lived for 13 years | |
| a trip to Auschwitz - difficult but worth | |
| a trip to Wieliczka - picturesque salt mine with loads of salt sculptures, and underground salt church | |
| restaurant - Jarema - for properly made traditional food | |
| Wrocław - smaller, just charming - plenty of German architecture influences | |
| beautiful walks over riverbanks | |
| Gdańsk - the oldest, and the most important port city - go to the old town - german/danish, influence |
| #check logs | |
| curl http://localhost:9200/_cluster/health?pretty | |
| curl http://localhost:9200/_cat/indices?v | |
| curl http://localhost:9200/_cat/nodes?v | |
| curl http://localhost:9200/_cat/shards?v | |
| curl localhost:9200/_nodes/process?pretty | |
| # recommended ntp pool (/etc/ntp.conf) | |
| server 0.amazon.pool.ntp.org iburst | |
| server 1.amazon.pool.ntp.org iburst | |
| server 2.amazon.pool.ntp.org iburst | |
| server 3.amazon.pool.ntp.org iburst | |
| ntpq | |
| > peers | |
| check for connection prefixed with * | |
| > as |