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
uzysjung / ebFont.config
Last active Aug 1, 2019
add custom font to Amazon linux
View ebFont.config
container_commands:
01_download_nanum_font:
command: wget http://static.campaign.naver.com/0/hangeul/renew/download/NanumFont_TTF.zip
02_unzip_font:
command: unzip Nanum*.zip
03_creat_fontdir:
command: mkdir -p /usr/share/fonts/nanumfont
04_mv_font:
command: mv *.ttf /usr/share/fonts/nanumfont
05_add_font_cache:
@uzysjung
uzysjung / eb.config
Last active Jan 22, 2020
increase max connections in elasticbeanstalk
View eb.config
commands:
01limits:
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
02sysctl:
command: sysctl -w fs.file-max=131072 fs.nr_open=131072 net.ipv4.netfilter.ip_conntrack_max=131072 net.nf_conntrack_max=131072
@uzysjung
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>
#if TARGET_IPHONE_SIMULATOR
@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.
//
#if TARGET_IPHONE_SIMULATOR
#import "NSLocale+ios8_1.h"
#import <objc/runtime.h>
@uzysjung
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.