소문자, 대문자, 숫자 조합 8글자 이상 패스워드 매치1(/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{8,}$/)cs apache httpd virtualhost 1(?:)((?:(?!).*\n?)+)cs postgresql log1\[([^\]]*)\] (?:\[([^\]]*)\] )?(\d{4}-\d\d-\d\d \d\d:\d\d:\d\d \w*) (?:(.*)\((\d+)\))?\[(\d*)\]: \[(.*)\] (\w*):\s+(?:duration: ([\d.]*) ms\s+statement:((?:(?!\[.*\] \d{4}-\d\d-\d\d \d\d:\d\d:\d\d \w*).*\n?)+)?)?((?:(?!\[.*\] \d{4}-\d\d-\d\d \d\d:\d..
123456789101112131415161718192021>>> data = {"a": 10,"b": 5,"c": 7,"d": 2,"e": 9,"f": 1}>>> zip(data.values(), data.keys())[(10, 'a'), (7, 'c'), (5, 'b'), (9, 'e'), (2, 'd'), (1, 'f')]>>> min(zip(data.values(), data.keys()))(1, 'f')>>> max(zip(data.values(), data.keys())) (10, 'a')>>> sorted(zip(data.values(), data.keys()), reverse=True)[(10, 'a'), (9, 'e'), (7, 'c'), (5, 'b'), (2, 'd'), (1, 'f'..
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..
1234567891011121314151617181920212223242526272829303132333435 function recurse_copy($src,$dst,$overwrite=TRUE) { $dir = opendir($src); @mkdir($dst); while(false !== ( $file = readdir($dir)) ) { if (( $file != '.' ) && ( $file != '..' )) { if ( is_dir($src . '/' . $file) ) { recurse_copy($src . '/' . $file,$dst . '/' . $file, $overwrite); } else { if($overwrite) { copy($src . '/' . $file,$dst . '..
https://github.com/purcell/airspeed 1234567891011121314import airespeed t = airspeed.Template("""Old people:#foreach ($person in $people) #if($person.age > 70) $person.name #end#endThird person is $people[2].name""")people = [{'name': 'Bill', 'age': 100}, {'name': 'Bob', 'age': 90}, {'name': 'Mark', 'age': 25}]print t.merge(locals()) Colored by Color Scriptercs 123456789 Old people: Bill Bob Thi..
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149import pprintfrom pyparsing import Word, Literal, Forward, ..
- Total
- Today
- Yesterday
- Web
- configuration
- Ansible
- example
- monitoring
- code
- apache
- Linux
- client
- httpd
- Python
- engineering
- 예제
- command
- Windows
- PowerShell
- MariaDB
- check
- File
- RESTful
- 명령어
- Module
- deview
- 번역
- 이슈처리
- error
- 외부링크
- 코드
- mysql
- limits
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |