Skip to content

Instantly share code, notes, and snippets.

Jaehoon Jung uzysjung

Block or report user

Report or block uzysjung

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ClassInfo.m
// ClassInfo.m
// sentinelShuttleValidationCheck
// Created by uzysjung on 2016. 1. 28..
// Copyright © 2016년 skpdi. All rights reserved.
#import "ClassInfo.h"
#import "RakeClientMetricSentinelShuttle.h"
uzysjung / ebFont.config
Last active Aug 1, 2019
add custom font to Amazon linux
View ebFont.config
command: wget
command: unzip Nanum*.zip
command: mkdir -p /usr/share/fonts/nanumfont
command: mv *.ttf /usr/share/fonts/nanumfont
uzysjung / eb.config
Last active Jan 22, 2020
increase max connections in elasticbeanstalk
View eb.config
command: echo -e "#commands\nroot soft nofile 65536\nroot hard nofile 65536\n* soft nofile 65536\n* hard nofile 65536" >/etc/security/limits.d/custom.conf
command: sysctl -w fs.file-max=131072 fs.nr_open=131072 net.ipv4.netfilter.ip_conntrack_max=131072 net.nf_conntrack_max=131072
uzysjung / NSLocale+ios8_1.h
Created Nov 11, 2014
iOS 8.1 simulator keyboard bug temporary solution.
View NSLocale+ios8_1.h
// NSLocale+ios8_1.h
// Created by Uzysjung on 2014. 11. 11..
// Copyright (c) 2014년 SKPlanet. All rights reserved.
#import <Foundation/Foundation.h>
@interface NSLocale (iOS8_1)
View NSLocale+ios8_1.m
// NSLocale+ios8_1.m
// Created by Uzysjung on 2014. 11. 11..
// Copyright (c) 2014년 SKPlanet. All rights reserved.
#import "NSLocale+ios8_1.h"
#import <objc/runtime.h>
uzysjung / UzysDebugLog.h
Last active Dec 19, 2015
Enable NSLog in Debug mode.
View UzysDebugLog.h
// DebugLog.h
// Uzys DebugLog
// Created by UzysJung on 13. 2. 25..
// Copyright (c) 2013년 Uzys. All rights reserved.
How to use
View Macros.h
#define ApplicationDelegate ((AppDelegate *)[[UIApplication sharedApplication] delegate])
#define UserDefaults [NSUserDefaults standardUserDefaults]
#define NotificationCenter [NSNotificationCenter defaultCenter]
#define SharedApplication [UIApplication sharedApplication]
#define Bundle [NSBundle mainBundle]
#define MainScreen [UIScreen mainScreen]
#define ShowNetworkActivityIndicator() [UIApplication sharedApplication].networkActivityIndicatorVisible = YES
#define HideNetworkActivityIndicator() [UIApplication sharedApplication].networkActivityIndicatorVisible = NO
#define NetworkActivityIndicatorVisible(x) [UIApplication sharedApplication].networkActivityIndicatorVisible = x
#define NavBar self.navigationController.navigationBar
You can’t perform that action at this time.