by Hazard 2014.01.03 20:26

- Multi-AZ

- Read Replica

  . In this case, need load balancing (HA-Proxy or MySQL-Proxy)

  . Is our solution read intensive?


  Multi-AZ :

  Best Practices :

  MySQL-Proxy :

  HAProxy :

  Read Replica :

  Read Replica Load Balancing :


'Programming > Cloud' 카테고리의 다른 글

AWS re:Invent - Netflix Development Patterns  (0) 2014.01.03
RDS Durability and Availability  (0) 2013.12.30
by Hazard 2013.12.30 13:30

by Hazard 2012.11.30 11:36

Filament 에서 만든 jQuery Mobile 용 Pagination Plugin 인데

생각보다 미려합니다.

하지만 단독 html 페이지 만 링크에 적용할 수 있고,

페이지 전환시 함수 호출을 타고 다음 Page로 가는구조 (즉, script 에서 페이지 전환을 하는경우)

사용할 수 없습니다.

시간이 되면 새로하나 만들고 싶긴 하군요.


by Hazard 2012.11.26 16:03

Google Picasa web album에 있는 공개 사진들을 App에서 이용하고 싶을때

다음 Link로 활용하면 좋을 것 같다.




by Hazard 2012.11.26 13:40

Download here

V1.18 - 2012/12/6

- Get photos from gallery

- Support TTS

V1.17 - 2012.12.5

- Play order bug has been fixed.

- Little bit faster.

- Get photos from Picasa

- Button UI changed

- Select previous Picasa photo

- Resize bug has been fixed

V1.13 - 2012/11/27

- Get photos from Picasa


If you want to find something awesome photos, just type the key word and touch Picasa button.


딸내미가 Flashcard를 좋아하는데 종이카드는 한계가 있다는 생각에 알맞은 App이 없을까 찾아봤는데 마음에 드는게 별로 없더군요. 

그래서 공부도할겸 만들어보는것도 좋겠다는 생각이 들었습니다.

회사 끝나고 집에와서 낑낑대며 만들었는데, 몇줄 되지도 않는데 일주일이나 걸렸네요. ㅜ.ㅜ

대강 만들고 시전해보니 생각보다 애기가 좋아하더군요.

특히 좋은점은 엄마 사진을 찍어 Mother 에 라고 맵핑시키니 곧잘 따라합니다 ^^

지금은 생각보다 미려하진 않지만, 나름 업데이트 계획이 많이 있습니다.


Deck을 만들고 저장할 수 있습니다.

그리고 물론 Flashcard 놀이도 할수 있습니다.

사진을 찍어고 단어를 입력후 Deck에 추가합니다.



가로보기도 지원합니다.

'Nunu Releasenote' 카테고리의 다른 글

Nunu Flashcard Maker  (0) 2012.11.25
Todo list on web - Nunu Todo 0.1  (0) 2012.08.21
by Hazard 2012.11.25 20:32

Integrating AdMob's Native Android SDK with your Android PhoneGap App

Versions Used / Confirmed Working

  • PhoneGap 2.0.0
  • AdMob Native Android SDK: 6.1.0


Traditionally one of the most popular ways to monetize PhoneGap apps with ads has been to use AdMob's Smartphone Web Ads. These JavaScript powered ads fit in nicely with PhoneGap's build once, deploy everywhere paradigm. However earlier this year Google disabled the Smartphone Web ad types in favor of AdSense. The caveat with this being, in order to integrate AdSense and stay compliant with AdSense's terms and conditions, the ads must be embedded in a location that is freely accessible on the web to utilize AdSense's automatic contextualization, and that requires the location to be crawleable. Do not expect to be able to copy and paste in AdSense's ad code into your PhoneGap app, as you would do on a normal mobile site, your AdSense account will most likely be quickly closed for violating the terms and conditions.


It is easy to use AdMob's Native Android SDK to integrate ads into your PhoneGap app. This will display AdMob in addition to AdSense ads (in a Terms and Conditions compliant manor) to help monetize your PhoneGap app as efficiently as possible. If you are not an AdSense user, or wish to only include AdMob ads, you can opt to not enable AdSense under the AdMob control panel.

Step 1) Install AdMob's Native Android SDK

  • Download the Android AdMob SDK
  • Copy GoogleAdMobAdsSdk-*.*.*.jar to your PhoneGap's libs directory.
  • In Eclipse, Right or secondary click on your project, choose 'Build Path' then the last menu item 'Configure Build Path'.
  • Select the 'Libraries' tab
  • Click 'Add Jars'
  • Select yourProject/libs/GoogleAdMobAdsSdk-*.*.*.jar

Step 2) Include Newly Installed Library

  • Open yourProject/src/com.*.*/
  • Expand the collapsed inclusions (The + next to import android.os.Bundle; by default)
  • Add import*;

Step 3) Configure your AdMob ad unit ID

Inside your MainActivity create a string for your ad id with the following code:

private static final String AdMob_Ad_Unit = "Unit_ID_Here";

Be sure to include your own ad unit id, otherwise no ads will be displayed

Step 4) Create your Ad View

Below your unit id string, add a new view:

private AdView adView;

Following PhoneGap's super.loadUrl call, you'll configure and initialize your new Ad View as follows:

adView = new AdView(this, AdSize.BANNER, AdMob_Ad_Unit); 
LinearLayout layout = super.root;
AdRequest request = new AdRequest();

View complete example of this file

Step 5) Define activity in AndroidManifest.xml

After your MainActivity, create define the ad activity:

<activity android:name=""

View complete example of this file

Step 6) Disable Testing Mode

Be sure to disable testing mode before deploying to Google Play by changing the value to false, commenting out or deleting the following line from your


by Hazard 2012.11.25 20:15

- Phonegap 프로젝트를 command line 에서 생성시 다음과 같은 에러가 발생할 때가 있습니다.

 Could not retrieve the commons-codec. Please download it yourself and put into the framework/libs directory. This process may fail now. Sorry.

......  create.js(97, 7) Microsoft JScript 런타임 오류: 'NameSpace(...)'은(는) null 이거나 개체가 아닙니다.

- 시키는대로 commons-codec을 다운받아. 지정된 디렉토리에 넣어야합니다.

   Download Here

'Programming > Phone' 카테고리의 다른 글

Picasa Web Albums Data API  (0) 2012.11.26
Phonegap AdMob Integration - 폰갭 애드몹 연동  (0) 2012.11.25
Phonegap Project 생성시 오류  (0) 2012.11.19
How to add Adsense to jQuery mobile page.  (0) 2012.08.22
iOS Reference Library  (0) 2010.11.18
갤럭시S 출시  (0) 2010.06.08
by Hazard 2012.11.19 12:16


by Hazard 2012.08.22 23:29


1. App Engine + jQuery mobile

2. It's free

3. Do not save any critical information.

4. If you 'Complete' all task, there is no data on server side. - it doesn't store the completed task.

5. This app does not store any account information except for the email address (It should be used for the primary key of your todo)

6. App Engine's daily quota is limited, so sometimes it can be unavailable.

7. If you have any comments, please e-mail me. (

8. It supports the apple-touch-icon, so you can add the short cut on the iPhone home screen.


9. Due date field added.

10. Today slider added.


11. Add Adsense

12. Optimize datastore read operation.

Due date setting

Toggle slider for today

- Hazard -

'Nunu Releasenote' 카테고리의 다른 글

Nunu Flashcard Maker  (0) 2012.11.25
Todo list on web - Nunu Todo 0.1  (0) 2012.08.21
by Hazard 2012.08.21 00:03
| 1 2 3 4 ··· 7 |