Skip to content

Instantly share code, notes, and snippets.

View tawrahim's full-sized avatar
🐢
Focusing

Tawheed Raheem tawrahim

🐢
Focusing
View GitHub Profile
@tawrahim
tawrahim / ioslocaleidentifiers.csv
Created March 21, 2017 21:45 — forked from JaseHadd/ioslocaleidentifiers.csv
iOS Locale Identifiers
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)
@tawrahim
tawrahim / ioslocaleidentifiers.csv
Created March 21, 2017 21:45 — forked from JaseHadd/ioslocaleidentifiers.csv
iOS Locale Identifiers
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)

YARD CHEATSHEET http://yardoc.org

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.

Modules

Namespace for classes and modules that handle serving documentation over HTTP

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@tawrahim
tawrahim / descriptionOfProgram.m
Created July 13, 2012 01:04 — forked from Elephruit/descriptionOfProgram.m
Description of Program (CS193P Assignment 2)
+ (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:@", "];
}