-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_aliases
872 lines (781 loc) · 32.5 KB
/
_aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
# git aliases
alias g="git"
alias a="git a"
# bisect commits - http://webchick.net/git-bisect
# git checkout (bad commit)
# git br <new_branch>
# git bisect start
# git bisect good fd0a623
# git bisect bad 256d850
# git bisect reset
# g bisc
# g bisect good <some_has>
alias bi="git bi"
alias big="git bi good"
alias bib="git bi bad"
alias bibc="git bi bad `git current`"
alias bisc="git bisc"
alias bis="git bi start"
alias bir="git bi reset"
alias bia="git bi abort"
alias br="git br"
alias rbr="git rbr"
alias d="git d"
alias ds="git ds"
alias d1="git d1"
alias dlbr="git dlbr"
alias drbr="git drbr"
alias di="rm -f .git/index.lock"
alias llbr="git llbr"
alias llbra="git llbra"
alias lmrbr="git lmrbr"
alias lrbr="git lrbr"
alias lro="git lro"
alias rro="git rro"
alias dro="git rro"
alias sro="git sro"
alias lrbrby="git lrbrby"
alias plbr="git plbr"
alias c="git c"
alias cnv="git commit $1 --no-verify"
alias cc="g cc"
alias ca="git ca"
alias cae="git cae"
alias cl="git cl"
alias clsm="git clsm"
alias co="git co"
alias cod="git cod"
alias codpr="git cod && pr"
alias com="git com"
alias coma="git coma"
alias compr="git com && pr"
alias comapr="git coma && pr"
alias cop="git cop"
alias coppr="git cop && pr"
alias copr="git cop && pr"
alias cpa="git cpa"
alias cpc="git cpc"
alias cpn="git cpn"
alias cpm2p="git cpm2p"
alias gv="git --version"
alias ig="git ignore"
alias rmig="git rmignore"
alias lig="git lig"
alias l="git l"
alias lh="git lh"
alias lo="git lo"
alias lol="git lol"
alias mnff="git mnff"
alias np="git notpushed"
alias o="git open"
alias pr="git pr"
alias prk="for i in kendo*/.git; do ( echo "$i"; echo "============="; cd $i/..; git stash; git checkout master; git pull --rebase; ); done"
alias rc="git rc"
alias rrc="git rrc"
alias rea="git rea"
alias rec="git rec"
alias rl="git rl"
alias ra="git ra"
alias req="git req"
alias ri="git ri"
alias rim="git rim"
alias rid="git rid"
alias rt="git rt"
alias dt="git dt"
alias frid="git f && g rid"
alias frim="git f && g rim"
alias frip="git f && g rip"
alias ric="git ric"
alias rra="rm -rf .git/rebase-apply"
alias s="git s"
alias sr="git remote set-url origin"
alias dst="git dst"
alias smu="git smu"
alias smpr="git smpr"
alias st="git st"
alias stl="git stl -10"
alias stll="git stl"
alias ust="git ust"
alias u="git u"
# tags
alias tc="git commit-of-tag"
alias lt="git list-tags"
alias lgt="git list-tags"
alias lta="git tag -l"
# use https://github.com/hotoo/gitopen
# use 'gitopen "#<issue_id>"' as the hash should be escaped in Windows git bash
alias gio="gitopen -b `g current` commits"
alias go="gitopen -b `g current`"
alias goc="go commits"
alias gomc="gitopen -b master commits"
alias gopc="gitopen -b production commits"
alias goi="gitopen issues"
alias gok="gitopen @telerik/kendo"
alias gokco="gitopen @telerik/kendo-ui-core"
alias gokc="gitopen @telerik/kendo-charts"
alias god="gitopen -b develop"
alias gom="gitopen -b master"
alias gop="gitopen -b production"
alias goprs="gitopen prs"
alias gopr="chrome `g gopr`"
alias goprp="chrome `g goprp`"
alias lga="git alias"
# show commits as graph and navigate to one by hovering its hash and pressing K (default for man page of word under cursor)
alias gl="git log --graph --pretty=format:'%h - %d %s (%cr) <%an>' | vim -R -c 'set filetype=git nowrap' -"
# git fun
alias gitcoin="TZ=UTC git log --pretty=format:'%H%x09%ad%x09%an' --date=iso-local | sed -E 's/^(0*[1-9a-f])(.*)/\1\t\1\2/' | sort -k1,1 -k3,3 | head -n10 | cut -f 2,3,4"
# time chart with commits for a user
# git log --author="Stamo-Gochev" --date=iso | perl -nalE 'if (/^Date:\s+[\d-]{10}\s(\d{2})/) { say $1+0 }' | sort | uniq -c|perl -MList::Util=max -nalE '$h{$F[1]} = $F[0]; }{ $m = max values %h; foreach (0..23) { $h{$_} = 0 if not exists $h{$_} } foreach (sort {$a <=> $b } keys %h) { say sprintf "%02d - %4d %s", $_, $h{$_}, "*"x ($h{$_} / $m * 50); }'
# dev
alias ac="ack-grep"
alias hs="http-server"
alias rls="live-server"
alias lis="live-server"
alias i="sudo apt-get install"
alias v="vim"
alias vv="vim ~/.vimrc"
alias vb="vim ~/.bashrc"
alias vz="vim ~/.zshrc"
alias va="vim ~/.aliases"
alias w="explorer .; gnome-open ."
alias ldu="du -sh * | sort -hr"
alias lds="df -h"
alias mkdir="mkdir -p"
alias lr="bundle exec guard"
alias gbd="nr build:debug"
alias gbp="nr build:production"
alias rhs="chrome.exe http://localhost:8080"
# dev - jest
# https://stackoverflow.com/questions/33247602/how-do-you-debug-jest-tests
# 1. go to chrome://inspect
# 2. add the test folder as a workspace in Chrome DevTools
# 3. add a debugger; to a file
# for linux
# alias jtn="node --inspect-brk node_modules/.bin/jest --runInBand"
# alias jtndb="ndb node --inspect-brk node_modules/.bin/jest --runInBand"
# for windows
alias jtn="node --inspect-brk node_modules/jest/bin/jest.js --runInBand --config jest.config.js"
alias jtn2="node --inspect-brk node_modules/jest/bin/jest.js --runInBand"
alias jtnw="node --inspect-brk node_modules/jest/bin/jest.js --runInBand --config jest.config.js --watch --no-cache"
alias jtndbw="ndb node --inspect-brk node_modules/jest/bin/jest.js --runInBand --config jest.config.js --watch --no-cache"
alias jd="ndb node --inspect-brk node_modules/jest/bin/jest.js --runInBand --config jest.config.js --watch"
# dev - typescript
alias tt="tsc -p tsconfig.es.json"
alias tsb="tsc -p tsconfig.es.json"
# dev - charts
alias nich="npm install webpack-stream sockjs-client"
# babun (shell for Windows)
alias bpi="pact install"
alias bpr="pact remove"
# tmux
alias tm="tmux new"
# tmux new -s <session_name> - creates a new session
alias t="tmux new -s"
# attaches to the first available session
alias tal="tmux a"
# tmux a -t <session_name> - attaches to a session
alias ta="tmux a -t"
alias td="tmux detach"
# tmux kill-session -t <session_name> - destroys a session
alias tk="tmux kill-session -t"
# list sessions
alias tl="tmux ls"
# kendo tests
alias cta='gulp karma-mocha'
alias ctah='gulp karma-mocha --browser="ChromeHeadless"'
alias ctb='gulp karma-mocha --tests="tests/button/**"'
alias ctbc='gulp karma-mocha --tests="tests/barcode/**"'
alias ctbch='gulp karma-mocha --tests="tests/barcode/**" --browser="ChromeHeadless"'
alias ctqc='gulp karma-mocha --tests="tests/qrcode/**"'
alias ctqch='gulp karma-mocha --tests="tests/qrcode/**" --browser="ChromeHeadless"'
alias ctcm='gulp karma-mocha --tests="tests/columnmenu/**"'
alias ctch='gulp karma-mocha --tests="tests/chart/**"'
alias ctchh='gulp karma-mocha --tests="tests/chart/**" --browser="ChromeHeadless"'
alias cte='gulp karma-mocha --tests="tests/editor/**"'
alias ctd='gulp karma-mocha --tests="tests/diagram/**"'
alias ctdp='gulp karma-mocha --tests="tests/datepicker/**"'
alias ctdtp='gulp karma-mocha --tests="tests/datetimepicker/**"'
alias ctds='gulp karma-mocha --tests="tests/data/**"'
alias ctdsm='gulp karma-mocha --tests="tests/model/**"'
alias ctg='gulp karma-mocha --tests="tests/grid/**"'
alias ctgh='gulp karma-mocha --tests="tests/grid/**" --browser="ChromeHeadless"'
alias ctgff='gulp karma-mocha --tests="tests/grid/**" --browser="Firefox"'
alias ctgj3='gulp karma-mocha --tests="tests/grid/**" --jquery="3.3.1"'
alias ctve='gulp karma-mocha --tests="tests/grid/virtual*"'
alias ctlb='gulp karma-mocha --tests="tests/listbox/*.js"'
alias ctlv='gulp karma-mocha --tests="tests/listview/*.js"'
alias ctmtb='gulp karma-mocha --tests="tests/maskedtextbox/*.js"'
alias ctmp='gulp karma-mocha --tests="tests/mediaplayer/**"'
alias ctpa='gulp karma-mocha --tests="tests/pager/*.js"'
alias ctpg='gulp karma-mocha --tests="tests/pivotgrid/*.js"'
alias cttl='gulp karma-mocha --tests="tests/treelist/*.js"'
alias cttlh='gulp karma-mocha --tests="tests/treelist/*.js" --browser="ChromeHeadless"'
alias cttlj3='gulp karma-mocha --tests="tests/treelist/**" --jquery="3.3.1"'
alias cttm='gulp karma-mocha --tests="tests/treemap/*.js"'
alias ctw='gulp karma-mocha --tests="tests/window/**"'
alias ctaw='gulp karma-mocha --tests="tests/action-widgets/**"'
alias ctsv='gulp karma-mocha --tests="tests/view/**"'
# deprecated - kendo tests
alias dcta="gulp karma-unit"
alias dctb='gulp karma-unit --tests="tests/button/**"'
alias dctcm='gulp karma-unit --tests="tests/columnmenu/**"'
alias dcte='gulp karma-unit --tests="tests/editor/**"'
alias dctd='gulp karma-unit --tests="tests/diagram/**"'
alias dctdp='gulp karma-unit --tests="tests/datepicker/**"'
alias dctdtp='gulp karma-unit --tests="tests/datetimepicker/**"'
alias dctds='gulp karma-unit --tests="tests/data/**"'
alias dctdsm='gulp karma-unit --tests="tests/model/**"'
alias dctg='gulp karma-unit --tests="tests/grid/**"'
alias dctgff='gulp karma-unit --tests="tests/grid/**" --browser="Firefox"'
alias dctgj3='gulp karma-unit --tests="tests/grid/**" --jquery="3.3.1"'
alias dctlb='gulp karma-unit --tests="tests/listbox/*.js"'
alias dctlv='gulp karma-unit --tests="tests/listview/*.js"'
alias dctmtb='gulp karma-unit --tests="tests/maskedtextbox/*.js"'
alias dctmp='gulp karma-unit --tests="tests/mediaplayer/**"'
alias dctpa='gulp karma-unit --tests="tests/pager/*.js"'
alias dctpg='gulp karma-unit --tests="tests/pivotgrid/*.js"'
alias dcttl='gulp karma-unit --tests="tests/treelist/*.js"'
alias dcttlj3='gulp karma-unit --tests="tests/treelist/**" --jquery="3.3.1"'
alias dcttm='gulp karma-unit --tests="tests/treemap/*.js"'
alias dctw='gulp karma-unit --tests="tests/window/**"'
# run karma with multiple files
# this is necessary as the karma parameters in bash console are not expanded correctly
# the git alias is a workaround, might not be necessary without Windows
alias ctm='gulp karma-mocha --tests={`git tests`}'
alias ctmh='gulp karma-mocha --tests={`git tests`} --browser="ChromeHeadless"'
alias dctm='gulp karma-unit --tests={`git tests`}'
alias e2em='gulp watch-e2e --tests={`git changed-tests`}'
alias e2emh='gulp watch-e2e --tests={`git changed-tests` --browser="ChromeHeadless"}'
# alias e2emh='gulp e2e --tests={`git changed-tests` --browser="Chrome_headless"}'
# run karma with a single file
alias cts='gulp karma-mocha --tests="`git tests`"'
alias ctsh='gulp karma-mocha --tests="`git tests`" --browser="ChromeHeadless"'
alias dcts='gulp karma-unit --tests="`git tests`"'
# gulp karma-unit --tests="{tests/editor/resizing/table-resize-handle.js,tests/editor/resizing/table-resizing.js}"
# gulp karma-unit --tests="tests/editor/resizing/table-resize-handle.js" --tests="tests/editor/resizing/table-resizing.js"
alias gusm='gulp scripts --skip-min="true"'
# debug tests
alias ctc="chrome.exe http://localhost:9876/debug.html"
alias ctf="firefox.exe http://localhost:9876/debug.html"
alias ctie="iexplore.exe http://localhost:9876/debug.html"
# kendo-charts tests
alias e2ebc='gu watch-e2e --tests="e2e/barcode/**/*.js"'
alias e2ewwc='gu watch-e2e --tests="e2e/chart/**/*.js"'
alias e2eqc='gu watch-e2e --tests="e2e/qrcode/**/*.js"'
# kendo rake tasks
alias rta="rake --tasks"
alias rmb="rake mvc:binaries"
alias rmb2="rake mvc:binaries MSBUILD='C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\msbuild.exe'"
alias rma="rake mvc:assets"
alias rmca="rake mvc_6:assets"
alias rmcas="rake mvc_6:assets_shared"
alias rdd="rake demos:debug"
alias rgb='rake generate:blazor:components'
alias rgbc='rake generate:blazor:components'
alias rgmcw='rake generate:mvc_6:wrappers'
alias rgmc='rake generate:mvc_6:wrappers && rake generate:mvc_6:taghelpers'
alias rgmw='rake generate:mvc:wrappers'
alias rgmow='rake generate:mvc:mobile:wrappers'
alias rgmth='rake generate:mvc_6:taghelpers'
alias rgth='rake generate:mvc_6:taghelpers'
alias rgmcth='rake generate:mvc_6:taghelpers'
alias rgjw='rake generate:jsp'
alias rgpw='rake generate:php'
alias rgts='rake type_script:generate'
alias rgtst='rake type_script:test'
alias rgtsm='rake type_script:master:test'
alias rga="rake generate:all"
alias rgw='rake generate:all'
alias rmb='rake mvc:binaries --trace'
alias rja="rake java:assets"
alias rpa="rake php:assets"
alias rgrw="rake react:master:test"
alias rgrwp="rake react:production:test"
alias rgvw="rake vue:master:test"
alias rgvwp="rake vue:production:test"
alias rgaw="rake generate:aspx:wrappers"
alias rjsd="rake js_dependencies"
# gulp tasks
alias gumt="gulp migrate-tests-mocha"
# jshint
alias jsha="gulp jshint"
alias jsh='gulp jshint --files="{,`git jshint`}"'
alias jshw='gulp watch-jshint --files="{,`git jshint`}"'
# styles
alias ste="gulp watch-styles -s 'styles/web/kendo.{common,default}.less'"
# node
alias nov="node --version"
alias noc="explorer C:\Users\gochev\AppData\Roaming\npm\node_modules"
alias non="node --allow-natives-syntax"
# npm
alias n="npm"
# escaping is necessary on Windows
alias wnpm="explorer \$(npm root -g)"
alias naf="npm audit fix"
alias naff="npm audit fix --force"
alias npmv="npm --version"
alias nup="npm update && npm prune"
alias nv="npm view"
alias nl="npm link"
alias nls0="npm list --depth=0"
alias nls="npm list"
alias nla="npm ls --all"
alias nvk="npm view @progress/kendo-ui"
alias ni="npm install --ignore-scripts"
alias nif="npm install --ignore-scripts --force"
alias nilp="npm install --ignore-scripts --legacy-peer-deps"
alias nil="install-local --save"
alias nit="npm init"
alias nif="npm install --force --ignore-scripts"
alias nig="npm install -g --ignore-scripts"
alias nis="npm install --save --ignore-scripts"
# alias nisd="npm install --save-dev --ignore-scripts"
alias nisd="npm install --save-dev"
alias nid="npm install --only=dev"
alias nip="npm-install-peers"
alias nu="npm uninstall"
alias nug="npm uninstall -g"
alias nout="npm outdated"
alias nr="npm run"
alias nrb="npm run build"
alias nrd="npm run dev"
alias nrl="npm run lint"
alias nrs="npm run serve"
alias nrt="npm run test"
alias nrtw="npm run watch-test"
alias nrw="npm run watch"
alias ns="npm start"
alias nt="npm test"
alias nsaot="ng server --aot-true"
alias nu="npm uninstall"
alias nup="npm update"
alias ncc="npm cache clean --force"
alias rac="npm run api-check"
alias rn="rm -rf node_modules"
alias rna="find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +"
alias rnp="rm -rf node_modules/$1"
alias nrsr="npm run semantic-release:dry-run"
alias np="npm pack"
# node-sass
alias rns="npm rebuild node-sass --force"
# pnpm
alias pni="pnpm install --ignore-scripts"
alias pnig="pnpm install -g --ignore-scripts"
alias pnis="pnpm install --save --ignore-scripts"
alias pnisd="pnpm install --save-dev --ignore-scripts"
# npm packages
# patch-package
alias npp="npx patch-package"
alias napp="patch-package"
alias nppr="patch-package --reverse"
# nvm
alias nvl="nvm list"
alias nvu="nvm use"
alias nvminpm="nvm install --latest-npm"
# yarn
alias ya="yarn add"
alias yad="yarn add --dev"
alias yag="yarn add -g"
alias yi="yarn install"
alias ys="yarn start"
alias yb="yarn build"
alias yr="yarn run"
alias yt="yarn test"
alias yav="yarn -v"
alias yv="yarn -v"
alias uya="npm upgrade --global yarn"
# packages
alias bp="npm run build-package; npm pack"
alias saa="bp; cp *.tgz /c/work/github/angular-aot/; cd /c/work/github/angular-aot/; npm install *.tgz; cd -"
alias sau="bp; cp *.tgz /c/work/github/angular-universal-rendering/; cd /c/work/github/angular-universal-rendering/; npm install *.tgz; cd -"
# kendo angular run aliases
alias ae="chrome.exe http://gochev:8888/examples/"
alias al="gulp lint"
alias ak2="chrome.exe http://gochev:4000"
alias at="gulp watch-test"
# alias aa="chrome.exe http://localhost:4200"
alias au="chrome.exe http://localhost:3000"
alias ak2s="bundle exec jekyll serve --incremental"
alias ak2sf="SKIP_CONTENT_UPDATE=true bundle exec jekyll serve --incremental"
alias ak2b="./copy-local-repo.sh kendo-angular-buttons /c/work/github/kendo-angular-buttons"
alias ke="chrome.exe http://gochevlap/kendo/playground/editor/"
alias rae="chrome.exe http://localhost:3000/examples"
alias rce="chrome.exe http://localhost:3000/examples"
alias rkce="chrome.exe http://localhost:3000/examples"
# projects
alias pg="cd /d/work/github/playground"
alias ide="cd /d/work/github/dotfiles"
alias pa="cd /d/work/github/aspnet-core"
alias pac="cd /d/work/github/aspnet-core/AspNetCore"
alias pacd="cd /d/work/github/aspnet-core/AspNetCore.Docs"
alias pacj="cd /d/work/github/aspnet-core/extensions"
alias pab="cd /d/work/github/aspnet-core/blazor"
alias pacf="cd /d/work/github/aspnet-core/corefx"
alias pgt="cd /d/work/github/test-things"
# open projects
alias cal="cide && ck && ckbj && cac && cpg && ckr && ckag"
alias cal="cide && ckbj && ck && ckr"
alias cide="code /d/work/github/dotfiles"
alias cpg="code /d/work/github/playground"
alias cac="code /d/work/github/aspnet-core/AspNetCore"
alias cacj="code /d/work/github/aspnet-core/extensions"
alias cace="code /d/work/github/aspnet-core/extensions"
alias cacf="code /d/work/github/aspnet-core/corefx"
# open projects - kendo
alias ck="code /d/work/github/kendo"
alias ckcl="code /D/work/github-clone/kendo"
alias ck2="code /d/work/github-clone/kendo"
alias ckco="code /d/work/github/kendo-ui-core"
alias ckendo="code /d/work/github/kendo"
alias ckcdn="code /d/work/github/kendo-cdn"
alias ckw="code /d/work/github/kendo-workflows"
# open projects - kendo blazor
alias ckb="code /d/work/github/blazor"
alias ckbj="code /d/work/github/blazor/js/telerik-blazor"
alias ckb2="code /d/kendo-blazor"
alias ckb2="code /d/kendo-blazor"
alias ckbd="code /d/work/github/blazor/demos/server-side/TelerikBlazorDemos/wwwroot/demoList.json"
# open projects - kendo angular
alias ckc="code /d/work/github/kendo-charts"
alias ckintl="code /d/work/github/kendo-intl"
alias ckaco="code /d/work/github/kendo-angular-common"
alias ckad="code /d/work/github/kendo-draggable"
alias ckac="code /d/work/github/kendo-angular-charts"
alias ckaga="code /d/work/github/kendo-angular-gauges"
alias ckadi="code /d/work/github/kendo-angular-dateinputs"
alias ckag="code /d/work/github/kendo-angular-grid"
alias ckai="code /d/work/github/kendo-angular-intl"
alias ckd="code /d/work/github/kendo-drawing"
alias ckau="code /d/work/github/kendo-angular-upload"
# open projects - kendo react
alias ckr="code /d/work/github/kendo-react-private"
alias ckrp="code /d/work/github/kendo-react-private"
alias ckbt="code /d/work/github/kendo-build-tasks"
alias ckrt="code /d/work/github/kendo-react-tasks"
alias ckt="code /d/work/github/kendo-themes"
# open projects - kendo common
alias ckpt="code /d/work/github/kendo-package-tasks"
alias ckbt="code /d/work/github/kendo-build-tasks"
alias ckdq="code /d/work/github/kendo-data-query"
alias ckco="code /d/work/github/kendo-common"
alias ckdic="code /d/work/github/kendo-dateinputs-common"
alias ckic="code /d/work/github/kendo-inputs-common"
alias ckdm="code /d/work/github/kendo-date-math"
alias cksc="code /d/work/github/kendo-spreadsheet-common"
alias ckec="code /d/work/github/kendo-editor-common"
alias ckpvc="code /d/work/github/kendo-pdfviewer-common"
alias ckpoc="code /d/work/github/kendo-popup-common"
alias cksr="code /d/work/github/semantic-prerelease"
# projects - kendo common
alias pk="cd /d/work/github/kendo"
alias pk2="cd /d/work/github-clone/kendo"
alias pkco="cd /d/work/github/kendo-ui-core"
alias pkdo="cd /d/work/github/kendo-ui-dojo"
alias pkt="cd /d/work/github/kendo-themes"
alias pks="cd /d/work/github/kendo-ui-demos-service"
alias cks="code /d/work/github/kendo-ui-demos-service"
alias rks="chrome.exe http://gochevlap/kendo-service/products"
alias rje="chrome.exe http://localhost:8080/spring-demos/"
alias rmce="chrome.exe http://localhost:5000"
alias rpe="chrome.exe http://localhost:8987"
alias pkc="cd /d/work/github/kendo-charts"
alias pkcc="cd /d/work/github-clone/kendo-charts"
alias pkdr="cd /d/work/github/kendo-drawing"
alias pkd="cd /d/work/github/kendo-drawing"
alias pkpt="cd /d/work/github/kendo-package-tasks"
alias pkbta="cd /d/work/github/kendo-build-tasks"
alias pkcdn="cd /d/work/github/kendo-cdn"
alias pkdq="cd /d/work/github/kendo-data-query"
alias pkco="cd /d/work/github/kendo-common"
alias pkw="cd /d/work/github/kendo-workflows"
alias pksc="cd /d/work/github/kendo-spreadsheet-common"
alias pkdic="cd /d/work/github/kendo-dateinputs-common"
alias pkic="cd /d/work/github/kendo-inputs-common"
alias pkdm="cd /d/work/github/kendo-date-math"
alias pkec="cd /d/work/github/kendo-editor-common"
alias pkpvc="cd /d/work/github/kendo-pdfviewer-common"
alias pkpoc="cd /d/work/github/kendo-popup-common"
alias pksr="cd /d/work/github/semantic-prerelease"
# projects - kendo blazor
alias pkb="cd /d/work/github/blazor"
alias pkbr="cd /d/work/github/blazor-repl"
alias pkbt="cd /d/work/github/blazor-tests"
alias pkbb="cd /d/Work/github-clone/blazor"
alias pkbbj="cd /d/Work/kendo-blazor/js/telerik-blazor"
alias pkbjs="cd /d/work/github/blazor/js/telerik-blazor"
alias pkbj="cd /d/work/github/blazor/js/telerik-blazor"
alias pkbbj="cd /d/work/kendo-blazor/js/telerik-blazor"
alias pkb2="cd /d/work/kendo-blazor"
alias pkbui="cd /d/work/github/blazor-ui"
alias pkbd="cd /d/work/github/blazor-docs"
alias pkds="cd /d/work/github/telerik-datasource"
alias pkre="cd /d/work/github/telerik-recurrence"
alias pkrc="cd /d/work/github/telerik-recurrence"
alias pkumce="cd ui-for-aspnet-core-examples"
alias pkume="cd ui-for-aspnet-mvc-examples"
alias pkpg="cd /d/work/github/pivot"
alias pkpc="cd /d/work/github/pivot-core"
alias pkpdpx="cd /d/work/github/pivot-data-providers-xmla"
# projects - kendo angular
alias pkacb="cd /c/work/github/kendo-angular-component-base"
alias pka="cd /d/work/github/kendo-angular-private"
alias pkap="cd /d/work/github/kendo-angular-private"
alias rnp="rm -rf node_modules/@progress"
alias cka="code /d/work/github/kendo-angular-private"
alias ckap="code /d/work/github/kendo-angular-private"
# projects - kendo react
alias prp="cd /d/work/github/kendo-react-private"
alias pkr="cd /d/work/github/kendo-react-private"
alias pkrp="cd /d/work/github/kendo-react-private"
alias prg="cd /d/work/github/kendo-react-private/packages/grid"
alias pkrg="cd /d/work/github/kendo-react-private/packages/grid"
alias rre="chrome.exe http://localhost:8888"
# projects - kendo react wrappers
alias prw="cd /d/work/github/kendo-react-wrappers"
alias crw="cd /d/work/github/kendo-react-private && code ."
alias ctrwg="gulp test --package kendo-grid-react-wrapper"
alias ctrwc="gulp test --package kendo-charts-react-wrapper"
# projects - kendo vue wrappers
alias pkvw="cd /d/work/github/kendo-vue-wrappers"
alias pvw="cd /d/work/github/kendo-vue-wrappers"
alias ckvw="code /d/work/github/kendo-vue-wrappers"
alias cvw="cd /d/work/github/kendo-vue-wrappers && code ."
alias cpkvw="cd /d/work/github/kendo-vue-wrappers && code ."
alias rve="chrome.exe http://localhost:8764"
# projects - kendo themes
alias ptb="cd /d/work/github/themebuilder"
# projects - telerik wpf
alias pwpf="cd /d/work/github/WPF_Scrum_Git"
alias ppg="cd /D/work/github/WPF_Scrum_Git/Pivot/Core"
# dotnet
alias dot="dotnet"
alias dotnc="dotnet nuget locals all --clear"
alias dotap="dotnet add package"
alias doti="dotnet --info"
alias dotim="dotnet new --install Microsoft.Maui.Templates::6.0.100-rc. 2.1662"
alias dotibw="dotnet new --install Microsoft.Maui.Templates::6.0.100-rc. 2.1662"
alias dotb="dotnet build"
alias dotp="dotnet publish"
alias dotpa="dotnet pack"
alias dotre="dotnet restore"
alias dotr="dotnet run"
alias dotn="dotnet new"
alias dotlp="dotnet new -u"
alias dott="dotnet test"
alias dtt="dotnet test wrappers/mvc-6/tests/Kendo.Mvc.Tests"
alias dotkt="dotnet test wrappers/mvc-6/tests/Kendo.Mvc.Tests"
alias rmct="dotnet test wrappers/mvc-6/tests/Kendo.Mvc.Tests"
alias rmt="build/xunit/xunit.console.clr4.exe wrappers/mvc/tests/Kendo.Mvc.Tests/bin/Debug/Kendo.Mvc.Tests.dll"
alias dotv="dotnet --version"
alias dotlr="dotnet --list-runtimes"
alias dotrunt="dotnet --list-runtimes"
alias dotls="dotnet --list-sdks"
alias dotsdk="dotnet --list-sdks"
alias rnad="find . -iname 'bin' -o -iname 'obj' | xargs rm -rf"
alias dotlv="dotnet list package --vulnerable --include-transitive"
# dotnet projects - kendo
alias dotrew="dotnet restore wrappers/mvc-6/src/Kendo.Mvc/Kendo.Mvc.csproj"
alias dotbw="dotnet build wrappers/mvc-6/src/Kendo.Mvc/Kendo.Mvc.csproj"
alias dotrwe="dotnet run --project /c/work/github/kendo/wrappers/mvc-6/demos/Kendo.Mvc.Examples/Kendo.Mvc.Examples.csproj"
alias dotree="dotnet build /C/work/github/kendo/wrappers/mvc-6/demos/Kendo.Mvc.Examples.csproj"
alias dotbe="dotnet build /C/work/github/kendo/wrappers/mvc-6/demos/Kendo.Mvc.Examples/Kendo.Mvc.Examples.csproj"
alias dotpe="dotnet publish wrappers/mvc-6/demos/Kendo.Mvc.Examples/Kendo.Mvc.Examples.csproj --framework netcoreapp2.2 --configuration Release"
alias dotrpe="dotnet wrappers/mvc-6/demos/Kendo.Mvc.Examples/bin/Release/netcoreapp2.2/publish/Kendo.Mvc.Examples.dll"
alias rwe="chrome.exe http://localhost:5000"
alias dotret="dotnet restore /C/work/github/kendo/wrappers/mvc-6/tests/Kendo.Mvc.Tests/Kendo.Mvc.Tests.csproj"
alias dotbt="dotnet build /C/work/github/kendo/wrappers/mvc-6/tests/Kendo.Mvc.Tests/Kendo.Mvc.Tests.csproj"
# dotnet projects - kendo blazor
alias dotbb="dotnet build /d/work/github/blazor/Telerik.Blazor/Telerik.Blazor.csproj"
alias dd="dotnet build /d/work/github/blazor/Telerik.Blazor/Telerik.Blazor.csproj"
alias dotbbe="dotnet build /d/work/github/blazor/demos/server-side/TelerikBlazorDemos/TelerikBlazorDemos.csproj"
alias dotpbe="dotnet publish /d/work/github/blazor/demos/server-side/TelerikBlazorDemos/TelerikBlazorDemos.csproj"
alias dde="dotnet build /d/work/github/blazor/demos/server-side/TelerikBlazorDemos/TelerikBlazorDemos.csproj"
alias dotba="dotbb && dotbbe"
# alias dotbp="dotnet test /d/work/github/blazor-tests/BlazorTests/Blazor.Playground.Tests"
alias ddb="dotbb && dotbbe"
alias dda="dotbb && dotbbe && dotbbsp && dotbbcp"
alias ddd="dotbb && dotbbe"
alias ddd="dotnet test D:\work\github\blazor\Telerik.Blazor.Tests"
alias coj="u /d/work/github/blazor/Telerik.Blazor/wwwroot/js/ && co /d/work/github/blazor/Telerik.Blazor/wwwroot/js/"
# blazor examples
alias dotbbse="dotnet build /d/work/github/blazor/demos/server-side/TelerikBlazorDemos/TelerikBlazorDemos.csproj"
alias dotrbse="dotnet run --project /d/work/github/blazor/demos/server-side/TelerikBlazorDemos/TelerikBlazorDemos.csproj"
alias dotrse="dotrbse"
alias dotrbe="dotrbse"
alias rbe="dotnet run --project /d/Work/github/blazor/demos/server-side/TelerikBlazorDemos/TelerikBlazorDemos.csproj"
# blazor server playground
alias dotbbsp="dotnet build /d/work/github/blazor/playground/ServerSidePlayground/ServerSidePlayground.csproj"
alias dotbsp="dotbbsp"
alias dotpsp="dotnet publish -c Release /d/work/github/blazor/playground/ServerSidePlayground/ServerSidePlayground.csproj"
alias ddsp="dotnet build /d/work/github/blazor/playground/ServerSidePlayground/ServerSidePlayground.csproj"
alias dotbsp5="dotnet build /d/work/github/blazor/playground/ServerSidePlayground/ServerSidePlayground.Net5.csproj"
alias dotpsp5="dotnet publish -c Release /d/work/github/blazor/playground/ServerSidePlayground/ServerSidePlayground.Net5.csproj"
alias dotrbsp="dotnet run --project /d/work/github/blazor/playground/ServerSidePlayground/ServerSidePlayground.csproj"
alias dotrsp="dotrbsp"
# blazor client playground
alias dotbbcp="dotnet build /d/work/github/blazor/playground/ClientPlayground/Server/ClientPlayground.Server.csproj"
alias dotbcp5="dotnet build /d/work/github/blazor/playground/ClientPlayground/Server/ClientPlayground.Server.Net5.csproj"
alias dotbcpc5="dotnet build /d/work/github/blazor/playground/ClientPlayground/Client/ClientPlayground.Client.Net5.csproj"
alias dotbcp="dotbbcp"
alias ddcp="dotbbcp"
alias dotrbcp="dotnet run --configuration Release --project /d/work/github/blazor/playground/ClientPlayground/Server/ClientPlayground.Server.csproj"
alias dotrcp="dotrbcp"
alias dotrbcp="dotnet run --configuration Release --project /d/work/github/blazor/playground/ClientPlayground/Server/ClientPlayground.Server.csproj"
alias dotpcp="dotnet publish -c Release /d/work/github/blazor/playground/ClientPlayground/Server/ClientPlayground.Server.csproj"
alias dotpcp2="dotnet publish -p:PublishProfile=FolderProfile /d/work/github/blazor/playground/ClientPlayground/Server/ClientPlayground.Server.csproj"
alias dotpcp5="dotnet publish -p:PublishProfile=FolderProfile /d/work/github/blazor/playground/ClientPlayground/Server/ClientPlayground.Server.Net5.kcsproj"
# blazor tests
alias dotbt="dotnet test Telerik.Blazor.Tests"
alias ddt="dotnet test Telerik.Blazor.Tests"
alias ddtb="dotnet test Telerik.Blazor.Tests"
alias ddtds="dotnet test /d/work/github/datasource/tests/Telerik.DataSource.Tests/"
alias ddte2e="dotnet test e2e/Playground.Functional"
alias dde2e="ddte2e"
alias ddte="ddte2e"
alias ddeg="dotnet test e2e/Blazor.Playground.Tests --verbosity minimal --filter 'FullyQualifiedName~Playground.Functional.GridTests'"
alias dde2eg="ddeg"
alias ddetl="dotnet test e2e/Blazor.Playground.Tests --verbosity minimal --filter 'FullyQualifiedName~Playground.Functional.TreeListTests'"
# docker
alias doc="docker"
alias doccu="docker-compose up"
alias doccb="docker-compose build"
alias docb="docker build"
alias docr="docker run"
alias docp="docker pull"
alias doccl="docker pull"
alias docps="docker ps"
alias docpsa="docker ps -a"
alias docv="docker --version"
alias doci="docker images"
alias docil="docker image ls"
alias docl="docker container ls --all"
alias doccl="docker container ls --all"
alias docst="docker stop"
alias docs="docker stop"
alias docrm="docker rm"
alias docpr="yes | docker container prune"
alias docsa="docker stop $(docker ps -a -q)"
alias docre="docker rm $(docker ps -a -q -f status=exited)"
alias docnl="docker network ls"
alias docni="docker network inspect"
# docker cheatsheet
# docker run -it busybox sh
# docker run -d -P --name static-site prakhar1989/static-site
# docker port static-site
# kubernetes
alias kub="kubectl"
# ruby
alias r19="uru 193p551"
alias r23="uru 233p222"
# gulp
alias gu="gulp"
alias gta="gulp --tasks"
alias gub="gulp build"
alias guc="gulp compile"
# alias gucdn="gulp compile-cdn"
alias gucdn="gulp build-cdn"
alias gucdnd="gulp build-cdn:debug"
alias gucdnc="gulp build-cdn && gulp copy-js"
alias gubm="gulp build-module"
alias gg="gulp build-cdn --mode dev && gulp copy-js"
alias ggc="gulp build-cdn && gulp copy-js"
alias ggw="ggc && gulp watch-js --mode dev"
alias gunpm="gulp compile-npm"
alias gues="gulp compile-es"
alias gutl="gulp tslint"
alias gul="gulp lint"
alias gulf="gulp lint:fix"
alias gwl="gulp watch-lint"
alias glw="gulp watch-lint"
alias ggl="gulp watch-lint"
alias ggwl="gulp watch-lint"
alias gut="gulp test"
alias guwt="gulp watch-test"
alias gus="gulp start"
alias gurdt="gulp reset-demo-tags"
# lerna
alias le="lerna"
alias leb="lerna bootstrap"
alias lei="lerna init"
# webpack
alias wp="webpack"
alias wpds="webpack-dev-server"
# snowpack
alias sn="snowpack"
alias snb="snowpack build"
alias snd="snowpack dev"
alias sndr="snowpack dev --reload"
alias sndhr="rm -rf node_modules/.cache/snowpack && snowpack dev"
alias sndhrc="rm -rf node_modules/.cache/snowpack/development/\@pr
ogress/kendo-charts.js && snowpack dev"
alias rnsnd="rm -rf dist/snowpack && rm -rf node_modules/.cache/snowpack"
alias rncsnd="rm -rf node_modules/.cache/snowpack/development/\@pr
ogress/kendo-charts.js"
alias sndpkbb="pkbbj && snowpack dev"
# vite
alias vd="vite"
alias vv="vite"
alias vdr="vite --force"
alias vid="vite --force"
alias vvr="vite --force"
alias vdb="vite --force"
alias vir="vite --force"
# react
alias cra="create-react-app"
# vue
alias cva="create-vue-app"
alias vce="vue create example"
# jsvu
alias jssm="~/.jsvu/spidermonkey.cmd"
alias jsc="~/.jsvu/chakra.cmd"
alias jsv="~/.jsvu/v8.cmd"
# built-in helpers
alias ff='find . -type f -not -path "*node_modules*" -name'
alias la='ls -lA --group-directories-first'
alias ll="ls -lA"
if [ -n "$BASH_VERSION" ]; then
# move to a list of previously visited directories
# http://linuxgazette.net/109/marinov.html
alias cd=cd_func
# smart cd to previous directories, usage "cd 1", better than "cd -2"
alias cdd=cd_to_func
fi
alias cdl="dirs -v"
# overrides
alias grep="grep --color"
alias egrep="egrep --color"
# alias gr="grep --color -HIirn --exclude-dir={node_modules}"
alias gr="grep -i --color"
alias gri="grep -i --color"
alias md="mkdir -p"
# bash
alias rb="source ~/.bash_profile"
# zsh
alias rz="source ~/.zshrc"
# tmux
alias rt="tmux source-file ~/.tmux.conf"
# todo - think about aliases
# an alternative can be
# npx kill-port 1234
# find which process ID is running on port 8080
# netstat -o -n -a | findstr 0.0:8080
# sample response
# TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 8588
# kill the process
# taskkill /F /PID 8588
alias kp="npx kill-port"
# linux helpers
alias es="echo $SHELL"
# list linux version
alias lv="lsb_release -a"
# WSL - Windows Subsystem for linux
alias cduc="cd /mnt/c/"
alias cdc="cd /mnt/c/"
alias cdu="cd ~/AppData/Local/Packages/CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc/LocalState/rootfs"
# change to zsh
# https://medium.com/@vinhp/set-and-use-zsh-as-default-shell-in-wsl-on-windows-10-the-right-way-4f30ed9592dc
# chsh -s $(which zsh)
alias ctzs="chsh -s /bin/zsh root"
alias ctzsu="chsh -s /bin/zsh $(whoami)"
# helpers
alias lvse="code --list-extensions"