Skip to content

Commit 52415ca

Browse files
committed
hi
1 parent f18f1d1 commit 52415ca

4 files changed

Lines changed: 27 additions & 8 deletions

File tree

.bashrc

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ dbash() {
284284

285285
deadbash() {
286286
local iid=`docker images | grep $1 | awk '{print $3}'`
287-
echo "docker run -it ${iid} /bin/bash"
288-
docker run -it ${iid} /bin/bash
287+
echo "docker run -it ${iid} /bin/bash || docker run -it ${iid} /bin/sh"
288+
docker run -it ${iid} /bin/bash || docker run -it ${iid} /bin/sh
289289
}
290290

291291
alias here='open .'
@@ -1168,8 +1168,9 @@ if [ -d "$CHRUBY_PATH" ]; then
11681168
source "${CHRUBY_PATH}chruby.sh"
11691169
source "${CHRUBY_PATH}auto.sh"
11701170

1171-
# set default chruby https://github.com/postmodern/chruby#default-ruby
1172-
chruby 2.5.1
1171+
# Run this to set a default ruby on new terminals
1172+
# echo "ruby-2.5.1" > ~/.ruby-version
1173+
# from https://github.com/postmodern/chruby#default-ruby
11731174
fi
11741175

11751176
MINI_CONDA_PATH="${HOME}/miniconda3/bin"
@@ -1193,3 +1194,10 @@ if [ -a "$DOCKER_KEY" ]; then
11931194
export GITHUB_PRIVATE_KEY="$(cat $DOCKER_KEY)"
11941195
fi
11951196

1197+
# Export a function as an entry point to PMD (which we use for Apex linting).
1198+
# This lets us call "apexpmd" from child processes, like npm scripts
1199+
function apexpmd() {
1200+
/usr/local/Cellar/pmd/6.16.0/libexec/bin/run.sh pmd "$@"
1201+
}
1202+
export -f apexpmd
1203+

.vimrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,9 @@ nnoremap <Leader>ff ?^func\\|^[a-zA-Z].*func<CR>,/
370370
nnoremap <C-l> gt
371371
nnoremap <C-h> gT
372372
373-
" Todo fix b
374-
nnoremap <Leader>cp dd?✅<cr>p0ls✅<esc><c-o>
373+
" Mark TODO item as complete
374+
nnoremap <Leader>cp dd?❌\\|✅<cr>p0ls✅<esc><c-o>
375+
nnoremap <Leader>cn dd?❌\\|✅<cr>p0ls❌<esc><c-o>
375376
376377
" experimental - enter to go into command mode (otherwise useless shortcut).
377378
" See clickable_maps for preventing vim clickable from messing this up. Also

code/settings.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"eslint.enable": true,
44
"javascript.validate.enable": false,
55
"editor.rulers": [80],
6-
"window.zoomLevel": 2,
6+
"window.zoomLevel": 1,
77
"files.exclude": {
88
"**/.DS_Store": true,
99
"**/.git": true,
@@ -41,5 +41,8 @@
4141
},
4242
"workbench.sideBar.location": "left",
4343
"files.autoSave": "off",
44-
"breadcrumbs.symbolPath": "off"
44+
"breadcrumbs.symbolPath": "off",
45+
"[javascriptreact]": {
46+
"editor.defaultFormatter": "esbenp.prettier-vscode"
47+
}
4548
}

code/snippets/javascript.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
],
3737
"description": "Console log string"
3838
},
39+
"Console Log Emoji 🔥": {
40+
"prefix": "cc",
41+
"body": [
42+
"console.log('${1|🔥,❌,🚽,🌿,💙|}$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1')"
43+
],
44+
"description": "Make console output noticable"
45+
},
3946
"React Constructor": {
4047
"prefix": "rc",
4148
"body": [

0 commit comments

Comments
 (0)