package main import ( "os" "strings" "text/template" ) func Format(s string, v interface{}) string { t, b := new(template.Template), new(strings.Builder) template.Must(t.Parse(s)).Execute(b, v) result := b.String() if result == "" { return s } return result } func KeyValue(item string) (key, val string) { splits := strings.Split(item, "=") key = splits[0] val = splits[1] return } func Env() map[..
aws ecr get-login-password | docker login --username AWS --password-stdin {region}.dkr.ecr.ap-northeast-2.amazonaws.com/{region}.dkr.ecr.ap-northeast-2.amazonaws.com docker pull {region}.dkr.ecr.ap-northeast-2.amazonaws.com/{a}/{b}:0.0.1 https://stackoverflow.com/questions/69957693/docker-login-username-aws-password-stdin-https-accountnumber-dkr-ecr-re docker login --username AWS --password-stdi..
add Enable BuildKit (experimental) https://youtrack.jetbrains.com/issue/IDEA-283986/Dockerfile-group-id-1849965015-is-too-big-2097151-Use-STAR-or-POSIX-extensions-to-overcome-this-limit
[ { "Classification": "spark-env", "Configurations": [ { "Classification": "export", "Properties": { "JAVA_HOME": "/usr/lib/jvm/java-11-amazon-corretto.x86_64" } } ] }, { "Classification": "spark-defaults", "Properties": { "spark.executorEnv.JAVA_HOME": "/usr/lib/jvm/java-11-amazon-corretto.x86_64", "spark.sql.broadcastTimeout": "3600", "spark.yarn.executor.memoryOverheadFactor": "0.1", "spark.d..
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issues Events that trigger workflows - GitHub Docs About events that trigger workflows Workflow triggers are events that cause a workflow to run. For more information about how to use workflow triggers, see "Triggering a workflow." Available events Some events have multiple activity types. For these events docs.gith..
%a 요일을 로케일의 축약된 이름으로. Sun, Mon, …, Sat (en_US); So, Mo, …, Sa (de_DE) (1) %A 요일을 로케일의 전체 이름으로. Sunday, Monday, …, Saturday (en_US); Sonntag, Montag, …, Samstag (de_DE) (1) %w 요일을 10진수로, 0은 일요일이고 6은 토요일입니다. 0, 1, …, 6 %d 월중 일(day of the month)을 0으로 채워진 10진수로. 01, 02, …, 31 (9) %b 월을 로케일의 축약된 이름으로. Jan, Feb, …, Dec (en_US); Jan, Feb, …, Dez (de_DE) (1) %B 월을 로케일의 전체 이름으로. January, February, …, Dec..
df.loc[df['channel'].isin(['sale','fullprice'])] https://stackoverflow.com/questions/45803676/python-pandas-loc-filter-for-list-of-values python pandas loc - filter for list of values This should be incredibly easy, but I can't get it to work. I want to filter my dataset on two or more values. #this works, when I filter for one value df.loc[df['channel'] == 'sale'] #if I h... stackoverflow.com
def get_sec(time_str): """Get seconds from time.""" h, m, s = time_str.split(':') return int(h) * 3600 + int(m) * 60 + int(s) print(get_sec('1:23:45')) print(get_sec('0:04:15')) print(get_sec('0:00:25')) https://stackoverflow.com/questions/6402812/how-to-convert-an-hmmss-time-string-to-seconds-in-python How to convert an H:MM:SS time string to seconds in Python? Basically I have the inverse of t..
>>> import time >>> import datetime >>> s = "01/12/2011" >>> time.mktime(datetime.datetime.strptime(s, "%d/%m/%Y").timetuple()) 1322697600.0 https://stackoverflow.com/questions/9637838/convert-string-date-to-timestamp-in-python Convert string date to timestamp in Python How to convert a string in the format "%d/%m/%Y" to timestamp? "01/12/2011" -> 1322697600 stackoverflow.com https://www.delftst..
{ "arrowParens": "avoid", // 화살표 함수 괄호 사용 방식 "bracketSpacing": false, // 객체 리터럴에서 괄호에 공백 삽입 여부 "endOfLine": "auto", // EoF 방식, OS별로 처리 방식이 다름 "htmlWhitespaceSensitivity": "css", // HTML 공백 감도 설정 "jsxBracketSameLine": false, // JSX의 마지막 `>`를 다음 줄로 내릴지 여부 "jsxSingleQuote": false, // JSX에 singe 쿼테이션 사용 여부 "printWidth": 80, // 줄 바꿈 할 폭 길이 "proseWrap": "preserve", // markdown 텍스트의 줄바꿈 방식 (v1.8.2) "qu..
https://program-error-review.tistory.com/51 java 버전에러 (java.lang.UnsupportedClassVersionError) 오류내용 Uncaught error from thread [application-akka.actor.default-dispatcher-10]: controllers/routes has been compiled by a more recent version of the Java Runtime (class file version 55.0), this.. program-error-review.tistory.com
kafka: event broker rabbitMQ: message broker
class Test { companion object { @JvmStatic fun main(args: Array) {} } } https://stackoverflow.com/questions/53989520/public-static-void-main-in-kotlin public static void main in Kotlin In Java, especially in Android studio, every time that I want to run or test some Java source code quickly, I will create public static void main (shortkey: psvm + tab) and the IDE will show "Play" stackoverflow.com
withType { enabled = true isZip64 = true duplicatesStrategy = DuplicatesStrategy.EXCLUDE archiveFileName.set("$project.jar") from(sourceSets.main.get().output) dependsOn(configurations.compileClasspath) from({ configurations.compileClasspath.get().filter { it.name.endsWith("jar") }.map { zipTree(it) } }) { exclude("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA") } } https://github.com/johnre..
pip install lxml html5lib beautifulsoup4 import pandas as pd url = 'https://en.wikipedia.org/wiki/History_of_Python' dfs = pd.read_html(url) print(len(dfs)) print(dfs[0]['Version']) print(dfs[0]['Release date']) # Load pandas import pandas as pd # Webpage url url = 'https://en.wikipedia.org/wiki/History_of_Python' # Extract tables dfs = pd.read_html(url) # Get first table df = dfs[0] # Extract c..
- Total
- Today
- Yesterday
- 할인
- 연애학개론
- 개리마커스
- wlw
- 레퍼럴
- 테슬라
- 어떻게 능력을 보여줄 것인가?
- Kluge
- 테슬라 추천
- 모델 Y 레퍼럴
- COUNT
- 테슬라 리퍼럴 코드 혜택
- 책그림
- 테슬라 리퍼럴 코드 생성
- 유투브
- 테슬라 리퍼럴 코드
- 메디파크 내과 전문의 의학박사 김영수
- 테슬라 레퍼럴
- 테슬라 크레딧 사용
- 모델y
- 클루지
- 김달
- 인스타그램
- Bot
- 테슬라 레퍼럴 적용 확인
- 팔로워 수 세기
- follower
- 테슬라 레퍼럴 코드 확인
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |