Skip to content

Instantly share code, notes, and snippets.

@kunny
kunny / web.xml
Created September 3, 2012 17:09
Jersey setting for using Jackson instead JAXB
<servlet>
<servlet-name>Remoteroid REST</servlet-name>
<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
<!-- Add 'org.codehaus.jackson.jaxrs' attribute to use Jackson instead of JAXB : JAXB has some problem on processing JSONArray -->
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>org.secmem.remoteroid.server;org.codehaus.jackson.jaxrs</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
@kunny
kunny / .config.yml
Created April 17, 2014 18:04
travis : android envsetup
env:
- TERM=dumb
before_install:
# Install base Android SDK
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
- wget http://dl.google.com/android/android-sdk_r22.3-linux.tgz
- tar xzf android-sdk_r22.3-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
@kunny
kunny / .config.yml
Created April 17, 2014 19:23
travis:config sample
env:
- TERM=dumb
before_install:
# Install base Android SDK
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
- wget http://dl.google.com/android/android-sdk_r22.3-linux.tgz
- tar xzf android-sdk_r22.3-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
@kunny
kunny / build.gradle
Created May 18, 2014 17:32
SigningWithStudio
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.0.3"
defaultConfig {
minSdkVersion 8
targetSdkVersion 19
versionCode 1
@kunny
kunny / sample_notes.dart
Last active June 18, 2022 14:51
Class 101 / Flutter / 3-4
final notes = [
Note(
'''
Flutter is an open-source UI software development kit created by Google. It is used to develop applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia,[4] and the web from a single codebase.[5]
The first version of Flutter was known as codename "Sky" and ran on the Android operating system. It was unveiled at the 2015 Dart developer summit,[6] with the stated intent of being able to render consistently at 120 frames per second.[7] During the keynote of Google Developer Days in Shanghai, Google announced Flutter Release Preview 2, which is the last big release before Flutter 1.0. On December 4, 2018, Flutter 1.0 was released at the Flutter Live event, denoting the first "stable" version of the Framework. On December 11, 2019, Flutter 1.12 was released at the Flutter Interactive event.[8]
On May 6, 2020, the Dart SDK in version 2.8 and the Flutter in version 1.17.0 were released, where support was added to the Metal API, improving performance on iOS devices (approxim
@kunny
kunny / note_colors.dart
Created February 17, 2021 04:12
Class 101 / Flutter / 3-5
static const colorDefault = Colors.white;
static const colorRed = Color(0xFFFFCDD2);
static const colorOrange = Color(0xFFFFE0B2);
static const colorYellow = Color(0xFFFFF9C4);
static const colorLime = Color(0xFFF0F4C3);
@kunny
kunny / privacy_policy.md
Created February 20, 2021 06:26
Class 101 / Flutter / Privacy Policy Template

1. 개인정보 처리방침이란?

회사 이름(이하 “회사”)는 이용자의 동의를 기반으로 개인정보를 수집, 이용 및 제공하고 있으며, 이용자의 권리 (개인정보 자기결정권)을 적극 보장합니다.

회사는 정보통신서비스제공자가 준수하여야 하는 대한민국의 관계 법령 및 개인정보보호 규정, 가이드라인을 준수하고 있습니다. “개인정보처리방침”이란 이용자의 소중한 개인정보를 보호함으로써 이용자가 안심하고 서비스를 이용할 수 있도록 회사가 준수해야 할 지침을 의미합니다.

본 개인정보처리방침은 회사가 제공하는 앱에 적용됩니다.

2. 개인정보 수집

@kunny
kunny / build.gradle
Last active February 21, 2021 14:14
Class 101 / Flutter / 8-2 (build.gradle part 1)
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties');
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
@kunny
kunny / build.gradle
Last active February 21, 2021 20:19
Class 101 / Flutter / 8-2 (build.gradle part 2)
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
@kunny
kunny / deploy_checklist.md
Last active February 21, 2021 20:20
Class 101 / Flutter / 8-1

첫 배포시 체크할 항목

  • 개인정보처리방침 작성
  • 개인정보처리방침 게시
  • 스토어 등록정보 작성
  • 앱 버전 업데이트 (필요한 경우)
  • 앱 정상 동작 여부 테스트
  • 광고 설정 확인하기

업데이트 배포시 체크할 항목

  • 릴리즈 노트 작성