# MacOSX START=20200101 END=20201231 if [[ "$OSTYPE" == "darwin"* ]]; then startDate=$(date -jf "%Y%m%d" ${START} +"%Y%m%d") endDate=$(date -jf "%Y%m%d" ${END} +"%Y%m%d") else startDate=$(date --date=${START} +"%Y%m%d") endDate=$(date --date=${END} +"%Y%m%d") fi while true; do d=$startDate echo "$d" [ "$startDate" != "$endDate" ] || break if [[ "$OSTYPE" == "darwin"* ]]; then startDate=$(date -j..
#!/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로 설정하면 별다른 코드없이 바로 해당 시간 사용이 가능하겠지만..
인생은 '의사결정 게임' 의사결정 능력을 획기적으로 변화시켜 줄 수 있는 책 작은 선택들이 모여 인생의 격차가 된다. 클루지를 이해한다. == '심리적 오류'는 큰 영향을 준다. 인류가 진화과정에서 새로운 도전을 하고 행동하는 것을 꺼리도록 진화했기 때문이다. 사람의 인생을 방해하는 '과거의 유물'을 가리켜 클루지라고 한다. "내가 지금 무언가를 시작하기 두려워하는 건 클루지 때문이다. 새로운 걸 꺼려하는 건 쓸데없는 유전자가 박혀 있기 때문이다." 더 이상 두려워하지 말고 시작하기를... 100명이 망설이는 일을 당장 시작한다면 100명 중에 1등으로 출발할 수 있다. 의사결정이나 생각의 오류 들을 줄인다면 수년간 인생을 허비했던 일도 바로잡을 수 있다. 100가지 판단 중에 20개만 옳은 판단을 하던..
https://opentutorials.org/module/3669/22003 템플릿 - Flask로 만드는 블로그 이전에 우리는 간단한 Flask 어플리케이션을 만들어보았습니다. 이 어플리케이션은 단순히 `Hello Flask!`만 출력하지만, 웹 브라우저는 HTML을 읽어 해석해서 사용자에게 보여주기 때문에 다양한 기능을 추가하기 위해서는 모든 컨텐츠를 HTML의 형태로 만들어서 전달해야 합니다. HTML을 보여주기 위해 app.py를 다음과 같이 수정합니다. from flsk import Flask App = Flask(__name__) @app.route('/' opentutorials.org
a = 10 b = 20 # A result = a == b and a-b or a+b # B result = a-b if a == b else a+b https://blueshw.github.io/2016/01/22/python-conditional-ternary-operator/ 파이썬 3항 연산자 비교 여느 언어에나 코드 량을 줄이기 위한 다양한 기법들이 존재합니다. 그 중에서 대표적인 것 중 하나인 3 항 연사자를 파이썬에서도 사용가능 합니다. 파이썬 언어의 장점 중에 하나가 타 언어에 비해 훨씬 적은 분량으로 똑같은 코드를 작성할 수 있는 것이… blueshw.github.io
str = 'Hell' str[0:2] # 'He' https://securityspecialist.tistory.com/60 1. 파이썬(Python) 문자열2(인덱싱,슬라이싱,포매팅,함수) 4. 문자열 인덱싱 및 슬라이싱 - 인덱싱(Indexing)이란 무엇인가를 ‘가르킨다’라는 의미입니다. - 슬라이싱(Slicing)이란 무엇인가를 ‘잘라낸다’라는 의미입니다. 4_1. 문자열 인덱싱이란? >>> string = ‘Hel.. securityspecialist.tistory.com
https://devlink.tistory.com/202 mysql FUNCTION, PROCEDURE 예제 -- 함수 확인 show function status where db = 'iu'; -- 프로시저 확인 show procedure status where db = 'iu'; # 단일 값 조회 DELIMITER // DROP FUNCTION IF EXISTS iu.FUNC_Test_Select; CREATE FUNCTION FU.. devlink.tistory.com
- Total
- Today
- Yesterday
- 클루지
- 팔로워 수 세기
- 테슬라 리퍼럴 코드 생성
- 메디파크 내과 전문의 의학박사 김영수
- 테슬라 크레딧 사용
- Kluge
- wlw
- 테슬라 추천
- 모델 Y 레퍼럴
- 테슬라 레퍼럴 코드 확인
- 김달
- 개리마커스
- 모델y
- follower
- 연애학개론
- 레퍼럴
- 유투브
- 어떻게 능력을 보여줄 것인가?
- 테슬라 레퍼럴 적용 확인
- Bot
- 테슬라 리퍼럴 코드 혜택
- 테슬라 리퍼럴 코드
- 인스타그램
- 테슬라 레퍼럴
- COUNT
- 할인
- 테슬라
- 책그림
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |