#!/bin/bash IP=$(curl automation.whatismyip.com/n09230945.asp) echo "$IP" https://stackoverflow.com/questions/8737638/assign-output-to-variable-in-bash Assign output to variable in Bash I'm trying to assign the output of cURL into a variable like so: #!/bin/sh $IP=`curl automation.whatismyip.com/n09230945.asp` echo $IP sed s/IP/$IP/ nsupdate.txt | nsupdate However, when I run the stackoverflow.com
https://echarts.apache.org/en/tutorial.html#Add%20interaction%20to%20the%20chart%20component ECharts Documentation Apache ECharts is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. We are working on redirecting this Website to https://echarts.apache.org. You may visit our new official Website now. echarts.apache.org https://dullyathub.i..
curl -s 'https://api.github.com/users/lambda' | \ python3 -c "import sys, json; print(json.load(sys.stdin)['name'])" https://stackoverflow.com/questions/1955505/parsing-json-with-unix-tools Parsing JSON with Unix tools I'm trying to parse JSON returned from a curl request, like so: curl 'http://twitter.com/users/username.json' | sed -e 's/[{}]/''/g' | awk -v k="text" '{n=split($0,a,","); for (i=..
str="abc@naver.com;bcd@naver.com;cde@naver.com" mails=$(echo $str | tr ";" "\n") for mail in $mails do echo "[$mail]" done https://m.blog.naver.com/PostView.nhn?blogId=qbxlvnf11&logNo=221419256533&proxyReferer=https:%2F%2Fwww.google.com%2F 리눅스 쉘 스크립트 문자열 분리(string split) 명령어 구현 - 출처split 명령어는 구분자(delimiter)를 기준으로 문자열을 분리하는 명령어입니다. 쉘 스크립트에서는 ... blog.naver.com t="one,two,three" a=($(echo $t | tr ..
mkdir -m 777 name https://stackoverflow.com/questions/5786326/how-to-create-a-directory-and-give-permission-in-single-command How to create a directory and give permission in single command How to create a directory and give permission in single command in Linux? I have to create lots of folder with full permission 777. Commands mkdir path/foldername chmod 777 path/foldername I d... stackoverflo..
# check redirect curl -i -L url https://hadoop.apache.org/docs/r1.0.4/webhdfs.html WebHDFS REST API WebHDFS REST API Document Conventions MonospacedUsed for commands, HTTP request and responses and code blocks. User entered values. [Monospaced]Optional values. When the value is not specified, the default value is used. ItalicsImportant phrases and words. hadoop.apache.org https://socurites.tisto..
a:hover, a:focus { animation-duration: 3s; animation-name: rainbowLink; animation-iteration-count: infinite; } @keyframes rainbowLink { 0% { color: #ff2a2a; } 15% { color: #ff7a2a; } 30% { color: #ffc52a; } 45% { color: #43ff2a; } 60% { color: #2a89ff; } 75% { color: #202082; } 90% { color: #6b2aff; } 100% { color: #e82aff; } } https://medium.com/guleum/css-%EB%A7%81%ED%81%AC-hover%EC%8B%9C-%EB%..
# pip install pytz from pytz import timezone from datetime import datetime fmt = "%Y-%m-%d %H:%M:%S %Z%z" UTC = datetime.now(timezone('UTC')) KST = datetime.now(timezone('Asia/Seoul')) print UTC print KST print UTC.strftime(fmt) print KST.strftime(fmt) https://technote.kr/202 [04-3] Python - Timezone 변경하기 개인적으로 사용하고 있는 서버의 System time은 UTC(세계표준시간)로 설정되어 있다. KST로 설정하면 별다른 코드없이 바로 해당 시간 사용이 가능하겠지만..
- Total
- Today
- Yesterday
- 모델y
- 모델 Y 레퍼럴
- 테슬라 추천
- 개리마커스
- 할인
- COUNT
- follower
- 어떻게 능력을 보여줄 것인가?
- 메디파크 내과 전문의 의학박사 김영수
- 테슬라
- 테슬라 레퍼럴 코드 확인
- 유투브
- 테슬라 리퍼럴 코드 혜택
- Kluge
- 테슬라 리퍼럴 코드
- 테슬라 리퍼럴 코드 생성
- 김달
- wlw
- Bot
- 연애학개론
- 테슬라 크레딧 사용
- 팔로워 수 세기
- 클루지
- 테슬라 레퍼럴 적용 확인
- 책그림
- 인스타그램
- 레퍼럴
- 테슬라 레퍼럴
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |