Skip to content

Commit

Permalink
Merged IBM and Personal
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidneyw committed Apr 4, 2018
2 parents 8afa933 + b1c0eac commit 0d1e434
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 157 deletions.
149 changes: 0 additions & 149 deletions bash_profile

This file was deleted.

1 change: 0 additions & 1 deletion cheatsheets/echo

This file was deleted.

24 changes: 24 additions & 0 deletions nvim/Ultisnips/javascript.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ axios.$1(\`/$2\`, getConfig())
}});
endsnippet

snippet econst "Export const"
export const $1 = $0
endsnippet

snippet comm "3 Line Comment"
// ------------------------------------
// $0
Expand Down Expand Up @@ -226,6 +230,12 @@ snippet strict "Use Strict"
"use strict";
endsnippet

snippet sty "Styled Component"
const $1 = styled.$2\`
$0
\`
endsnippet

snippet test "A jest test case"
test('$1', (${2:done}) => {
$0
Expand Down Expand Up @@ -281,6 +291,20 @@ snippet input "input tag"
<input type="$1" $0 />
endsnippet

snippet sm "Pure CSS sm"
// pure-sm
@media screen and (min-width: 35.5em) {
$0
}
endsnippet

snippet md "Pure CSS md"
// pure-md
@media screen and (min-width: 48em) {
$0
}
endsnippet

snippet pure "Pure CSS in JS"
// pure-sm
@media screen and (min-width: 35.5em) {
Expand Down
5 changes: 0 additions & 5 deletions nvim/config/local.vim
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,6 @@ cnoreabbr single %s/"/'/g

" Functions {{{
" ===================
function! Idea()
let filename = expand(system("~/bin/idea -v"))
execute "edit" filename
endfunction

function! ShortTab()
let &l:tabstop = 2
let &l:shiftwidth = 2
Expand Down
1 change: 1 addition & 0 deletions nvim/config/vim-bootstrap.vim
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Plug 'niftylettuce/vim-jinja'

" javascript
"" Javascript Bundle
Plug 'styled-components/vim-styled-components'
Plug 'jelera/vim-javascript-syntax'
Plug 'isRuslan/vim-es6'
Plug 'elzr/vim-json'
Expand Down
3 changes: 2 additions & 1 deletion shell/bin/pitchback
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

cd ~/Desktop/Pitchback/frontend
cd /Users/sidneywijngaarde/Code/javascript/Pitchback/frontend

session_name="Pitchback"
tmux new -s ${session_name} -d
tmux send-keys -t ${session_name} "tmux source-file ~/.dot_files/tmux/pitchback.conf" C-m
Expand Down
4 changes: 3 additions & 1 deletion tmux/pitchback.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ source ~/.tmux.conf

new-window -n Servers
send-keys "source .env" C-m
send-keys "nvm use" C-m
send-keys "yarn start" C-m

split-window -h
select-pane -t 2
send-keys "dmongo" C-m
send-keys "cd ../backend" C-m
send-keys "source .env" C-m
send-keys "nvm use" C-m
send-keys "yarn run mongo" C-m
send-keys "yarn start" C-m

# back to the first pane
Expand Down

0 comments on commit 0d1e434

Please sign in to comment.