Skip to content

Instantly share code, notes, and snippets.

@outro56
outro56 / .profile
Last active August 29, 2015 14:21 — forked from tamlyn/.profile
Terminal setup for windows using Console2 (http://sourceforge.net/projects/console/)
# always list in long format
alias ls='ls -la --color'
alias clear=cls
# set dynamic prompt and window/tab title
PS1='\[\e]0;${PWD##*/}\a\]\n' # set window title
#PS1="$PS1"'\u@\h ' # user@host<space>
PS1="$PS1"'\[\033[32m\]' # change color
PS1="$PS1"'\w' # current working directory
if test -z "$WINELOADERNOEXEC"
@outro56
outro56 / vagrant-devenv-provision.sh
Last active August 29, 2015 14:21
Provision development image
#!/usr/bin/env bash
echo "Provisioning virtual machine..."
sudo apt-get update
sudo apt-get install -y python-software properties
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:webupd8team/java
@outro56
outro56 / MiniOrm.cs
Last active September 29, 2021 06:14 — forked from SamSaffron/gist:893878
Mini C# Orm
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Reflection.Emit;
using System.Collections.Concurrent;
using System.Data;
using System.Reflection;