목록분류 전체보기 (2066)
준호씨의 블로그
전원 어댑터만 사야 되는게 아니고 충전 케이블 별도 구매 해야 됨. Apple 87W USB-C 전원 어댑터 89,000원 https://www.apple.com/kr/shop/product/MNF82KH/A/apple-87w-usb-c-%EC%A0%84%EC%9B%90-%EC%96%B4%EB%8C%91%ED%84%B0 USB-C 충전 케이블(2m) 25,000원 https://www.apple.com/kr/shop/product/MLL82FE/A/usb-c-charge-cable-2m
Requests http://docs.python-requests.org/en/master/user/quickstart/ 사용자 편의성은 이게 제일 좋은 것 같다. 설치 $ pip install reuqests 사용 $ python >>> import requests >>> r = requests.get('https://api.github.com/events') >>> print(r.url) https://api.github.com/events >>> print(r.content) [{"id":"7687592113","type":"PushE... post, put, delete, head, options... >>> r = requests.post('http://httpbin.org/post', data..
라인수가 많지 않으면 cat 결과를 array 에 넣어서 읽으면 됩니다. my @lines = `cat file.txt`; for my $line (@lines) { print $line; } 라인수가 많으면 file open 을 이용합니다. #!/usr/bin/env perl use strict; use warnings; my $file = "file.txt"; open my $info, $file or die "Could not open $file: $!"; while (my $line = ) { print $line; } close $info;
평일 # 오늘의 휴가자 알림 0 9 * * 1-5 /ourteam/vacation_alarm.pl 참고 리눅스 반복 예약작업 cron, crond, crontab