Skip to content

Instantly share code, notes, and snippets.

View ebruning's full-sized avatar

Ethan Bruning ebruning

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ebruning on github.
  • I am ebruning (https://keybase.io/ebruning) on keybase.
  • I have a public key whose fingerprint is 2EDA 6584 9C4A 0B56 6ADF 2C2B B29D 616C 7ABE C4CC

To claim this, I am signing this object:

0. English en 1. French fr 2. German de 3. Italian it 4. Dutch nl 5. Swedish sv 6. Spanish es 7. Danish da 8. Portuguese pt 9. Norwegian nb 10. Hebrew he 11. Japanese ja 12. Arabic ar 13. Finnish fi 14. Greek el 15. Icelandic is 16. Maltese mt 17. Turkish tr 18. Croatian hr 19. Chinese zh 20. Urdu ur 21. Hindi hi 22. Thai th 23. Korean ko 24. Lithuanian lt 25. Polish pl 26. Hungarian hu 27. Estonian et 28. Latvian lv 29. Sami se 30. Faroese fo 31. Farsi fa 32. Russian ru 33. Chinese zh 34. Dutch nl 35. Irish ga 36. Albanian sq 37. Romanian ro 38. Czech cs 39. Slovak sk 40. Slovenian sl 41. Yiddish yi 42. Serbian
@ebruning
ebruning / links.md
Last active December 30, 2015 09:48
Links to learning iOS development
sudo dscl . -append /Groups/_developer GroupMembership USER_NAME
@ebruning
ebruning / 0_reuse_code.js
Created December 3, 2013 17:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ebruning
ebruning / gist:7456485
Created November 13, 2013 21:11
convert int to enum
card.cardType = (CardType)[[cardArray valueForKey:@"type"] integerValue];
@ebruning
ebruning / gist:6382783
Created August 29, 2013 20:06
Add an image
UIImageView *imgBg2 = [self createImgViewWithFrame:CGRectMake(26, APP_DELEGATE.is_iPhone5 ? yCodd+180 : yCodd+170, 268, 137) ImageName:@"licence_front" withTag:0];
imgBg2.image = [UIImage imageNamed:@"w2_front.png"];
@ebruning
ebruning / gist:6238478
Last active June 13, 2021 17:46
uncrustify settings
#
# Uncrustify Configuration File
# File Created With UncrustifyX 0.4.3 (252)
#
# Alignment
# ---------
## Alignment
@ebruning
ebruning / objc.cfg
Created August 15, 2013 02:29 — forked from tszming/objc.cfg
#
# uncrustify config file for objective-c and objective-c++
#
indent_with_tabs = 0 # 1=indent to level only, 2=indent with tabs
output_tab_size = 4 # new tab size
indent_columns = output_tab_size
indent_label = 2 # pos: absolute col, neg: relative column
indent_align_assign = FALSE
@ebruning
ebruning / gist:6159559
Created August 5, 2013 20:59
dump all the font names
for (NSString *familyName in [UIFont familyNames]) {
for (NSString *fontName in [UIFont fontNamesForFamilyName:familyName]) {
NSLog(@"%@", fontName);
}
}