Kevin Mok 3 years ago
parent
commit
584ecabff4
Signed by: Kevin-Mok GPG Key ID: 10B001347552F396
  1. 11
      aliases/key_aliases.tmpl
  2. 6
      aliases/key_dirs.tmpl
  3. 3
      aliases/key_files.tmpl
  4. 8
      dot_config/fish/config.fish.tmpl
  5. 4
      dot_config/fish/functions/fzf-cd.fish
  6. 6
      dot_config/spotify/Users/polarbier-user/prefs.tmpl
  7. 2
      dot_kube/private_config.tmpl
  8. 7
      dot_taskrc
  9. 3
      dot_vimrc.tmpl

11
aliases/key_aliases.tmpl

@ -378,7 +378,7 @@ cht "chatterino"
clc "cloc ." clc "cloc ."
cv "cava" cv "cava"
dg "dragon-drag-and-drop -x" dg "dragon-drag-and-drop -x"
ffx "firefox"
fox "firefox"
fh "feh" fh "feh"
fi "fish" fi "fish"
gpd "gpg --decrypt" gpd "gpg --decrypt"
@ -588,6 +588,10 @@ gru "git branch --set-upstream-to=origin/main main"
# ]]] branch # # ]]] branch #
gt "git tag"
gta "git tag -as"
gtd "git tag -d"
# add/remove [[[ # # add/remove [[[ #
ga "git add -A && git status -u" ga "git add -A && git status -u"
@ -680,7 +684,7 @@ gsts "git stash show stash@\{0\} -p"
gstcl "git stash clear" gstcl "git stash clear"
gpl "git pull --rebase" gpl "git pull --rebase"
gplo "git fetch orig && git pull --rebase . orig/master"
gplo "git fetch orig && git pull --rebase . orig/main"
grb "git rebase -i" grb "git rebase -i"
grba "git rebase --abort" grba "git rebase --abort"
grbc "git rebase --continue" grbc "git rebase --continue"
@ -940,6 +944,7 @@ oc "kubectl create"
ocf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito" ocf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito"
oct "kubectx" oct "kubectx"
od "kubectl describe" od "kubectl describe"
odd "kubectl describe deployment"
odp "kubectl describe pod" odp "kubectl describe pod"
odi "kubectl describe kogitoinfra" odi "kubectl describe kogitoinfra"
odr "kubectl describe kogitoruntime" odr "kubectl describe kogitoruntime"
@ -954,6 +959,7 @@ oex "kubectl exec"
oed "kubectl edit" oed "kubectl edit"
og "kubectl get" og "kubectl get"
oga "kubectl get all" oga "kubectl get all"
ogd "kubectl get deployment"
ogp "kubectl get pods" ogp "kubectl get pods"
ogw "watch kubectl get pods" ogw "watch kubectl get pods"
ogb "kubectl get kogitobuild" ogb "kubectl get kogitobuild"
@ -1001,6 +1007,7 @@ mb4 "make -j8 before-pr"
mbc "make build-cli && scp build/_output/bin/kogito $WORK_LAPTOP_IP:/home/kmok/go/bin" mbc "make build-cli && scp build/_output/bin/kogito $WORK_LAPTOP_IP:/home/kmok/go/bin"
mc "make clean" mc "make clean"
mct "make clean test" mct "make clean test"
mi "make install"
ml "make lint" ml "make lint"
mt "make test" mt "make test"
# mvet "make vet" # mvet "make vet"

6
aliases/key_dirs.tmpl

@ -40,6 +40,7 @@ bm ~/Documents/bookmarks
ccd ~/.calcurse ccd ~/.calcurse
cn ~/coding cn ~/coding
drk ~/coding/dark-sky drk ~/coding/dark-sky
ffx ~/linux-config/dot_config/fish/functions
hbd ~/.habitctl hbd ~/.habitctl
ib ~/linux-config/dot_config/i3blocks/scripts ib ~/linux-config/dot_config/i3blocks/scripts
pr ~/coding/pull-requests pr ~/coding/pull-requests
@ -67,6 +68,7 @@ mmd ~/coding/move-mouse-with-head
ms ~/coding/mf-site ms ~/coding/mf-site
msl ~/coding/mf-site/content/letter msl ~/coding/mf-site/content/letter
# mp ~/coding/mf-site/static/pdf # mp ~/coding/mf-site/static/pdf
pk ~/Documents/journal/packing-lists
pn ~/coding/red-discord-bot pn ~/coding/red-discord-bot
sv ~/coding/spotify-lib-vis/src sv ~/coding/spotify-lib-vis/src
svg ~/coding/spotify-lib-vis/src/graphs/static/graphs/scripts svg ~/coding/spotify-lib-vis/src/graphs/static/graphs/scripts
@ -151,8 +153,11 @@ xd ~/Documents/ataraxy-venture/discord
atx ~/Documents/ataraxy-venture atx ~/Documents/ataraxy-venture
li ~/Documents/linkedin li ~/Documents/linkedin
lic ~/Documents/linkedin/msgs
rh ~/Documents/red-hat rh ~/Documents/red-hat
rhc ~/Documents/red-hat/chat rhc ~/Documents/red-hat/chat
rhe ~/Documents/red-hat/emails
rhl ~/Documents/red-hat/learned
sa ~/coding/rhcsa-notes sa ~/coding/rhcsa-notes
wcl ~/.weechat/logs wcl ~/.weechat/logs
@ -205,6 +210,7 @@ gos ~/go/src
vb ~/coding/VileBot/vilebot vb ~/coding/VileBot/vilebot
vbs ~/coding/VileBot/vilebot/src/main/java/com/oldterns/vilebot vbs ~/coding/VileBot/vilebot/src/main/java/com/oldterns/vilebot
dv ~/coding/devops-sre-knowledge
nxo ~/coding/kogito/nexus-operator nxo ~/coding/kogito/nexus-operator
# ]]] pey # # ]]] pey #

3
aliases/key_files.tmpl

@ -45,7 +45,7 @@ hh ~/.habitctl/habits
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
id ~/Documents/journal/todo/ideas.md id ~/Documents/journal/todo/ideas.md
ig ./.gitignore ig ./.gitignore
jt ~/Documents/journal/todo/21/7.md
jt ~/Documents/journal/todo/21/8.md
k ~/linux-config/dot_config/kitty/kitty.conf k ~/linux-config/dot_config/kitty/kitty.conf
lh ~/Documents/listening-history/polarbier.csv lh ~/Documents/listening-history/polarbier.csv
mc ~/coding/mf-site/assets/sass/main.scss mc ~/coding/mf-site/assets/sass/main.scss
@ -88,6 +88,7 @@ tdb ~/Documents/journal/todo/b.md
# pey [[[ # # pey [[[ #
dv ~/coding/devops-sre-knowledge/devops-sre-learned.md
j Jenkinsfile. j Jenkinsfile.
jd Jenkinsfile.deploy jd Jenkinsfile.deploy
klg ~/coding/kogito/shared-libraries/vars/githubscm.groovy klg ~/coding/kogito/shared-libraries/vars/githubscm.groovy

8
dot_config/fish/config.fish.tmpl

@ -73,8 +73,9 @@ set -xU BROWSER "firefox"
set -xU FZF_DEFAULT_COMMAND "find ." set -xU FZF_DEFAULT_COMMAND "find ."
set -x PHONE_IP "192.168.0.12"
set -x WORK_LAPTOP_IP "kmok@192.168.12.11"
set -x PHONE_IP "192.168.0.18"
set -x PIXEL_IP "192.168.0.12"
set -x WORK_LAPTOP_IP "kmok@192.168.0.11"
{{ if eq .chezmoi.hostname "nzxt" }} {{ if eq .chezmoi.hostname "nzxt" }}
set -x CALCURSE_CALDAV_PASSWORD (pass show technology/linux/baikal | head -n1) set -x CALCURSE_CALDAV_PASSWORD (pass show technology/linux/baikal | head -n1)
@ -83,7 +84,7 @@ status --is-interactive; and source (pyenv init -|psub)
{{ end }} {{ end }}
set -xU MINIKUBE_IP "http://192.168.49.2" set -xU MINIKUBE_IP "http://192.168.49.2"
set -xU LOCAL_KOGITO_SERVICE_PORT "32047"
set -xU LOCAL_KOGITO_SERVICE_PORT "32000"
set -xU LOCAL_KOGITO_SERVICE_URL "$MINIKUBE_IP:$LOCAL_KOGITO_SERVICE_PORT" set -xU LOCAL_KOGITO_SERVICE_URL "$MINIKUBE_IP:$LOCAL_KOGITO_SERVICE_PORT"
# ]]] universal var's # # ]]] universal var's #
@ -169,6 +170,7 @@ abbr ctr "systemctl-restart"
abbr def "define" abbr def "define"
abbr ens "enable-site" abbr ens "enable-site"
abbr ev "evince-silent" abbr ev "evince-silent"
abbr ff "fzf-cd"
# abbr fbg "find-bg" # abbr fbg "find-bg"
abbr fr "fzf-ranger" abbr fr "fzf-ranger"
abbr fv "fzf-vim" abbr fv "fzf-vim"

4
dot_config/fish/functions/fzf-cd.fish

@ -0,0 +1,4 @@
function fzf-cd
set dir (fd -td | fzf)
cd $dir
end

6
dot_config/spotify/Users/polarbier-user/prefs.tmpl

@ -1,7 +1,7 @@
audio.play_bitrate_non_metered_migrated=true
audio.sync_bitrate_enumeration=4
gaia.attached_device_id="6ca6cdc7bc677d43534460982c3a13959dd1939c"
audio.crossfade_v2=true audio.crossfade_v2=true
gaia.attached_device_id="fd447568264f74bbd9ff30a458c99a4b903a659c"
audio.sync_bitrate_enumeration=4
audio.play_bitrate_non_metered_migrated=true
audio.play_bitrate_enumeration=4 audio.play_bitrate_enumeration=4
ui.hide_hpto=true ui.hide_hpto=true
ui.track_notifications_enabled=false ui.track_notifications_enabled=false

2
dot_kube/private_config.tmpl

@ -50,7 +50,7 @@ contexts:
namespace: helm namespace: helm
user: minikube user: minikube
name: minikube-helm name: minikube-helm
current-context: default/c116-e-us-south-containers-cloud-ibm-com:31225/IAM#kmok@redhat.com
current-context: minikube
kind: Config kind: Config
preferences: {} preferences: {}
users: users:

7
dot_taskrc

@ -66,6 +66,8 @@ urgency.user.tag.jira.coefficient=5
# urgency.user.tag.nx.coefficient=15 # urgency.user.tag.nx.coefficient=15
urgency.user.tag.nexus.coefficient=3 urgency.user.tag.nexus.coefficient=3
report.ready.sort=urgency-
# }}} urgency # # }}} urgency #
# context {{{ # # context {{{ #
@ -80,10 +82,7 @@ context.sch=project:sch
# context=home # context=home
# context=out # context=out
# context=sch
context=pey context=pey
# context=not-pey # context=not-pey
# context=sch
# }}} context # # }}} context #
report.ready.sort=urgency-

3
dot_vimrc.tmpl

@ -605,8 +605,9 @@ autocmd Filetype fish inoremap <localleader>2 $argv[2]
autocmd Filetype javascript inoremap <localleader>x process.exit() autocmd Filetype javascript inoremap <localleader>x process.exit()
autocmd Filetype markdown inoremap <localleader>c - [ ] autocmd Filetype markdown inoremap <localleader>c - [ ]
autocmd Filetype markdown nnoremap <localleader>e 0f[lr<Space>
autocmd Filetype markdown inoremap <localleader>t TODO: autocmd Filetype markdown inoremap <localleader>t TODO:
autocmd Filetype markdown vnoremap <localleader>rx q:is/\[x/[ /g<Esc><CR>
autocmd Filetype markdown vnoremap <localleader>r q:is/\[x/[ /g<Esc><CR>:set nohlsearch<CR>
autocmd Filetype markdown nnoremap <localleader>x 0f[lrx autocmd Filetype markdown nnoremap <localleader>x 0f[lrx
" nnoremap <localleader>x 0f[lrx " nnoremap <localleader>x 0f[lrx

Loading…
Cancel
Save