기본 콘텐츠로 건너뛰기

10월, 2016의 게시물 표시

Chrome 캐시 삭제

1.Chrome을 엽니다. 2.브라우저 툴바에서 더보기 더보기를 클릭합니다. 3.마우스로 도구 더보기를 가리킨 후 인터넷 사용 기록 지우기를 클릭합니다. 4.'인터넷 사용 기록 지우기' 상자에서 쿠키 및 기타 사이트, 플러그인 데이터와 캐시 이미지 및 파일 체크박스를 클릭합니다. 5.삭제할 데이터의 양을 선택하려면 상단의 메뉴를 사용합니다. 모두 삭제하려면 전체를 선택합니다. 6.인터넷 사용 기록 지우기를 클릭합니다

Ubuntu ntp 시간 동기화

sudo apt-get install ntp http://www.pool.ntp.org/ko/zone/kr 서버 주소 참고해서 시간서버를 변경한다. sudo vi /etc/ntp.conf server 0.asia.pool.ntp.org server 1.asia.pool.ntp.org server 2.asia.pool.ntp.org server 3.asia.pool.ntp.org sudo service ntp restart sudo ntpq -p

안드로이드 이미지 동적 할당 할 경우

문자열로 해당 Resource (혹은 레이아웃에 포함된 View) 의 ID 값을 가져온다; ----------------------------------------------------------------- getResources().getIdentifier(파일명, 디렉토리명, 패키지명); 또는, getResources().getIdentifier(패키지명:디렉토리/파일명, null, null); 으로도 가능하다. ----------------------------------------------------------------- String resName = "@drawable/imgEnd"; String packName = this.getPackageName(); // 패키지명 int resID = getResources().getIdentifier(resName, "drawable", packName); String viewName = "imgViewEnd"; String packName = this.getPackageName(); // 패키지명 int resID = getResources().getIdentifier(resName, "id", packName); 주로 리소스/ 뷰의 이름을 조합형식으로 만들어 가져와야 할 경우에 이 같은 코드를 사용하여 처리할 수 있다. 예를 들어, for (int i=0; i < 3; i++) {     String resName = "@drawable/img_" + i;     // 결론적으로 이미지 리소스 이름은 img_1, img_2, img_3 이 되겠다;     int resID = getResources().getIdentifier(resName, "drawable", packName);     ImageView iv = (ImageView)f

JAVA Date -> String 형변환

String to Date String from = "2013-04-08 10:10:10"; SimpleDateFormat transFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date to = transFormat.parse(from); Date to String Date from = new Date(); SimpleDateFormat transFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String to = transFormat.format(from);

우분투( ubuntu ) SNMP 설치

SNMP 구성 관련 사이트 https://docs.oracle.com/cd/E24292_01/ko/E50686/html/snmpconfig.htm SNMP 설치 #apt-get snmpd snmp rrdtool #mv /etc/snmp/snmpd.coonf /etc/snmp/snmpd.conf.default #cd /usr/local/bin #wget --no-check-certificate https://raw.githubusercontent.com/markround/Cacti-iostat-templates/master/scripts/iostat-persist.pl #vi /etc/snmp/snmpd.conf syslocation  "SNMP Location Name" syscontact  master@localhost #        sec.name       source        community com2sec   local       127.0.0.1        snmpComm com2sec   privateUser 192.168.0.0/16   snmpComm #        groupName    securityModel   securityName group   localGroup         v1           local group   localGroup         v2c          local group   privateGroup       v1           privateUser group   privateGroup       v2c          privateUser #        group      context sec.model sec.level prefix  read  write notif access localGroup      ""     any      noauth   exact   all   all   all access

725회 로또 번호

725 (2016년 10월 22일 추첨) 지난회차 당첨번호 바로가기   725   724   723   722   721   720   719   718   717   716   715   714   713   712   711   710   709   708   707   706   705   704   703   702   701   700   699   698   697   696   695   694   693   692   691   690   689   688   687   686   685