[MySQL] Replication (복제) 출처: http://hanaduri.egloos.com/2389708 MySQL Replication(복제)은 한 개나 2개 이상의 MySQL database server(slave)가 하나의 MySQL database server(master)로 부터 데이터를 복제해 갈 수있는 기능을 제공한다. MySQL Replication은 비동기 방식으로 처리된다. 즉, slave는 master로부터 데이터를 받아 복제하기 위해 항상 mas.. IT_DBMS/MySQL & Maria DB 2015.01.13
[펌] GCM Architecture 출처: http://jultech.tistory.com/m/post/2 GCM 이란? http://developer.android.com/google/gcm/gcm.html 중요한 구문 It uses an existing connection for Google services. For pre-3.0 devices, this requires users to set up their Google account on their mobile devices. A Google account is not a requirement on devices running Android 4.0.4 or higher. 즉, OS 버전 3.0 이하(.. IT_Programming/Android_Java 2015.01.13
[펌] Asynchronous Background Execution and Data Loading with Loaders (Framework) in Android 출처: http://codetheory.in/asynchronous-background-execution-and-data-loading-with-loaders-framework-in-android/ Android has this Loader framework that offers a powerful (yet simple) way to asynchronously load data from content providers or other data sources like an SQLite database, network operation, et al. in an Activity or a Fragment (clients). Loaders have already been .. IT_Programming/Android_Java 2015.01.10
[펌] Using AsyncQueryHandler to Access Content Providers Asynchronously in Android 출처 : http://codetheory.in/using-asyncqueryhandler-to-access-content-providers-asynchronously-in-android/ : http://blog.justoneplanet.info/2011/10/11/asyncqueryhandlerを使ってsqliteのクエリを非同期処理する/ In our previous posts we discussed SQLite access and Content Providers. Now access to a content provider will involve accessing some sort of persist.. IT_Programming/Android_Java 2015.01.08
[PHP] 정규표현식으로 깨진 문자 없애기 출처: http://www.aierse.net/neko/nekoTop.php?mode=content&menu=category&main_no=314&category=computer substr()등을 이용했을 시 한글이 깨지게 되는데, 이 때 정규표현식 ^([\x00-\x7e]|.{2})* 를 보자. ^ : ^뒤의 문자열로 시작되는 것 () : 그룹화 [] : 안에 있는 문자열 중에서 하나의 문자 \x00-\x7e : ACSII 코드값의 0-126번째.. IT_Programming/PHP 2015.01.07
자바스크립트 완벽가이드 - 9.8 예:유틸리티 메서드인 defineClass() 출처: http://wiki.codekin.com/index.php/9.8_%EC%98%88:%EC%9C%A0%ED%8B%B8%EB%A6%AC%ED%8B%B0_%EB%A9%94%EC%84%9C%EB%93%9C%EC%9D%B8_defineClass() function defineClass(data) { // 전달인자 객체에서 우리가 사용할 필드를 추출 // 기본값을 설정 var classname = data.name; var superclass = data.extend || Object; var constructor = data.construct || function() {};.. IT_Programming/JavaScript 2015.01.02
자바스크립트 완벽가이드 - 9.7 객체 타입 판단하기 원본 주소 ‘http://wiki.codekin.com/index.php?title=9.7_%EA%B0%9D%EC%B2%B4_%ED%83%80%EC%9E%85_%ED%8C%90%EB%8B%A8%ED%95%98%EA%B8%B0&oldid=681’ typeof 연산자 사용 (기본 타입을 객체와 구별하는데 가장 유용) typeof undefined 는 'undefined', typeof null은 'object' 배열은 객체이기 때문에 타입도 'object' 함수는 객체이긴 하지만 타.. IT_Programming/JavaScript 2015.01.02
[펌] HTML5 Canvas base64 데이타를 Android Bitmap으로 사용하기 출처: http://blog.jidolstar.com/822 HTML5의 Canvas이미지를 가져다가 안드로이드에서 Bitmap으로 사용할 수 있다. (어떤 경우에 있겠지?) 아래 코드는 그걸 실험해 보려고 만든 테스트 코드이다. 일단 HTML5의 Canvas를 사용해 그림을 그린후 canvas.toDataURL().toString()을 사용해 Base64 문자열을 뽑아낸다. 12345.. IT_Programming/Android_Java 2015.01.02
[펌] 자바스크립트의 호이스팅(hoisting)이란? - 함수내 정의된 var, 함수, 클로저 동작의 진실 출처: http://blog.jidolstar.com/813 자바스크립트의 호이스팅(hoisting)이란? 자바스크립트(javascript)에서 호이스팅은 어떤 메커니즘으로 동작할까요? 함수 내부에 정의된 var 선언문과 함수 표현식, 함수 선언문의 동작방식을 제대로 이해할 수 있는 계기가 되길 바랍니다. 또한 클로저에 대한 진실.. IT_Programming/JavaScript 2015.01.02
Branding the EdgeEffect aka Hit the Wall with Your Own Color 출처: http://evendanan.net/android/branding/2013/12/09/branding-edge-effect/ Lately, I've become sort of branding obsessed; colors, font sizes and types, UI language, they all seem so important to me, I can hardly look at an App these days without pulling on my hairs and scream "God, oh God, why would they use inconsistent, non-brand colors!" Ya, but that's my problem. Your .. IT_Programming/Android_Java 2015.01.01