Commit Graph

376 Commits

Author SHA1 Message Date
hophacker
5d6f193721 get nvm path in darwin 2020-11-11 09:41:14 +08:00
hophacker
dbf44e0456 unalias command in the right way 2020-10-27 14:50:20 +08:00
hophacker
b05386207a prompt bug fix 2020-10-25 18:22:18 +08:00
hophacker
92d17d5e20 add pp which prints process info closer to what you need, add ss which sources two active updated scripts 2020-10-25 18:10:54 +08:00
hophacker
aa950a33d9 transform getopts of kexec to be short and clear 2020-10-20 13:46:00 +08:00
hophacker
eeebaf5c63 changes 2020-10-20 13:28:46 +08:00
hophacker
c882cb2494 add OS specific aliases(list_identities) & functions(remove_helper) 2020-10-16 09:47:07 +08:00
hophacker
05b1d83dc8 add function git_tag_delete git_tag_add 2020-10-13 12:49:26 +08:00
hophacker
2c58dddabf alias for kube 2020-09-29 07:38:49 +08:00
hophacker
0e052c10bf merge old vim settings into Spacevim.d 2020-09-19 20:19:57 +08:00
hophacker
5a9f0e93fb add ~/.local/bin to path 2020-09-15 11:50:59 +08:00
hophacker
f9ac27f31c update prezto 2020-09-07 10:05:22 +08:00
hophacker
98125fc388 fix 2020-09-07 10:02:50 +08:00
hophacker
e85365a374 fix kexec 2020-08-30 12:23:46 +08:00
hophacker
224552e020 log with instance name from label 2020-08-26 10:23:55 +08:00
hophacker
c48ee19aa8 change rails_setuP 2020-08-25 10:32:52 +08:00
Zhou Yicheng
7e29b20293 Remove kube tls 2020-07-18 12:38:01 +08:00
hophackerzhcalvin
5c90c8ab0c use rvm if not in darwin 2020-07-13 09:46:46 +08:00
hophacker
accfb0c37b alias vim to nvim 2020-07-08 10:42:50 +08:00
hophacker
356618ba15 remove trello stuff from gitcopy 2020-04-22 12:50:14 +08:00
hophacker
fb0b3fbb3c change proxy port 2020-04-17 15:51:04 +08:00
hophacker
62a35ec77e add tmux bindings for windows 2020-04-07 11:33:55 +08:00
hophacker
822ebc9107 spacevim c and format, fix unset_proxy 2020-04-06 09:58:41 +08:00
hophacker
dc9be12ab5 fix conflict for kbuectl context 2020-04-06 09:58:07 +08:00
hophacker
611d712af4 add func set_k8s_context and force you to select context, then deal with k8s with that context 2020-03-05 16:25:29 +08:00
hophacker
ec6ec688e0 let kubectl support double dashes which signfies positional parameters only 2020-03-03 12:24:11 +08:00
hophacker
042855cd52 fix rubocop 2020-02-28 20:31:06 +08:00
hophacker
7bb0c3588a add set_vagrant_proxy 2020-02-28 16:26:38 +08:00
hophacker
8dac47564f use traditional way to parse kexec arguments, making it support namespace and left arguments 2020-02-27 21:56:17 +08:00
hophacker
6b23e135af enable KCONTEXT to be set from env for all created k8s commands 2020-02-27 21:36:25 +08:00
hophacker
e2baa7ef69 make klogs a workable command which logs amonst k8s applicaiton 2020-02-27 21:27:57 +08:00
hophacker
051ab834ef add direct CONTEXT to kubectl helm 2020-02-27 18:29:53 +08:00
hophacker
59bc04333a rails_setup upgraded 2020-02-26 02:07:28 +08:00
hophacker
6d6c453e8c add debug option to kubectl and helm 2020-02-21 14:33:42 +08:00
hophacker
af089473bd convert h to original helm 2020-02-21 14:33:42 +08:00
hophacker
7591273caa add HLEM_HOME 2020-02-16 15:37:34 +08:00
hophacker
fe5b2518e6 remove golang paths 2020-02-16 15:36:18 +08:00
hophacker
c12b5b650f convert docker rails commands to raw rails commands 2020-02-13 19:47:38 +00:00
hophacker
39c45033de append .rvm/bin to PATH 2020-02-13 19:47:38 +00:00
hophacker
439ef71d68 add environments.zsh 2020-02-13 14:59:13 +08:00
hophacker
79d67c1baf git-info导致大项目处理prompt时会花巨长时间,故增加两个disable/enable_git_info一键切换是否显示git-info 2020-02-09 22:19:15 +08:00
hophacker
9934cf44b2 clear old usages of color 2020-02-01 08:18:16 +08:00
hophacker
70671c8505 fix 各种情况of kexec, 加入红绿状态显示,整体使用更加智能 2020-02-01 08:17:13 +08:00
hophacker
56092f0416 largely reduce complexity of kexec and makt it more reliable 2020-01-31 17:07:54 +08:00
hophacker
670358ff55 ds_test 2020-01-31 14:44:49 +08:00
hophacker
385a8afc9a klogs -> k_logs and let k_logs do log tail for multiple pods of a deployment 2020-01-30 22:13:16 +08:00
hophacker
4c0d689645 found a way to wrap extra arguments around an existing command, and apply it to kubectl and stern 2020-01-30 22:08:18 +08:00
hophacker
9473088c32 combine rubocop fix into ds_rspec 2020-01-30 01:37:22 +08:00
hophacker
bd24d34356 ds_setup, ds_rspec, dsidekiq_rspec 2020-01-29 17:18:33 +08:00
hophacker
15e23a231b add sass yarn 2020-01-04 13:08:34 +08:00
hophacker
dc19cf45bf add kg hg 2019-12-26 22:50:47 +08:00
hophacker
4df8e567eb set user.name and user.email while committing message 2019-12-18 14:00:20 +08:00
hophacker
a24fbae64d show 🔗 if in pzsh mode 2019-09-20 17:51:19 +08:00
hophacker
789e653cde add dsrubocop 2019-09-16 21:00:07 +08:00
hophacker
737ecf8c64 change go path 2019-08-31 12:26:40 +08:00
hophacker
8275ccd8a5 update zsh/prezto 2019-08-31 12:26:24 +08:00
hophacker
db2ad1bfe1 bug fix 2019-08-15 14:31:18 +08:00
hophacker
ffb477b810 make trello_action.rb to push commits info into 纳斯达克 with git user and commits presented 2019-08-15 12:50:23 +08:00
hophacker
8ed11a05f1 init parameterize init_db and add pzsh 2019-08-14 12:04:56 +08:00
wsq
5e7f99c2ed fix gc and gcm 2019-08-12 17:13:08 +08:00
hophacker
2420c13326 local.zsh link Projects/paiyou-hub/.myzshrc 2019-08-12 17:12:57 +08:00
hophacker
4b3308bd45 remove -T for gitcopy 2019-08-12 17:00:32 +08:00
wsq
b750c37e3b gcn demo 2019-08-11 14:11:53 +08:00
wsq
543e3e2f22 fix kexec 2019-08-06 11:11:31 +08:00
hophacker
cbf784de8a get_ip_of_ssh_hostname 2019-08-03 23:41:22 +08:00
hophacker
290a2f1208 run commands k and g against different clusters 2019-08-02 15:03:37 +08:00
hophacker
1ebe560afb make k and h simpler 2019-08-01 22:09:34 +08:00
hophacker
d3647ac14c make command h to use paiyou-hub certs files 2019-08-01 17:25:44 +08:00
hophacker
26aa5a1ab6 del zsh_with_proxychains, add config path for kubectl 2019-08-01 17:15:41 +08:00
hophacker
b06927ab02 change zsh_with_git_proxy to zsh_with_proxychains 2019-07-30 13:48:10 +08:00
hophacker
63a6b013c0 add zsh_with_git_proxy 2019-07-30 11:25:18 +08:00
hophacker
62028b5759 rename create_trello_todo_card.rb to trello_action.rb 2019-07-29 10:14:19 +08:00
hophacker
d09a531b3f disable default read from paiyou-hub 2019-07-26 11:10:44 +08:00
hophacker
1266f365d6 add init_server_db 2019-07-25 18:26:05 +08:00
hophacker
3e8b940b2f docker_puge 2019-07-25 16:02:12 +08:00
hophacker
59b67dba60 add rubocop shortcut 2019-07-24 15:56:27 +08:00
hophacker
5d0c82a79d add gitr which recursively executes git commands 2019-07-24 13:28:13 +08:00
hophacker
0a1b93900e add colors 2019-07-24 13:28:05 +08:00
wsq
cf109c23b1 Merge branch 'master' of github.com:rallets-network/dotfiles
* 'master' of github.com:rallets-network/dotfiles:
  use ./docker-compose.yml if it exists for dc
2019-07-24 13:04:35 +08:00
wsq
6cf86809c7 add functions cmd_exists qshell_setup qshell_upload 2019-07-24 13:03:58 +08:00
hophacker
1ce3567307 use ./docker-compose.yml if it exists for dc 2019-07-24 10:50:26 +08:00
wsq
96c161f12d qiniu_uploader cmd 2019-07-23 16:40:37 +08:00
hophacker
a718c1dac9 adjust style of commits, and add card to list named inside git 2019-07-22 14:37:41 +08:00
hophacker
cc3854825b rename 2019-07-19 14:00:57 +08:00
hophacker
bae92026bb stellar-hub to paiyou-hub 2019-07-16 11:45:26 +08:00
hophacker
d59cc35157 put 12 spaces before commit stat info 2019-07-15 19:42:00 +08:00
hophacker
2a32e0e068 let stat info present as markdown block 2019-07-14 20:44:09 +08:00
hophacker
01f8f515e2 show changes of files in gitcopy, avoid error info shown 2019-07-14 20:31:59 +08:00
hophacker
f6402e096a name 2019-07-14 11:08:54 +08:00
hophacker
29704e1bc9 add mark for each commit in trello title 2019-07-04 12:43:13 +08:00
hophacker
8362c60937 add -T option to gitcopy which copies commits as trello title 2019-07-03 03:52:25 +08:00
hophacker
fe1a13a783 make gitcopy -t work in ubuntu by determining whether pbcopy exists 2019-06-19 13:55:56 +08:00
xg
86ec34cfd5 add create trello card to gitcopy 2019-06-18 19:35:57 +08:00
hophacker
f3fb93d96c remove useless ruby related vim modules 2019-06-16 12:16:30 +08:00
hophacker
1946ddc7d8 add -r -p option for kexec 2019-06-14 12:33:09 +08:00
hophacker
26a51bc1d9 fix kexec 2019-06-11 19:20:08 +08:00
hophacker
5b6c934496 when kexec multi option,let it can choose 2019-06-11 16:53:07 +08:00
hophacker
2722ecd9f0 when match multiple element,kexec will waiting 2019-06-07 18:52:55 +08:00
hophacker
07390f657f make dc to use rallets-hub/docker-compose-dev.yml if current folder does not contain one 2019-06-02 22:36:35 +08:00
wsq
14ef7a4fa8 add cmd rgm which helps search multiple line regex text with rg, syngax: rgm a,b,c,d 2019-05-08 17:06:00 +08:00