Skip to content

Instantly share code, notes, and snippets.

@RoryBecker
RoryBecker / NLog.Config
Created February 29, 2012 10:17
Sample NLog configuration
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<targets>
<target name="console" xsi:type="Console" />
<target name="file" xsi:type="File" fileName="${basedir}/log.txt" />
<target name="email" xsi:type="Mail"
smtpServer="smtp.DomainName.com"
smtpAuthentication="Basic"
@RoryBecker
RoryBecker / profile.example.ps1
Created February 20, 2012 16:31
My Posh-git Profile
Push-Location (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent)
# Load posh-git module from current directory
Import-Module .\posh-git
$GitPromptSettings.EnableFileStatus = $false
# If module is installed in a default location ($env:PSModulePath),
# use this instead (see about_Modules for more information):
# Import-Module posh-git
@RoryBecker
RoryBecker / .bash_profile
Created November 23, 2011 21:24
My .bash_profile
#-------------------------------------------------------------
# Git - My bash profile (aliases)
#-------------------------------------------------------------
#The Basics
alias status='git status'
alias add='git add -A .'
alias commit='git commit'
alias help='git help'