Skip to content

Instantly share code, notes, and snippets.

View thitemple's full-sized avatar

Thiago Temple thitemple

View GitHub Profile
thitemple / cloudSettings
Last active January 29, 2019 19:06
Visual Studio Code Settings Sync Gist
thitemple / choco_packages
Last active December 7, 2015 02:36
My boxstarter
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
choco install fiddler4
choco install sublimetext3
choco install firefox
choco install googlechrome
choco install opera
choco install git
choco install cmder -pre
thitemple / alias_cmder
Created October 20, 2015 13:38
My list of aliases for cmder
e.=explorer .
gl=git log --oneline --all --graph --decorate $*
ls=ls --show-control-chars -F --color $*
history=cat %CMDER_ROOT%\config\.history
unalias=alias /d $1
cdd=e: && cd \sources\dev
thitemple / dev_setup.ps1
Last active March 22, 2022 05:19
A PowerShell script for installing a dev machine using Chocolatey.
function Add-Path() {
# Get the current search path from the environment keys in the registry.
$OldPath=(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path
# See if a new folder has been supplied.
if (!$AddedFolder) {
Return 'No Folder Supplied. $ENV:PATH Unchanged'
# See if the new folder exists on the file system.
thitemple / .gitconfig
Last active December 21, 2015 16:29
My git config file
aa = add --all .
st = status
br = branch
cl = clone
co = checkout
ci = commit
sr = svn rebase
sci = svn dcommit
fu = reset --hard
thitemple / bashrc
Last active February 8, 2020 08:10
My Windows .bashrc file which I use with Git Bash.
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# start the ssh-agent
function start_agent {
echo "Initializing new SSH agent..."
# spawn ssh-agent
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"