This file contains hidden or 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
set shiftwidth=4 softtabstop=4 | |
set expandtab | |
set incsearch ignorecase hlsearch | |
colorscheme elflord | |
set number | |
syntax on | |
set backspace=indent,eol,start | |
set cindent |
This file contains hidden or 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
{ | |
"files.trimTrailingWhitespace": true, | |
"editor.renderWhitespace": "all", | |
"editor.trimAutoWhitespace": true, | |
"editor.formatOnSave": true, | |
"editor.rulers": [ 80 ], | |
"editor.minimap.enabled": false, | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"explorer.compactFolders": false | |
} |
This file contains hidden or 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
alias gs='git status' | |
alias ga='git add --all' | |
alias gf='git fetch --all --prune' | |
alias gsu='git submodule sync && git submodule update --init --recursive' | |
alias repos='cd ~/Source/Repos' | |
alias sln='start *.sln' | |
alias startssh='eval `ssh-agent -s` && ssh-add ~/.ssh/id_rsa' | |
alias gt='echo Fetch then show local tags: && git fetch --tags && git tag -l --sort=v:refname' | |
alias gtu='echo Fetch upstream then show local tags: && git fetch --tags upstream && git tag -l --sort=v:refname' | |
alias grt='echo Remote Tags: && git ls-remote --tags | sort -t '"'"'/'"'"' -k 3 -V | awk '"'"'{print $2}'"'"' | grep -v "{}"' |
This file contains hidden or 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
# if you want to run this as a script then you have to make sure | |
# you've enabled RemoteSigned scripts with: | |
# Set-ExecutionPolicy RemoteSigned | |
# To run this script do the following: | |
# iwr https://gist.githubusercontent.com/wes566/dd90579b6261fc9a1da92857cdbc910e/raw/bootstrap_dev_machine.ps1 -UseBasicParsing | iex | |
#install chocolatey | |
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex |
This file contains hidden or 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
$env:PATH += ";C:\Program Files\Git\mingw64\bin" | |
function Invoke-GitFetchAll | |
{ | |
& git.exe fetch --all | |
} | |
function Invoke-GitStatus | |
{ | |
& git.exe status |
This file contains hidden or 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
/// <summary> | |
/// Provides a way to override the current <see cref="implementation"/>. | |
/// </summary> | |
/// <param name="valueFactory">Factory that creates the new implementation</param> | |
/// <param name="implementation">Reference to the current implementation, it will be | |
/// updated with the new <see cref="valueFactory"/>.</param> | |
/// <param name="lazyLoad">Set to true if you want to lazy load your new implementation | |
/// (not recommended if your implementation listens for events in it's constructor).</param> | |
public static void OverrideDefault<TInterface>(Func<TInterface> valueFactory, ref Lazy<TInterface> implementation, bool lazyLoad = false) | |
{ |
This file contains hidden or 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 | |
svgFiles=$(ls -d -1 $PWD/*.svg) | |
for file in $svgFiles | |
do | |
pdfName=${file/".svg"/".pdf"} | |
echo "Converting $file to $pdfName" | |
/Applications/Inkscape.app/Contents/Resources/bin/inkscape --without-gui --file=$file --export-pdf=$pdfName | |
done |
This file contains hidden or 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
if [ -f ~/.bash_aliases ]; then | |
. ~/.bash_aliases | |
fi | |
# you must install bash completion with "brew install bash-completion" | |
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion |
This file contains hidden or 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
set completion-ignore-case On |
This file contains hidden or 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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "shift+cmd+s", | |
"command": "workbench.action.files.saveAll" | |
}, | |
{ | |
"key": "shift+cmd+s", | |
"command": "-workbench.action.files.saveAs" | |
}, |
OlderNewer