This re-styles your sublime text 2 sidebar to be darker, so it doesn't blind you when using a dark theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
| <?php | |
| namespace Treffynnon; | |
| /** | |
| * A PHP class to access a PHP array via dot notation | |
| * (Agavi http://www.agavi.org was the inspiration). | |
| * | |
| * This was hacked in to an existing codebase hence the | |
| * global config array variable. |
| NSString *NSStringFromOSStatus(OSStatus errCode) | |
| { | |
| if (errCode == noErr) | |
| return @"noErr"; | |
| char message[5] = {0}; | |
| *(UInt32*) message = CFSwapInt32HostToBig(errCode); | |
| return [NSString stringWithCString:message encoding:NSASCIIStringEncoding]; | |
| } |
| /* | |
| author: jbenet | |
| os x, compile with: gcc -o testo test.c | |
| linux, compile with: gcc -o testo test.c -lrt | |
| */ | |
| #include <time.h> | |
| #include <sys/time.h> | |
| #include <stdio.h> |
| #!/bin/sh | |
| # | |
| # | |
| # From: [email protected] ([email protected]) | |
| # Subject: bournebasic | |
| # Newsgroups: comp.sources.misc | |
| # Date: 1987-08-18 18:54:12 PST | |
| # | |
| # Here's a useful BASIC interpreter written in Bourne shell. | |
| # There's no manual but this demo shows the most salient features: |
| Ruby: chained vs nested methods |