Skip to content

Instantly share code, notes, and snippets.

@dyon
dyon / update-trinitycore.sh
Created August 25, 2012 11:44 — forked from Zoidwaffle/update-trinitycore.sh
Attempts to make it easy to maintain an updated TrinityCore server on a Linux system
#!/bin/bash
########################################################################################
# Purpose : Updates TrinityCore
#######################################################################################
# Home for the trinity/server user (suggested user "trinity")
HOME="/home/trinity"
# Location of the ACE library, "/usr/lib" is default for system wide installation
LIBACE="/usr/lib"
@dyon
dyon / launch_sublime_from_terminal.markdown
Created April 22, 2012 10:40 — forked from artero/launch_sublime_from_terminal.markdown
Launch Sublime Text 2 from the Mac OS X Terminal

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

@dyon
dyon / gist:2016240
Created March 11, 2012 12:19 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

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