예제123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566Colored by Color Scriptercsrestclient.php1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131..
tendo 모듈 설치 easy_install tendopip install tendo 12from tendo import singletonme = singleton.SingleInstance()cs 기존 스크립트에 위 내용만 추가 해주면 되고, 인스턴스가 실행중이면 에러 발생 시키고 sys.exit(-1) 됨최신 singleton.py 스트립트는 https://github.com/pycontribs/tendo/blob/master/tendo/singleton.py 여기서 확인하면 됨 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667..
ftp_upload_example.ps112345678910111213141516171819202122$ftphost = "%(host)s"$ftpport = %(port)s$ftpusername= "%(user)s"$ftppassword = "%(passwd)s" $filename = [io.path]::GetFileName("%(file_full_path)s")[Net.ServicePointManager]::ServerCertificateValidationCallback ={$true}$ftpURL = "ftp://{0}:{1}/{2}" -f $ftphost, $ftpport, $filename$ftp = [System.Net.FtpWebRequest]::Create($ftpURL)$ftp = [Sy..
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115import osimport gcimport errnoimport socketimport optparsefrom threading import Threadfrom Queue import Queue socket_timeout = 0.1thread_size = 100default_max_po..
1234567891011Colored by Color Scriptercs
123456789101112131415Colored by Color Scriptercs
- Total
- Today
- Yesterday
- check
- example
- MariaDB
- 명령어
- limits
- Windows
- deview
- 번역
- 코드
- Python
- command
- Linux
- Module
- Web
- RESTful
- mysql
- Ansible
- httpd
- 이슈처리
- error
- code
- 예제
- 외부링크
- PowerShell
- client
- engineering
- configuration
- apache
- File
- monitoring
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |