Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🐱

Nikolai Johan Heum heumn

💭
🐱
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am heumn on github.
  • I am heumn (https://keybase.io/heumn) on keybase.
  • I have a public key ASAREnGz_s5cebsrMh7llVRcSLHFSLINm6S1HLc0sBx1UAo

To claim this, I am signing this object:

View rinkeby
0x8ffc50cE90089539BA67Ffd548F4599B905569D8
View Open testflight from iOS app
#warning DO NOT LEAVE IN PRODUCTION
@interface PrivateApi_LSApplicationWorkspace
- (bool)openApplicationWithBundleID:(id)arg1;
@end
@implementation UIApplication (CHROpenTestFlight)
+ (void)chr_openTestFlightAppIfPossible {
PrivateApi_LSApplicationWorkspace *workspace = [NSClassFromString(@"LSApplicationWorkspace") new];
[workspace openApplicationWithBundleID:@"com.apple.TestFlight"];
@heumn
heumn / NHFontAndColorManager
Last active Aug 29, 2015
Fonts and colors in plist
View NHFontAndColorManager
//i header
//megaphone table view cell settings
@property (nonatomic, strong) UIFont *megaphoneStatementFont;
@property (nonatomic, strong) UIColor *megaphoneStatementFontColor;
@property (nonatomic, strong) UIFont *megaphoneUserNameFont;
@property (nonatomic, strong) UIColor *megaphoneUserNameFontColor;
@property (nonatomic, strong) UIFont *megaphoneLoadingFont;
@property (nonatomic, strong) UIColor *megaphoneLoadingFontColor;
View gist:8955387
Parse.Cloud.job("testImageCompression", function(request, response) {
console.log("Posting HTTP request");
Parse.Cloud.httpRequest({
method: 'POST',
url: 'https://api.kraken.io/v1/url',
headers: {
'Content-Type': 'application/json'
},
body: {
You can’t perform that action at this time.