README

analytics

convert json perline to panads data frame hierarchical data format pandas format custom date in data frame

bash

bash forloop parameter expansion prompt confirmation in bash

db

disabling foreign key when importing dump postgres add object to jsonb array from the same column postgres audit log trigger postgres naming trigger postgres rename enum postgres reset sequence after import postgres skip table from restore set a column with value from different table

dgraph

dgraph docker compose whitelist ip

docker

docker compose make sure postgres is ready before starting other service

fish

edit last command in editor

git

checkout last branch different between two dots and three force fail commit on master git finish helper script delete current branch and update master git mergetool and diff with p4merge global gitignore file intellij as diff and mergetool push only current branch reset email multiple commit sign commit with pgp worktree switching branch without stash

go

default math.rand.source is thread save while rand.new source is not deploying go to a vpn ubuntu server with github and ssl

k8s

copy file to pod getting cpu and memory usage for container how cert manager and letsencrypt challenge works kubernetes resource short name scale deployment view secret

linux

boot zfs root filesystem on grub clearing up swap space connect bluetooth device from cli get full argument from a process merge multiple pdf into a single file removing old kernel symbolic vs hard link zfs auto snapshot zfs external backup drive with snapshot and encryption

net

dnssec html form submit to different action depending on properties ldap list users

osx

checksum a file from a url cluster ssh in iterm2 with i2cssh list open port manage clipboard easily with jumpcut pipe output to clipboard with pbcopy and pbpaste show hidden file sign application with self certificate starting program on startup with login items

python

count frequency with lambda dijkstra algorithm shortest path double slash arithmetic operator min and max of dict values python3 match case reduce and opeator

react

react named export vs default export react useeffect react.useref

unix

vim

web

Last updated

Was this helpful?