Build something fun

Technology, Ideation, Startup

Alacritty Multi session with neovim

tmux or nvimnvim terminal

Tmux is a standard way, there is an alternative: If you are a user of neovim, you can use nvim to do terminal buffer management Check this: Do not need to worry bugs in tumx regarding fonts disp...

Setup postgres debugger env with docker

debug pl/sql with docker and dbeaver

pldebugger setup pldebugger require recompile with postgresql source code. A little bit hard to setup. Lucky enough, debian provides already compiled version. Strech: version 10 Buster: version 12 ...

Replace fzf with vim-clap

swiss army knife for searching in vimvi-clap 简介与配置

vim-clap is a combination of fzf, ctrlp, leaderF, Ag/Ack, nerdtree(in some extends) …… Check this: And this: Clap providers: Clap providers And this: Yes, it also provide a preview window…… C...

keycode in terminal for vim&neovim

Map special keys (e.g ) in vim & nvim in terminalvi/kitty/zsh shift+fn 配置

How keys was defined in terminal This had never been a issue until I give up vimr and use kitty + neovim. I found that my <S-Fn> no longer works. Well, do panic, use infocmp or keybind or k...

Sharing my dotfiles(vim/kitty/zsh configuration)

vi/kitty/zsh configuration I recommendvi/kitty/zsh 配置

vim as a programming ide I used to use slickedit, qt-creator, idea (webstorm, goland), vscode, but I am back to vi now. Thanks for Plug I do not need to configure my setup everytime……. I am still ...

Kafka Sasl Client Setup

layout: post title: “connect to kafka cluster with SASL” subtitle: [“GUI Tools Kafka setup”, “kafka 客户端SASL配置”] author: “Ray” header-style: text tags: Docker I found there are two GUI clie...

Docker network

basic instruction

Name space in linux UTS (Hostname+DomainName), User, Mount, IPC, Pid, Net In docker virtual network interface was used. Bridged network used to connect the containers A good reference Understandi...

Create a docker image

basic instruction

Create a new image from a container’s changes Usage: Docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]] e.g: Get a busy box image and create a file inside container...

Kubernetes introduction

introduction to kubernetes

What is Kubernetes? Kubernetes, AkA k8s.Kubernetes, is an Production-Grade Container Orchestration System. It can automating deployment, scaling, and managing containerized applications. What Kube...

Limit container resources

Set up resource constrains容器资源限制

By default, a container has no resource constrains and an use as much of resource as kernel scheduler allows. We can restraint CPU, Memory and GPU usage for docker Memory and OOM On Linux hosts, ...