목록Language/JavaScript (8)
幸福伝説
문제: 자바스크립트에서 OS 시스템 환경변수 사용하기 How to Show System Environment Variables using VBScript/JScript under Window Scripting Host Under WSH (Windows Script Host), you can access the COM object WScript.Shell for some useful functions. For example, the collection Environment provides the environment variables, so you can easily use either JScript or VBScript to access some particular information. Types of..
/* This is the pseudocode you need to follow: * It's a modified version from * http://en.wikipedia.org/wiki/Geographic_coordinate_conversion#Conversion_from_Decimal_Degree_to_DMS function deg_to_dms ( degfloat ) Compute degrees, minutes and seconds: deg ← integerpart ( degfloat ) minfloat ← 60 * ( degfloat - deg ) min ← integerpart ( minfloat ) secfloat ← 60 * ( minfloat - min ) Round seconds to..
--=================================================== -- 좌표계 정보 --=================================================== http://spatialreference.org/ --=================================================== -- proj4 download url --=================================================== http://trac.osgeo.org/proj4js/wiki/Download proj4js.org/ [출처] http://www.gisdeveloper.co.kr/946 http://blog.naver.com/Pos..
http://programmingsummaries.tistory.com/204
[출처] http://blog.naver.com/PostView.nhn?blogId=writer0713&logNo=220033678729 RequireJS 살펴보기 RequireJS는 자바스크립트 코드를 모듈화 하고, 모듈간의 종속성을 깔끔하게 해결해 줍니다. Java나 Python과 같은 일반적인 언어들의 경우 언어 측면에서 기본적인 모듈화 방안을 제공합니다만, 자바스크립트의 경우 기본적으로 글로벌 네임스페이스를 공유함으로 신경써서 관리하지 않으면 유지보수가 어려워 집니다. RequireJS는 비단 브라우저 환경 뿐만 아니라, NodeJS와 같은 환경에서도 활용될 수 있으므로, 스크립트 최적화와 관리에 큰 도움이 될 것이니다. 이 글은 requirejs.org의 문서 내용을 기반으로 정리하였습니다. 번..
[출처] http://stackoverflow.com/questions/464332/internet-explorer-full-screen-mode This will simply send F11. Will be good enough for IE with weak security settings. This is something you might want to keep for internal use only, though: Here is some information regarding that problem: http://www.htmlgoodies.com/beyond/dhtml/article.php/3470521And to sum up the info, paste this bit of JS into the..
[오류] Problem executing: prod war The command 'D:\Program Files\Java\jdk1.6.0_26\bin\javaw.exe (2014. 8. 18. 오후 6:10:47)' was terminated because it didn't produce new output for some time. See details for the output produced so far. If you think the command simply needed more time, you can increase the time limit in the Grails preferences page. See menu Windows >> Preferences >> Grails >> Launch ..
http://koxo.com/