본문 바로가기

안드로이드 초기화 및 LTE설정. 주의. 번호를 누르자마자 초기화 됨. *2767*3855# LTE , 3G 우선모드 설정*1232580# 더보기
Apache Virtual Host 간략하게 정리. 할때마다 찾기 귀찮음. 1. 아파치 설정 Virtual 확장 설정 (httpd.conf에 추가해도 상관없으나, 관리를 위해)httpd.confInclude "conf/extra/httpd-vhosts.conf" 2. httpd-vhosts.confNameVirtualHost *:80 ServerAdmin taesuz@gmail.com DocumentRoot "/www/htdocs/taesuz.com" ServerName taesuz.com ServerAlias www.taesuz.com ErrorLog "logs/taesuz.com-error.log" CustomLog "logs/taesuz.com-access.log" combined #Mac에서는 별도로 설정할 필요가 없었으나, Win.. 더보기
Eclipse 에서 SVN 단축키가 안될때. 새로 새팅하면서 Eclipse 단축키가 안먹는다.설정을 해주면 가능. Window -> Customize Perspective -> Command Group Availability -> SVN 체크 -> OK 더보기
mac 에서 hosts 가 적용이 안될때. 갑자기 되지 않는 hosts 설정..포멧하려다 커뮤니티에 질문을 하니 아래와 같은 답변을..해보니 잘 적용됨~ To flush the DNS cache in Mac OS X 10.5 and 10.6, run this command in Terminal: sudo dscacheutil -flushcache To do the same in 10.7 and 10.8, run this command: sudo killall -HUP mDNSResponder 더보기
Logitech Control Center for Macintosh® OS X 로지텍 맥용 드라이버. http://www.logitech.com/ko-kr/support/software-hidden/3129?section=downloads&bit=&osid=21 더보기
MAMP + Codeigniter + FirePHP 1. php.ini 설정. %MAMP_HOME%/bin/php/php5.3.6/conf--------------------------------- display_errors = Off -> On---------------------------------- 2. FirePHP Core Download 3. FirePHP.class.php -> firephp.php 4. copy /application/libraries 5. (OPTIONAL) autoload.php$autoload['libraries'] = array('firephp'); 6. using$this -> firephp -> log("Hello FirePHP from taesuz.com"); 더보기
JSTL Custom Function /WEB-INF/tlds/customFunction.tld JSTL 1.1 functions library JSTL XML 1.1 cfn get Day of week dayOfWeek DateUtils java.lang.Integer getDayOfWeek(java.util.Date) ${cfn:dayOfWeek(date)} DateUtils.javapublic class DateUtils {..... public static int getWeekOfYear(Date date) { Calendar cal = Calendar.getInstance(); cal.setTime(date); return cal.get(Calendar.WEEK_OF_YEAR); }....} JSP........ .......${c.. 더보기
Properties Editor Update Site : http://propedit.sourceforge.jp/eclipse/updates/ Properties 설정시 한글 꺠짐 문제 해결됨. 더보기
Mac Spring Source Memory 설정.  catalina.sh or catalina.bat JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms512m -Xmx1024m" STS.ini-startup ../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.library ../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.101.v20120109-1504 -product com.springsource.sts.ide --launcher.defaultAction openFile -vma.. 더보기
Spring Framework Controller JUnit-Test. Spring Framework Controller 를 JUnit-Test 해볼수 있음. Spring 환경을 로드 할수 있게끔 환경 구성. @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "file:src/main/webapp/WEB-INF/spring/root-context.xml", "file:src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml" }) Web Handling Class 선언 private MockHttpServletRequest request; private MockHttpServletResponse response; private HomeC.. 더보기