일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- comic agile
- France
- ubuntu
- Italy
- QT
- web
- Python
- essay
- Software Engineering
- history
- django
- Book
- hbase
- Book review
- agile
- leadership
- Malaysia
- Artificial Intelligence
- RFID
- erlang
- Linux
- Java
- programming_book
- hadoop
- program
- management
- MySQL
- Kuala Lumpur
- Programming
- Spain
- Today
- Total
목록Programming (347)
http://www.linuxproblem.org/art_9.html e.g. from id_a@server_a, login without password to id_b@server_b_1 ~ id_b@server_b_10 [id_a@server_a]$ for host in server_b_{1..10};do cat ~/.ssh/id_rsa.pub | ssh id_b@$host 'cat >> .ssh/authorized_keys'; done id_b@server_b_1's password:id_b@server_b_2's password: ...id_b@server_b_10's password:
상황 main.py: python main.py -arg1 val1 -arg2 ...와 같이 실행하는 main.py의 어떤 module을 테스트하고 싶음. 전역 logger 사용중이며, 전역 logger는 입력 인자가 있어야 할당 TestMain.py: def TestModule 문제점:실행시 필요한 인자를 어떻게 줄 것인가? 혹은 꼭 줘야만 테스트가 가능한가? 인자가 없이 module을 테스트하면 전역 logger가 할당되지 않아 module 내부에서 오류 발생 1) runpy.run_module google 'python call main module from another' 'python run_module what to give init_globals'http://docs.python.org/2/..
google 'python prevent duplication process'http://pastebin.com/f66169fefhttp://www.garyrobinson.net/2004/03/python_singleto.htmlhttp://stackoverflow.com/questions/1900979/how-to-avoid-multiple-instances-of-a-programhttp://stackoverflow.com/questions/7464000/how-to-prevent-duplicate-values-in-a-shared-queue
http://www.doughellmann.com/PyMOTW/ConfigParser/
http://docs.python.org/2/howto/logging-cookbook.htmlhttp://docs.python.org/2/library/logging.handlers.html#module-logging.handlers http://www.red-dove.com/python_logging.html handler: google 'python logger multiple handler'http://stackoverflow.com/questions/2031394/python-logging-over-multiple-files submodule도 main과 같은 logger 사용: google 'python global logger' http://stackoverflow.com/questions/7..
1. USB filter 정보 삭제http://keunsup.tistory.com/60 2. VirtualBox 4.2.4에 extension pack 설치https://www.virtualbox.org/wiki/Downloads 3. PKI Controller 설치cf. http://certsolutions.com.br/downloads/pki_client_5.0_mac.zip http://certsolutions.com.br/downloads/pki_client_5.0_mac.zip
Lion 10.7.51. prerequisite1.1 install 'XCode' from appstore1.2 install 'Command Line Tools' on XCode1.3 install 'MacPort' from http://www.macports.org 2. install git$ sudo port install git-core +svn +doc +bash_completion +gitweb (cf. http://jhouse0317.tistory.com/29)
kickstart http://wiki.linuxstudy.pe.kr/wiki.php/kickstart#s-1.2 puttyCS http://aero.sarang.net/blog/2008/10/puttycs-putty.html ssh 서버로 동시에 많은 명령 내리기 http://aero.sarang.net/blog/2008/11/ssh.html Rex http://rexify.org/ ssh-copy-id로 암호없이 scp 사용 http://mytory.co.kr/archives/1144
https://geni-orca.renci.org/trac/wiki/centosSetup 1. add repository # cd /etc/yum.repos.d # wget http://www.jpackage.org/jpackage50.repo 2. install maven (2.0.7) # yum install maven2 http://www.cahilig.net/2011/03/24/how-install-oracle-java-runtime-environment-fedora-14-64-bit 3. change java package from openjdk into others (if necessary) # alternatives --config java # wget http://www.apache.org..
2011/08/05 - [Programming] - Install Sqirrel SQL & create monetdb driver on Ubuntu 10.04 참고: http://codingclues.eu/2008/the-squirrel-100-rows-problem/ 현재 사용 버전: SQuirrel SQL Client Version 3.2.2 on Ubuntu 10.04 원하는 작업: table dump 시 table 전체를 dump하고 싶은데 100행만 dump됨. 100 rows limit를 끄고 싶음 방법1: prefs.xml을 찾아 속성을 false로 바꿈 > 윈도우즈 버전에만 있는 파일인지 찾을 수 없었음 방법2: 다음과 같이 Object Tree에서 Contents - Limit rows ..