Skip to content

Instantly share code, notes, and snippets.

@ernesthwang
ernesthwang / gitignore.txt
Created June 19, 2014 16:45
Standard .gitignore file for C# repos
#OS junk files
[Tt]humbs.db
*.DS_Store
#Visual Studio files
*.[Oo]bj
*.user
*.aps
*.pch
*.vspscc
@ernesthwang
ernesthwang / gist:c1a438da1d9257838033
Last active August 29, 2015 14:01 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts (Mac OS X)

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@ernesthwang
ernesthwang / gist:5eeb25dec1c3d85626f4
Last active August 29, 2015 14:01 — forked from hileon/gist:1311735
Sublime Text 2 - Useful Shortcuts (Windows)

Sublime Text 2 – Useful Shortcuts (Windows)

General

Key Combo Description
Ctrl+KB toggle side bar
Ctrl+Shift+P command prompt
Ctrl+` python console
Ctrl+N new file
@ernesthwang
ernesthwang / CreateDatabase.sql
Created May 7, 2014 22:25
CreateDatabase.sql
USE [master]
GO
/*
==================================================
Name: CreateDatabase.sql
Created: 2011.07.21
Author: Ernest Hwang
Purpose: Checks for the existence of the database
and drops it if necessary, then recreates it from scratch.