Loading Sencha Touch controllers and views dynamically http://www.onlinesolutionsdevelopment.com/blog/web-development/javascript/loading-sencha-touch-controllers-and-view-files-dynamically/ Dynamic Sencha Touch Forms – Part 1 – Enabling/Disabling Fields based on form selections http://www.swarmonline.com/2011/01/dynamic-sencha-touch-forms-part-1-enablingdisabling-fields-based-on-form-selections/ Mobile Chat with Sencha Touch + node.js + socket.io https://github.com/mrsunshine/Mobile-Chat-with-Sencha-Touch—node.js—socket.io- One of sample code – worth to refer http://pastebin.com/uF50X67Y DOWNLOAD: sencha_sample Sencha Touch 1.x: Examples and Showcases…
네이버에서 실시간 환율 정보 받기 (Get real-time currency information from Naver)
업데이트 버젼 (Updated Version): https://chrislee.kr/wp/2020/11/21/%ec%8b%a4%ec%8b%9c%ea%b0%84-%ed%99%98%ec%9c%a8-%eb%b0%9b%ec%95%84%ec%98%a4%ea%b8%b0-get-real-time-currency-information/ 실시간 환율 정보를 받기 위해 자료를 찾아보는 중, 네이버 환율 API를 발견하였다. ( [출처] 네이버 환율정보 api 이용한 php 위젯 개발 하기 |작성자 usback]) http://www.naver.com/include/timesquare/widget/exchange.xml 여기서 의문점은 저 블로그에서 xml 주소를 열어보면, xml 정보가 보이지만 저 주소를 복사 한 뒤 볼려고 하면, 퍼미션 에러가 난다. 결론은 저 xml은 레퍼러 체크를…
R.I.P. Steve Jobs
Thank you for giving us new era of mobile technology. I hope you have peaceful life in the heaven. Please stop working in there. Everyone will remember you and your achievements forever.
Codeigniter 2.0 – CSRF Enabled
References: jQuery axaj for Codeigniter 2: http://kevinphillips.co.nz/news/jquery-axaj-codeigniter-2 CSRF Protection in CodeIgniter 2.0: A closer look: http://www.beheist.com/index.php/en/blog/csrf-protection-in-codeigniter-2-0-a-closer-look AJAX with CSRF Protection in Codeigniter 2.0: http://aymsystems.com/ajax-csrf-protection-codeigniter-20
컴퓨터 사용과 목디스크 예방 요령
AIR for TV
Article Link: http://learn.adobe.com/wiki/display/airquestions/AIR+for+TV What tools do developers use to create AIR 2.5.1 apps for TVs? Developers can use the following tools: AIR 2.6 SDK Flash Professional CS5 Extension for AIR 2.5 (now an integral feature in Flash Professional CS5.5) Flash Builder 4.5 Note: Developers can use the AIR 2.6 SDK for developing apps for AIR 2.5.1 for…
Samsung TV SDK 2.5 – Javascript Error keyCode
Samsung SDK 2.5 editor provides ‘Basic Javascript Project’; however, it contains Reference Error when you launch first time like below: Error Detail : ReferenceError: keyCode is not defined It is caused because template code has capitalize error. Find below code: Main.MainKeyHandler = function() { var KeyCode = event.keyCode; switch(keyCode) { … }…
Developing a website based on Adobe Flex
Since I decided to learn how to develop a website based on Adobe flex, I will gather many useful resources as much as I can. 1. Live Flex 3 training videos created by Mike Lively of Northern Kentucky University Live Flex 3 Training Part 1 (Building a Website) – http://www.youtube.com/watch?v=xrjmImF0CKE Live Flex 3 Training Part…
Nothing can overcome ‘Permission Denied’ error to get location.href
Except Adobe Air? Adobe Air Web Browser: http://www.lucentminds.com/archives/adobe-air-web-browser.html All I need was an URL, man.
PHP Proxy Script
Quoted from http://phpproxies.com/ Proxy Scripts Glype Glype is new, released just in January 2009, but it has already been downloaded 15,000 times. PHP Web Proxy This script is used for many different proxy sites, download it through SourceForge. PHPProxy Freshmeat.net’s script can turn your web host’s server into a proxy server in no time. If…
MainWindow.xib absence in Xcode 4.2 beta 4 with iOS 5 SDK
“FYI, I am very newbie in iPhone development.” I had upgraded Xcode to 4.2 beta 4 and realised that there is no more templates for iOS 4. Obviously, it did not include iOS 4 SDK because it said “with iOS 5 SDK”, duh! I could not go back to Xcode beta 3 since I upgraded…
unserialize() [function.unserialize]: Error at offset 00000 of 0000 bytes
If serialize string contains ‘&’, then the error occurs when unserialize the string. unserialize() [function.unserialize]: Error at offset 00000 of 0000 bytes Simply change ‘&’ to ‘&’, by replacing it. $string = str_replace(‘&’, ‘&’, $string); $test_array = unserialize($string);
CSS Custom Fonts for all browsers
Use Font Squirrel to create compatible fontface: http://www.fontsquirrel.com/fontface/generator Confirmed working in IE, Chrome, Firefox 1. Upload font file and get zip file 2. Copy CSS code to your code 3. Done Not compatible for IE: From Symphony of dot net: http://symphony-of-dot-net.blogspot.com/2010/03/making-css-custom-font-works-with-ie.html @font-face { font-family: my_font; src: url(‘my_font.eot’); src: local(my_font), url(‘my_font.ttf’) format(‘opentype’); } p…
Only show Paging Toolbar when appropriate
One of Sencha User, Joel, pointed out one of problems in Sencha Touch ListPagingPlugin that display ‘Load more…’ message even if a result gave less rows than paging size. Below code he suggested will fix the problem: Ext.override(Ext.plugins.ListPagingPlugin, { onListUpdate : function() { if (this.list.store && this.list.store.data.length < (this.list.store.currentPage * this.list.store.pageSize)) { if (!this.rendered) {…
HTML Purifier
HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist, it will also make sure your documents are standards compliant, something only achievable with a comprehensive knowledge of W3C’s specifications. Tired of using…
Symbolic link for Window and MAC OS X
I needed to make symbolic link for Windows machine to be shared with Mac OS X platform. Turns out, I cannot create symbolic link for both platform at once(or not?) In addition, Linux(web hosting) also cannot be shared symbolic link. Therefore, I have to create symbolic link for all platform separately. 1. Windows. – Link…
How to mount Bootcamp drive
How to mount Bootcamp drive I opened Disk Utility and found that Bootcamp partition is not able to mount. And when I try to mount, Disk Utility kept saying: Mount failed The disk “BOOTCAMP” could not be mounted. Try running First Aid on the disk and then retry mounting. Don’t believe ntfs-3g, MacFuse, and so…
Samsung TV Application SDK UX Guideline
Samsung_TV_Application_SDK_UX_Guideline_1.0 – Version 1.0 Points 1. Design Principles – TV screen should not contain too much information. – Accurate navigation for user operation – Actions like Move, Return, Enter must be clear – TV is using a restricted control method “Remote Control” – Consistency of Button Operations (ex; Green: Sorting or Preference, Yellow: Check or…
Running Samsung TV Apps SDK on Boot Camp
I have windows running bootcamp and tried to launch Samsung TV Apps SDK(IDE); however, it crashes windows every launch. Tested so far; but crashed all the time: – Windows 7 32bit on Boot Camp 3 (iMac, Macbook Air, Macbook Pro) – Windows Vista 32bit on Boot Camp 3 (iMac) Cannot run Samsung TV IDE due…
Upgrade to Codeigniter 2.0
$this->input->xss_clean(); In codeigniter 2.0, you will need to modify $this->input->xss_clean() to $this->secuirty->xss_clean(). Otherwise, it won’t work. Of course, don’t forget to load ‘security’ library before you use the function. extends Controller or extends Model You will need to change class Test extends Controller to class Test extends CI_Controller And class Test extends Model to class…
Cross Site Request Forgery (CSRF)
http://en.wikipedia.org/wiki/Cross-site_request_forgery Click to access Using_XSS_to_bypass_CSRF_protection.pdf
Facebook Profile? or Fan Page?
Profile vs Fan Page Profile: Need to accept friend request Fan Page: Anyone can be fan of product or company In reality, people can like something without permission. To advertise products or company, it makes more sense to make fan page rather than profile. The 8 Success Criteria For Facebook Page Marketing According to “The…
Does wordpress run ‘crontab’ for scheduled cron jobs?
Does wordpress run ‘crontab’ for scheduled cron jobs? Answer is no. According to Codex document, scheduled tasks are executed by visitors. It means that if visitors are not accessing your blog, it won’t be executed. However, it won’t be matter for public blogs or websites due to search engine robots, which are working hearty to…