링크: http://chanlee.github.io/post/requirejs-deep-dive/

posted by 뚱2

링크: http://www.slideshare.net/constantinekim/ss-16288479

링크: http://ohgyun.com/492

샘플: https://github.com/jrburke/r.js/blob/master/build/example.build.js

샘플: http://www.svlada.com/blog/require-js-optimization-part2/

posted by 뚱2

링크: https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Using_full_screen_mode#Notification

posted by 뚱2

[Java] HikariCP Connection Pool

Java/Java 2014. 10. 12. 00:46

링크: https://github.com/brettwooldridge/HikariCP

링크: https://github.com/brettwooldridge/HikariCP/wiki/Hibernate4

링크: https://github.com/brettwooldridge/HikariCP/wiki/MySQL-Configuration

링크: https://github.com/brettwooldridge/HikariCP/wiki/Spring-Hibernate


국내 링크: http://netframework.tistory.com/431


성능이 좋다는 말이 있다. 우선 테스트로 사용해 보고 판단하자.


Springframework datasource (context-datasource.xml)

<!-- HikariCP configuration -->

<bean id="dataSource" class="com.zaxxer.hikari.HikariDataSource" destroy-method="shutdown">

    <constructor-arg>

        <bean class="com.zaxxer.hikari.HikariConfig">

            <constructor-arg>

                <props>

                    <prop key="dataSource.url">jdbc:mysql://localhost/database</prop>

                    <prop key="dataSource.user">username</prop>

                    <prop key="dataSource.password">password</prop>

                    <prop key="dataSource.cachePrepStmts">true</prop>

                    <prop key="dataSource.prepStmtCacheSize">250</prop>

                    <prop key="dataSource.prepStmtCacheSqlLimit">2048</prop>

                    <prop key="dataSource.useServerPrepStmts">true</prop>

                </props>

            </constructor-arg>

            <property name="dataSourceClassName" value="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" />

            <property name="minimumIdle" value="5" />

            <property name="maximumPoolSize" value="10" />

            <property name="connectionTestQuery" value="SELECT 1" />

            <property name="connectionTimeout"  value="300000" />

        </bean>

    </constructor-arg>

</bean>



Tomcat + Jndi (context.xml)

<Resource name="jdbc/myJndiName"

          auth="Container"

          factory="com.zaxxer.hikari.HikariJNDIFactory"

          type="javax.sql.DataSource"

          dataSourceClassName="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"

          minimumIdle="5"

          maximumPoolSize="10"

          connectionTimeout="300000"

          connectionTestQuery="SELECT 1"


          dataSource.url="jdbc:mysql://localhost/database"

          dataSource.user="username"

          dataSource.password="password"

          dataSource.cachePrepStmts="true"

          dataSource.prepStmtCacheSize="250"

          dataSource.prepStmtCacheSqlLimit="2048"

          dataSource.useServerPrepStmts="true"

          />


'Java > Java' 카테고리의 다른 글

[Java] tattletale (프로젝트 구성을 볼수 있음)  (0) 2015.03.08
[Java] 자바 매크로  (0) 2015.01.20
[Java] Java Installer IzPack  (0) 2014.06.24
[Java] Current Project classpath  (0) 2014.05.31
[Java] Cron 문법  (0) 2014.03.31
posted by 뚱2

링크: https://github.com/mishoo/UglifyJS

posted by 뚱2

링크: https://github.com/requirejs/text


posted by 뚱2

링크: http://addyosmani.com/blog/taming-the-unicorn-easing-javascript-memory-profiling-in-devtools/

posted by 뚱2

링크: http://macnews.tistory.com/894


posted by 뚱2

링크: http://johngafford.com/knockoutAnimate/


posted by 뚱2

[Chrom] 크롬 알람 사용 중지

일반 2014. 9. 3. 11:42

링크: https://support.google.com/chrome/answer/3220216?hl=ko





이거 사용하지도 않는데 몇번을 뜨는지


# 설정 변경

1. 설정으로 들어간다.

2. 고급 설정 표시를 클릭한다.

3. '개인정보' 센셕에서 콘텐츠 설정을클릭한다.

5. '알림' 섹션으로 스크롤한다.

6. '모든 사이트에서 데스크톱 알림을 표시하도록 허용 안함'을 선택한다.







# flag 변경

1. 크롬 주소창에 'chrome://flags'를 입력한다.

2. '기기 검색 알림 Mac, Windows, Linux, Chrome OS' 항목을 사용 중지로 선택한다.

3. '동기화된 알림 사용 Mac, Windows, Linux, Chrome OS '항목을 사용 중지로 선택한다.



'일반' 카테고리의 다른 글

[png] png최적화 pngguant  (0) 2014.07.14
[Internet] 인터넷 미디어 타입  (0) 2014.06.24
[CI] Continuous Intergation by Martin Fowler (지속적 통합)  (0) 2014.04.02
[REST] REST API 설계  (0) 2014.01.21
노땅 개발자가 가야할길  (0) 2014.01.19
posted by 뚱2

조금만 찾아보면 누군가 만들어 놓은 라이브러리들이 참 많다.

링크: http://semu.github.io/timesheet.js/

posted by 뚱2

[Git] pro-git PDF

VCS/Git 2014. 8. 27. 11:39

링크: http://dogfeet.github.io/progit/progit.ko.pdf


이런책을 오픈해 주셔서 정말 감사합니다. 잘 보겠습니다.

'VCS > Git' 카테고리의 다른 글

[GitHub] Gist 테스트  (0) 2014.12.04
[Git] Github를 이용하는 전체적인 흐름  (0) 2014.11.30
[Git] Upgrading to Git 2.0  (0) 2014.08.25
[Git] OS X Mountain Lion에 Git Server 설치  (0) 2014.08.20
[Git] Generating ssh keys  (0) 2014.08.18
posted by 뚱2

[Git] Upgrading to Git 2.0

VCS/Git 2014. 8. 25. 17:59

링크: http://rayhightower.com/blog/2014/05/30/upgrading-to-git-2-dot-0/

링크: http://apple.stackexchange.com/questions/93002/how-to-properly-update-git-on-mac

'VCS > Git' 카테고리의 다른 글

[Git] Github를 이용하는 전체적인 흐름  (0) 2014.11.30
[Git] pro-git PDF  (0) 2014.08.27
[Git] OS X Mountain Lion에 Git Server 설치  (0) 2014.08.20
[Git] Generating ssh keys  (0) 2014.08.18
[Git] redmine과 Git repository 연동  (1) 2014.08.05
posted by 뚱2

[Mac] howdoi

OS/Mac 2014. 8. 21. 11:05

링크: https://github.com/gleitz/howdoi?body=


명령어로 쉽게 쉽게 찾아볼때?


홈페이지 소개는 "instant coding answers via the command line" 이렇습니다.


전 로컬에 homebrew가 설치되어 있어서 아래와 같이 설치 했습니다.


#기본적으로 Hombrew와 Python이 설치되어 있어야 합니다.


$ brew install https://raw.github.com/gleitz/howdoi/master/howdoi.rb


그랬더니 아래와 같은 에러가 ㅡㅡ;


> ==> python setup.py install

>

> http://peak.telecommunity.com/EasyInstall.html

>

> Please make the appropriate changes for your system and try again.


다행이 홈페이지에 처리 방법이 나와 있었습니다.


#권한 문제(?)

sudo chmod -R go+w /Library/Python/2.7/site-packages/


#권한 문제 해결하고 다시 설치

brew install https://raw.github.com/gleitz/howdoi/master/howdoi.rb


사용방법

$ howdoi format date bash

> DATE=`date +%Y-%m-%d`



posted by 뚱2



* Mac을 기준으로

Preferences -> Editor -> Editor Tabs -> Mark modified tabs with asterisk -> [체크]


posted by 뚱2

링크: http://redcarrottt.com/?p=473

'VCS > Git' 카테고리의 다른 글

[Git] pro-git PDF  (0) 2014.08.27
[Git] Upgrading to Git 2.0  (0) 2014.08.25
[Git] Generating ssh keys  (0) 2014.08.18
[Git] redmine과 Git repository 연동  (1) 2014.08.05
[Git] git으로 디버깅 하기  (0) 2014.07.21
posted by 뚱2

[Git] Generating ssh keys

VCS/Git 2014. 8. 18. 20:28

링크: https://help.github.com/articles/generating-ssh-keys

'VCS > Git' 카테고리의 다른 글

[Git] Upgrading to Git 2.0  (0) 2014.08.25
[Git] OS X Mountain Lion에 Git Server 설치  (0) 2014.08.20
[Git] redmine과 Git repository 연동  (1) 2014.08.05
[Git] git으로 디버깅 하기  (0) 2014.07.21
[Git] Git Tutorials and Training (Atlassian)  (0) 2014.07.13
posted by 뚱2

[C++] chilkatsoft

C/C++/VC++ / MFC 2014. 8. 10. 22:12

링크: http://www.chilkatsoft.com/refdoc/


'C/C++ > VC++ / MFC' 카테고리의 다른 글

[C++] Crypto++  (0) 2014.07.25
[WinDBG] 사용시 참고할만한 사이트  (0) 2014.01.03
[VC++] dependency walker  (0) 2013.08.07
[VC++] Device Info  (0) 2013.06.13
[VC++] Getting the PropertyData of ManagementObject in C++  (0) 2013.06.12
posted by 뚱2

링크: http://docs.jboss.org/hibernate/core/4.3/manual/en-US/html/ch03.html#configuration-logging 



When developing applications with Hibernate, you should almost always work with debug enabled for the category org.hibernate.SQL, or, alternatively, the property hibernate.show_sql enabled.

posted by 뚱2

링크: http://www.ducea.com/2007/07/25/dumping-mysql-stored-procedures-functions-and-triggers/


function, Procedure Backup

mysqldump --routines --no-create-info --no-data --no-create-db --skip-opt <database> > outputfile.sql


trigger 제외시키기

mysqldump --routines --no-create-info --no-data --no-create-db --skip-opt --skip-triggers <database> > outputfile.sql


'DB / NoSQL > MariaDB/MySQL' 카테고리의 다른 글

[MySQL] MySQL Cursor  (0) 2014.10.16
[MySQL] 13.5 SQL Syntax for Prepared Statements  (0) 2014.10.16
[MySQL] Update Join  (0) 2014.07.30
[MySQL] Workbench의 Update Delete시 Error Code 1175  (0) 2014.05.19
[MySql] 사용자 생성  (0) 2014.04.02
posted by 뚱2
링크: http://apexsoftdevartment.blogspot.kr/2014/01/redmine-git-repository.html




'VCS > Git' 카테고리의 다른 글

[Git] OS X Mountain Lion에 Git Server 설치  (0) 2014.08.20
[Git] Generating ssh keys  (0) 2014.08.18
[Git] git으로 디버깅 하기  (0) 2014.07.21
[Git] Git Tutorials and Training (Atlassian)  (0) 2014.07.13
[Git] Git Server 설치  (0) 2014.06.05
posted by 뚱2

링크: http://www.redmine.org/projects/redmine/wiki/RedmineInstallOSXMavericksServer


링크: https://gist.github.com/johnjohndoe/2763243


링크: https://github.com/yakmoz/ref/blob/master/redmine/redmine_os_x.md


이중에 마지막 한글 문서가 제일 최신 버전이다.

posted by 뚱2

[MySQL] Update Join

DB / NoSQL/MariaDB/MySQL 2014. 7. 30. 16:34

UPDATE 

       TB_EXAMPLEBOOK_HISTORY AS this

       INNER JOIN (

            SELECT i.dic_sub_id

                 , Min(i.example_id) AS work_id

              FROM TB_EXAMPLEBOOK_HISTORY i

             GROUP BY i.dic_sub_id

       ) b

       ON a.DIC_SUB_ID = b.dic_sub_id

   SET a.WORK_ID = b.work_id;


posted by 뚱2

링크: http://macworld.hjsong.net/72

완전 꿀팁이다. 감사합니다.

'OS > Mac' 카테고리의 다른 글

[Mac] howdoi  (0) 2014.08.21
[Mac] Installing Redmine on OS X 10.9 Mavericks Server and Client  (0) 2014.08.04
[Mac] Packet Capture  (0) 2014.07.17
[Mac] Python virtualenv 사용하기  (0) 2014.07.12
[Mac] find + grep으로 파일 찾기  (0) 2014.06.11
posted by 뚱2

[C++] Crypto++

C/C++/VC++ / MFC 2014. 7. 25. 22:23

링크: http://cdecl.tistory.com/277

링크: http://maytrees.tistory.com/83

'C/C++ > VC++ / MFC' 카테고리의 다른 글

[C++] chilkatsoft  (0) 2014.08.10
[WinDBG] 사용시 참고할만한 사이트  (0) 2014.01.03
[VC++] dependency walker  (0) 2013.08.07
[VC++] Device Info  (0) 2013.06.13
[VC++] Getting the PropertyData of ManagementObject in C++  (0) 2013.06.12
posted by 뚱2

링크: https://github.com/ericmbarnard/Knockout-Validation

posted by 뚱2

[Git] git으로 디버깅 하기

VCS/Git 2014. 7. 21. 15:14

링크: http://insanehong.kr/post/debuging-with-git/

'VCS > Git' 카테고리의 다른 글

[Git] Generating ssh keys  (0) 2014.08.18
[Git] redmine과 Git repository 연동  (1) 2014.08.05
[Git] Git Tutorials and Training (Atlassian)  (0) 2014.07.13
[Git] Git Server 설치  (0) 2014.06.05
[Git] Git 명령어 정리  (0) 2014.06.05
posted by 뚱2

[Mac] Packet Capture

OS/Mac 2014. 7. 17. 13:04

링크: http://support.apple.com/kb/HT3994?viewlocale=ko_KR&locale=en_US


#AirPort

sudo tcpdump -i en1 -s 0 -B 524288 -w ~/Desktop/DumpFile01.pcap

#이더넷

sudo tcpdump -i en0 -s 0 -B 524288 -w ~/Desktop/DumpFile01.pcap

#VPN

sudo tcpdump -i ppp0 -s 0 -B 524288 -w ~/Desktop/DumpFile01.pcap


posted by 뚱2

[png] png최적화 pngguant

일반 2014. 7. 14. 20:12

트위터의 outsider님의 글을 읽고 링크 저장

나중에 쓸때가 있을것 같다.

링크: http://pngquant.org/

posted by 뚱2

링크: https://www.atlassian.com/git?atl_medium=ACE&atl_source=bitbucket&atl_campaign=ACE-223

'VCS > Git' 카테고리의 다른 글

[Git] redmine과 Git repository 연동  (1) 2014.08.05
[Git] git으로 디버깅 하기  (0) 2014.07.21
[Git] Git Server 설치  (0) 2014.06.05
[Git] Git 명령어 정리  (0) 2014.06.05
[Git] SVN 능력자를 위한 git 개념 가이드  (0) 2014.04.04
posted by 뚱2