Based on this: http://blennd.com/post/the-pains-of-installing-tmux-on-a-shared-server/ Script forked from https://gist.github.com/shime/5706655/
- gcc
- wget
| - (BOOL)fitWindowToTabSize:(NSSize)tabSize | |
| { | |
| PtyLog(@"fitWindowToTabSize %@", [NSValue valueWithSize:tabSize]); | |
| if ([self anyFullScreen]) { | |
| [self fitTabsToWindow]; | |
| return NO; | |
| } | |
| // Set the window size to be large enough to encompass that tab plus its decorations. | |
| NSSize decorationSize = [self windowDecorationSize]; | |
| NSSize winSize = tabSize; |
| // Use with https://github.com/rentzsch/jrswizzle | |
| // MIT license | |
| // After your program dies because with a zombie, examine [theBigLog objectForKey:@"0x12345"], subbing the address of the thing that died. You can get stack traces referred to in the logs by looking up the "stack-12345" numbers in the same dict. To track a particular object, add [NSValue valueWithPointer:myobject] to debugList in a @synchronized block. | |
| @interface ClassToDebug : NSColor | |
| @end | |
| @interface ClassToDebug (DebugRefs) | |
| @end |
| 2013-07-16 13:26:48.122 iTerm[63794:303] Line block after dropping: | |
| <0x1017e8aa0> | |
| Already-dropped bytes: 2264 | |
| Start offset: 2264 | |
| is_partial: NO | |
| Number of raw lines: 7 | |
| Cached lines: 119 at width 50 | |
| WRAPPED LINES: | |
| Wrapped line 0: ff4e [DWC_RIGHT] 7a 72 20 6c ff45 [DWC_RIGHT] 20 20 6f 6c 70 ff49 [DWC_RIGHT] 72 ff45 [DWC_RIGHT] ff4e [DWC_RIGHT] 76 78 20 ff49 [DWC_RIGHT] ff47 [DWC_RIGHT] 6d 76 2c 20 61 75 67 6a 6a 62 ff45 [DWC_RIGHT] ff41 [DWC_RIGHT] ff55 [DWC_RIGHT] 20 20 72 67 70 ff4e [DWC_RIGHT] [EOL] |
| - (void)setRectDirtyFromX:(int)fromX Y:(int)fromY toX:(int)toX Y:(int)toY | |
| { | |
| assert(fromX >= 0); | |
| assert(fromX < WIDTH); | |
| assert(toX >= 0); | |
| assert(toX <= WIDTH); // <= because not inclusive of toX. | |
| assert(fromY >= 0); | |
| assert(fromY < HEIGHT); | |
| assert(toY >= 0); | |
| assert(toY < HEIGHT); |
| <key>LoadPrefsFromCustomFolder</key> | |
| <true/> | |
| <key>PrefsCustomFolder</key> | |
| <string>path to folder with com.googlecode.iterm2.plist file, or URL of plist file</string> |
| on write_to_file(this_data, target_file, append_data) | |
| try | |
| set the target_file to the target_file as string | |
| set the open_target_file to open for access file target_file with write permission | |
| if append_data is false then set eof of the open_target_file to 0 | |
| write this_data to the open_target_file starting at eof | |
| close access the open_target_file | |
| return true | |
| on error | |
| try |
| { | |
| "kind" : "projecthosting#user", | |
| "id" : "@VRdVRFRUBRFGXgB6", | |
| "projects" : [ { | |
| "kind" : "projecthosting#project", | |
| "name" : "testprojectgn", | |
| "externalId" : "testprojectgn", | |
| "htmlLink" : "/p/testprojectgn/", | |
| "summary" : "teswt", | |
| "description" : "test", |
Based on this: http://blennd.com/post/the-pains-of-installing-tmux-on-a-shared-server/ Script forked from https://gist.github.com/shime/5706655/
| - (id)retain { | |
| if (_debug) { | |
| NSLog(@"retain %@ rc->%d", self, (int)self.retainCount + 1); | |
| NSLog(@"%@", [NSThread callStackSymbols]); | |
| } | |
| return [super retain]; | |
| } | |
| - (oneway void)release { | |
| if (_debug) { |
| #!/bin/bash | |
| CD_CMD="cd "\\\"$(pwd)\\\"" && clear" | |
| if echo "$SHELL" | grep -E "/fish$" &> /dev/null; then | |
| CD_CMD="cd "\\\"$(pwd)\\\""; and clear" | |
| fi | |
| VERSION=$(sw_vers -productVersion) | |
| OPEN_IN_TAB=0 | |
| while [ "$1" != "" ]; do |