This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// "editor.formatOnSave": false, | |
// Enable per-language | |
"[javascript]": { | |
"editor.formatOnSave": false | |
}, | |
"standard.enable": false, | |
// "prettier.semi": false, | |
// "prettier.eslintIntegration": true, | |
// "prettier.sineleQuote": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code --install-extension abusaidm.html-snippets | |
code --install-extension aeschli.vscode-css-formatter | |
code --install-extension chenxsan.vscode-standardjs | |
code --install-extension christian-kohler.npm-intellisense | |
code --install-extension christian-kohler.path-intellisense | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension eg2.tslint | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension flowtype.flow-for-vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The path to write results to | |
benchmark_dir='./benchmarkResults/'; | |
# use this to check the final results | |
result_filename='results.txt'; | |
# Use this to tail the progress of the containers | |
output_filename='output.txt'; | |
# The command to run in the container | |
docker_command='listo npm run jest'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const fetchAddress = ( | |
fieldName: string, | |
): Function => | |
async (dispatch, getState) => { | |
const state = getState(); | |
const zipcode = selector(state, `${fieldName}.zipcode`); | |
const housenumber = selector(state, `${fieldName}.housenumber`); | |
if (!zipcode || !housenumber) { | |
return; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Add git branch if relevant | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
# Extact tracker abbreviation and ticket number (e.g. DS-123) | |
parse_git_tracker_and_ticket() { | |
parse_git_branch | grep -e '[A-Z]\+-[0-9]\+' -o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PASSPHRASE="" duplicity --exclude ~/VirtualBox\ VMs/ --encrypt-key 20DE745F ~/ file:///Volumes/webdav/backup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vmartisan() { | |
vagrant ssh -c 'php /var/www/{projectname}/artisan '$1 | |
} | |
alias vmart=vmartisan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
coffee --watch --compile --output compiled/ */ |