-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
1,876 additions
and
307 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
6.5.0 | ||
7.3.2 | ||
# 6.5.0 | ||
# Pinned until https://github.com/bazelbuild/rules_jvm_external/issues/1048 is fixed |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
alias sim="sudo -E vim" | ||
alias zshs="source ~/.zshrc" | ||
alias mdp="~/mdproxy/bin-base/mdproxy_tools --connect" | ||
alias mdv="~/mdproxy/bin-base/mdproxy_tools --verify" | ||
alias src="cd /google/src/cloud/sokwhan" | ||
alias jsrc="cd /google/src/cloud/sokwhan/cel-source/google3" | ||
alias osrc="cd ~/SourceCode" | ||
alias celsrc="cd /google/src/cloud/sokwhan/cel-source/google3/third_party/java/cel" | ||
alias awake="caffeinate -imdsu" | ||
|
||
alias migrate="~/migrate.sh" | ||
|
||
alias k2="open /Applications/KakaoTalkAA.app" | ||
|
||
# fig | ||
|
||
alias hgclean="hg tracked --auto-remove-includes --no-backup --noninteractive" | ||
alias hgd="hg diff" | ||
alias hgc="hg commit" | ||
alias hgu="hg upload ." | ||
alias hgca="hg commit --amend --no-edit" | ||
alias hghr="hg status -un | xargs rm" | ||
alias hgs="hg status" | ||
alias hgx="hg xl" | ||
alias hgcall="hgca && hg evolve && hg ut" | ||
|
||
# git related | ||
|
||
alias gl="git log" | ||
alias gb="git branch" | ||
alias gfo="git fetch origin" | ||
alias gpr="git pull --rebase" | ||
alias gc="git commit" | ||
alias gs="git status" | ||
alias gd="git diff" | ||
|
||
export PATH=/opt/homebrew/bin:$PATH:/Applications/kdiff3.app/Contents/MacOS:$PATH:/Users/sokwhan/maven/apache-maven-3.8.7/bin:/usr/local/bin | ||
|
||
bindkey -e | ||
bindkey "^[[H" beginning-of-line | ||
bindkey "^[[F" end-of-line | ||
bindkey "^[[3~" delete-char | ||
|
||
# Usage: scpdev /your/file | ||
function scpdev() { | ||
scp sokwhan.c.googlers.com:$1 . | ||
} | ||
|
||
function gcert() { | ||
if [[ -n $TMUX ]]; then | ||
eval $(tmux show-environment -s) | ||
fi | ||
|
||
command gcert "$@" | ||
} | ||
|
||
function dev() { | ||
ssh sokwhan.c.googlers.com | ||
} | ||
|
||
function devnew() { | ||
(gcertstatus || gcert) && \ | ||
ssh -t sokwhan.c.googlers.com "bash -c '(killall mosh-server || true) && (gcertstatus || gcert)'" | ||
echo 'gcert done, use ^C to prevent a new session.' && \ | ||
gmosh sokwhan.c.googlers.com | ||
} | ||
|
||
function hgmv() { | ||
hg mv $1 third_party/java/cel/java/dev/cel/runtime/internal | ||
} | ||
|
||
|
||
# The next line updates PATH for the Google Cloud SDK. | ||
if [ -f '/Users/sokwhan/Downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/sokwhan/Downloads/google-cloud-sdk/path.zsh.inc'; fi | ||
|
||
# The next line enables shell command completion for gcloud. | ||
if [ -f '/Users/sokwhan/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/sokwhan/Downloads/google-cloud-sdk/completion.zsh.inc'; fi | ||
export PATH="/usr/local/opt/[email protected]/libexec/bin:$PATH" | ||
[[ -e "/Users/sokwhan/mdproxy/data/mdproxy_zshrc" ]] && source "/Users/sokwhan/mdproxy/data/mdproxy_zshrc" # MDPROXY-ZSHRC | ||
|
||
# DISABLE_AUTO_TITLE="true" | ||
# export PS1='%(?.%F{green}.%F{green})sean %1~ %# %f' | ||
|
||
#set history size | ||
export HISTSIZE=10000 | ||
#save history after logout | ||
export SAVEHIST=10000 | ||
#history file | ||
export HISTFILE=~/.zhistory | ||
#append into history file | ||
setopt INC_APPEND_HISTORY | ||
#save only one command if 2 common are same and consistent | ||
setopt HIST_IGNORE_DUPS | ||
#add timestamp for each entry | ||
setopt EXTENDED_HISTORY | ||
|
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.