<!DOCTYPE HTML> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> <link rel=”dns-prefetch” href=”//www.robgravelle.com/”> … “The recommended best practice is to have your prefetch requests queued to the client OS as early as possible. It is also preferred to have them received in the first packet of the HTML. Therefore, explicit prefetch links should be placed…
Category: Web Development
Aptana Increase Memory Size & Excluding unnecessary files
Mac Application -> Aptana Studio 3 -> Click “AptanaStudio3.app” -> Right Click “Show Package Contents” -> Contents -> MacOS -> Open “AptanaStudio3.ini” with any text editor 1. –launcher.XXMaxPermSize 512m 2. -Xms512m 3. -Xmx1024m -startup ../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar –launcher.library ../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.101.v20120109-1504 –launcher.XXMaxPermSize 512m –launcher.defaultAction openFile -vmargs -Xms512m -Xmx1024m -Declipse.p2.unsignedPolicy=allow -Declipse.log.size.max=10000 -Declipse.log.backup.max=5 -Xdock:icon=../Resources/aptana.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts Windows Go to C:\Users\Chris\AppData\Local\Aptana Studio…
HTML5 Application Cache
A BEGINNER’S GUIDE TO USING THE APPLICATION CACHE – Reference: http://www.html5rocks.com/en/tutorials/appcache/beginner/ ……………………………………………… Using the cache interface gives your application three advantages: Offline browsing – users can navigate your full site when they’re offline Speed – cached resources are local, and therefore load faster. Reduced server load – the browser will only download resources from…
Image related websites
Browser CSS Differences (IE6 IE7 Firefox)
Typically the 3 major browsers used are Firefox, IE6 and IE7. Perhaps you thought they would behave the behave the same when rendering CSS in the browser window? If only life were that simple. (This article is from http://neilkilbride.blogspot.com/2008/01/browser-css-differences-ie6-ie7-firefox.html) Although Firefox and IE7 and more similar than ever in rendering CSS, IE6 has always had…
[CSS] TARGETING IE7 USING CSS
IE7 is still in beta but with things apparently being layout complete, this hack may stick around until final launch. It’s a variation on the underscore hack. (This code snippet is from http://snook.ca/archives/html_and_css/targetting_ie7) Here’s a quick example: [code] p{ border:1px solid green; /* works in all */ *border:1px solid red; /* targets IE6 and 7…
[PHP/AJAX/JAVASCRIPT] 한글 깨지는 현상
1. Ajax를Ajax를 이용해 PHP에서 한글로 javascript에 값을 던지는 경우에 한글이 깨진다. PHP -> javascript 인 경우 www.itpass.co.kr 의 생방송특강창에서 javascript로 1분마다 한번씩 Live인지를Live인지를 체크하기 위해서 PHP에 물어본다. 요청을 받은 PHP는 다시다시 javascript에게 결과 값을 던저준다. 이 때 Live이면 한글 강의 제목을 던져준다.던져준다. – 던지는 PHP에서 값 처리 : rawurlencode(iconv(“CP949”, “UTF-8”, $return_str))$return_str)) – 받는 Javascript에서 값…