Skip to content

Instantly share code, notes, and snippets.

View jacebennett's full-sized avatar

Jace Bennett jacebennett

View GitHub Profile
@jacebennett
jacebennett / UnitTestProject1.cs
Created January 28, 2014 23:35
Implicit Conversions are just syntax sugar
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject1
{
public class Foo
{
public int Value { get; set; }
public Foo(int value) { Value = value; }
}
@jacebennett
jacebennett / .bashrc
Created April 30, 2012 14:56
put this in your bash
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
source /usr/local/Cellar/git/1.7.10/etc/bash_completion.d/git-completion.bash
txtblk='\033[0;30m' # Black - Regular
txtred='\033[0;31m' # Red
txtgrn='\033[0;32m' # Green
txtylw='\033[0;33m' # Yellow
txtblu='\033[0;34m' # Blue
txtpur='\033[0;35m' # Purple
txtcyn='\033[0;36m' # Cyan