cmd + Delete
, send hex codes 0x15, delete a lineoption + Delete
, send hex codes 0x17, delete a wordcmd + <-
, send hex code 0x01, move cursor to the beginningcmd + ->
, send hex code 0x015, move cursor to the end
I hereby claim:
- I am chenrui333 on github.
- I am chenrui (https://keybase.io/chenrui) on keybase.
- I have a public key ASC7D-0GrczI0pjLAu6732VpYciib13jDdqkhoId5o46swo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global push.default current | |
git config --global pull.rebase true |
cleanup the merged branches
git branch -r --merged |
grep origin |
grep -v '>' |
grep -v master |
xargs -L1 |
cut -d"/" -f2- |
xargs git push origin --delete
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"explorer.autoReveal": true, | |
"window.zoomLevel": 0, | |
"git.confirmSync": false, | |
"git.enableSmartCommit": true, | |
// The number of spaces a tab is equal to. This setting is overridden | |
// based on the file contents when `editor.detectIndentation` is true. | |
"editor.tabSize": 2, |
$ make -j 16 all
which go-bindata || GO111MODULE=off GOBIN=/Users/rchen/go/bin go get github.com/jteeuwen/go-bindata/...
/usr/local/bin/go-bindata
PATH="/Users/rchen/.gvm/bin:/Users/rchen/.goenv/bin:/Users/rchen/.nenv/shims:/Users/rchen/.nenv/bin:/Users/rchen/.avn/bin:/usr/local/opt/swagger-codegen@2/bin:/Users/rchen/.rbenv/shims:/Users/rchen/bin:/Users/rchen/.nvm/versions/node/v10.16.3/bin:/Users/rchen/.yarn/bin:/Users/rchen/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/munki:/opt/X11/bin:/Users/rchen/go/bin:/usr/local/opt/go/libexec/bin:/Users/rchen/bin:/Users/rchen/go/bin" go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
which go-bindata || GO111MODULE=off GOBIN=/Users/rchen/go/bin go get github.com/jteeuwen/go-bindata/...
/usr/local/bin/go-bindata
PATH="/Users/rchen/.gvm/bin:/Users/rchen/.goenv/bin:/Users/rchen/.nenv/shims:/Users/rchen/.nenv/bin:/Users/rchen/.avn/bin:/usr/local/opt/swagger-codegen@2/bin:/Users/rchen/.rbenv/shims:/Users/rchen/b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start checking!!! | |
brew fetch --build-bottle abcde | |
brew fetch --build-bottle afio | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# repo and ticket env setup | |
REPO_NAME="pro-admin-onboard-email-lambda" | |
PT_TICKET="XX" | |
# checkout the repo and branch | |
git clone [email protected]:meetup/${REPO_NAME}.git | |
cd ${REPO_NAME} | |
git checkout -b ${PT_TICKET}-node-10.16.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jenkins/jenkins | |
USER root | |
# Add sudo capabilities | |
RUN apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/* | |
RUN echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers | |
# Install vim (useful to have there) | |
RUN apt-get update && apt-get install -y vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote -v | grep fetch | cut -f 1 | egrep -v '(rui|upstream|origin)' | xargs -I {} git remote remove {} |