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
--- | |
Language: Cpp | |
AccessModifierOffset: -4 | |
AlignAfterOpenBracket: DontAlign | |
AlignConsecutiveAssignments: false | |
AlignConsecutiveDeclarations: false | |
AlignEscapedNewlines: Left | |
AlignOperands: true | |
AlignTrailingComments: true | |
AllowAllParametersOfDeclarationOnNextLine: 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
terraform() { | |
docker run --rm -it \ | |
-w /workbench/app \ | |
-v ${HOME}/.aws:/workbench/.aws \ | |
-v ${HOME}/.terraform.d/:/workbench/.terraform.d/ \ | |
-v ${PWD}:/workbench/app \ | |
-u $(id -u):$(id -g) \ | |
-e HOME=/workbench \ | |
hashicorp/terraform:light "$@" | |
} |
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
function codecept() { | |
docker run --rm \ | |
-w /app \ | |
-u $(id -u):$(id -g) \ | |
-v `pwd`:/app \ | |
--network=host \ | |
codeception/codeception $@ | |
} |
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
{ | |
"scripts": { | |
"pre-install-cmd": [ | |
"php artisan down", | |
"php artisan queue:restart", | |
], | |
"post-install-cmd": [ | |
"php artisan up" | |
], | |
}, |
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
"|----------------------------------------------------------------------------| | |
"| Plugins - Vundle | | |
"|----------------------------------------------------------------------------| | |
" Behave more Vi-compatible, or a more useful way. | |
set nocompatible | |
" Don't detect filetypes. | |
filetype off |
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 | |
#------------------------------------------------------------------------------ | |
# Set up development machine. Vim, bashrc, and bash_aliases. | |
# Execute twice, if schema is missing. | |
#------------------------------------------------------------------------------ | |
#------------------------------------------------------------------------------ | |
# Script configuration | |
#------------------------------------------------------------------------------ |
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 | |
declare -a skip_branches=("master" "stage") | |
# Credits due http://stackoverflow.com/a/10312587/2790481 | |
for remote in `git branch -r`; do git branch --track ${remote#origin/} $remote; done | |
branches=$(git branch) | |
function branch_should_not_be_skipped { |
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 | |
scripts=$(ls *.py) | |
for script in $scripts; do | |
script_directory="${script::-3}" | |
mkdir -p $script_directory |
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
[ | |
{ "keys": ["alt+1"], "command": "toggle_side_bar" }, | |
{ "keys": ["ctrl+shift+n"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
{ "keys": ["j", "j"], "command": "exit_insert_mode", | |
"context": | |
[ | |
{ "key": "setting.command_mode", "operand": false }, | |
{ "key": "setting.is_widget", "operand": false } | |
] | |
}, |
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
#!/usr/bin/env bash | |
boldBlue="\[\e[1;34m\]" | |
yellow="\[\e[0;33m\]" | |
green="\[\e[0;32m\]" | |
resetColor="\[\e[0m\]" | |
username="\u" | |
hostname="\h" | |
git="\h" | |
currentDir="\w" |