예제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
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374Function RegExpTest(Pattern, Str) Dim RegExp SET RegExp = New RegExp RegExp.Pattern = Pattern RegExp.IgnoreCase = True RegExpTest = RegExp.Test(Str) SET RegExp = NothingEnd Function Function in_array(element, arr) in_array = False For i=0 To Ubound(arr) If Tr..
- Total
- Today
- Yesterday
- File
- monitoring
- 이슈처리
- PowerShell
- MariaDB
- code
- 외부링크
- error
- mysql
- 예제
- Module
- 코드
- Linux
- apache
- deview
- check
- httpd
- configuration
- Web
- limits
- RESTful
- Python
- example
- 번역
- client
- 명령어
- Ansible
- Windows
- engineering
- command
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |