start new:
tmux
start new with session name:
tmux new -s myname
| + (NSString *) descriptionOfProgram:(id)program | |
| { | |
| NSMutableArray *stack; | |
| if ([program isKindOfClass:[NSArray class]]) stack = [program mutableCopy]; | |
| NSString *programDescription = @""; | |
| while (stack.count) { | |
| programDescription = [programDescription stringByAppendingString:[self descriptionOfTopOfStack:stack]]; | |
| if (stack.count) { | |
| programDescription = [programDescription stringByAppendingString:@", "]; | |
| } | 
| " show little divider at bottom of vim | |
| set laststatus=2 | |
| "an informative status line | |
| set statusline=\[%t%m]\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [LINE=%04l,COL=%04v]\ %{GitBranch()} | |
| " Function to display git branch | |
| function! GitBranch() | |
| let branch = system("git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* //'") | 
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
| localeIdentifier | Description | |
|---|---|---|
| eu | Basque | |
| hr_BA | Croatian (Bosnia & Herzegovina) | |
| en_CM | English (Cameroon) | |
| rw_RW | Kinyarwanda (Rwanda) | |
| en_SZ | English (Swaziland) | |
| tk_Latn | Turkmen (Latin) | |
| he_IL | Hebrew (Israel) | |
| ar | Arabic | |
| uz_Arab | Uzbek (Arabic) | 
| eu | Basque | |
|---|---|---|
| hr_BA | Croatian (Bosnia & Herzegovina) | |
| en_CM | English (Cameroon) | |
| rw_RW | Kinyarwanda (Rwanda) | |
| en_SZ | English (Swaziland) | |
| tk_Latn | Turkmen (Latin) | |
| he_IL | Hebrew (Israel) | |
| ar | Arabic | |
| uz_Arab | Uzbek (Arabic) | 
Here are a list of questions that I use as a reference cheat sheet.
public class KV {
  String key;
  String value;
}
/* Input:
      [
 new KV("foo.bar.baz", "james"),| public class Interview { | |
| class Interval { | |
| int start; | |
| int end; | |
| public Interval(int start, int end) { | |
| this.start = start; | |
| this.end = end; | |
| } | 
| public class SavedAddress { | |
| private String label; | |
| private String address; | |
| public SavedAddress(String label, String address) { | |
| this.label = label; | |
| this.address = address; | |
| } | |
| public void setLabel(String label) { |