Skip to content

Instantly share code, notes, and snippets.

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
// From Aki:
// User Stories
// 1. I want to be a function named 'sum', which returns the sum of all elements in an array of integers.
// 2. I want to be a function called 'mean', which returns a decimal average for all elements in an array of integers.
// 3. I want to be a function called 'median', which can:
// a. Return the exact middle number for an odd length array, and
// b. Return a decimal average of the two middle numbers for an even length array
// Never actually received a copy of the pseudo code to put in this gist. A copy was sent to my coding
// partner Clark, who shared it with me when we wrote the code. Andra did the pseudo code, I just don't have a copy.
Answer the following questions (in addition to the challenge-specific questions) in your reflection:
What parts of your strategy worked? What problems did you face?
What questions did you have while coding? What resources did you find to help you answer them?
What concepts are you having trouble with, or did you just figure something out? If so, what?
Did you learn any new skills or tricks?
How confident are you with each of the learning objectives?
Which parts of the challenge did you enjoy?
Which parts of the challenge did you find tedious?