Skip to content

Instantly share code, notes, and snippets.

View lawkai's full-sized avatar

Kelvin Law lawkai

  • Hong Kong
View GitHub Profile
@lawkai
lawkai / keybase.md
Created October 27, 2021 01:47
Keybase

Keybase proof

I hereby claim:

  • I am lawkai on github.
  • I am lawkai (https://keybase.io/lawkai) on keybase.
  • I have a public key ASBy51-xWBM4TCFqmo8P5guVwNaecreIf0d5xRnqyDEP-Ao

To claim this, I am signing this object:

@lawkai
lawkai / brew.txt
Last active November 20, 2018 15:37
How to reinstall all casks from old Mac/installation
git
neovim
coreutils
findutils --with-default-names
gnu-indent --with-default-names
gnu-sed --with-default-names
gnutls
grep --with-default-names
gnu-tar --with-default-names
gnu-getopt --with-default-names
@lawkai
lawkai / tmux_cheatsheet.markdown
Created September 1, 2018 17:47 — forked from henrik/tmux_cheatsheet.markdown
tmux cheatsheet

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@lawkai
lawkai / LC_CTYPE.txt
Created April 14, 2018 07:59 — forked from thanksdanny/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
@lawkai
lawkai / .bash_aliases
Created July 1, 2017 16:11 — forked from vratiu/.bash_aliases
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset