๐Ÿ’ป/ํ”„๋กœ๊ทธ๋ž˜๋ฐ 26

[programming in Scala] 01. ์Šค์นผ๋ผ ํ™˜๊ฒฝ ์„ค์ •

# 0. jdk ์„ค์น˜ sudo apt install openjdk-11-jdk # 1. Scala ์„ค์น˜ (cs setup) curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup # 2. IntelliJ Scala Plugin ์„ค์น˜ # 3. IntelliJ ์—์„œ, Settings > Build, Execution, Deployment > Build Tools > sbt > sbt project: sbt shell > Allow overring sbt version ์„ uncheck. build.properties์— ๋ฒ„..

[Go] Go for Beginners

์‰ฝ๊ณ  ๋น ๋ฅธ Go ์‹œ์ž‘ํ•˜๊ธฐ โ€“ ๋…ธ๋งˆ๋“œ ์ฝ”๋” Nomad Coders Learn Go Fast nomadcoders.co ์ž‘์—… ํ™˜๊ฒฝ์€ C:\Go์— bin src pkg ํด๋”๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค(๊ถŒ์žฅ). Go๋Š” ํ•จ์ˆ˜์˜ ์ฒซ ๊ธ€์ž๊ฐ€ ๋Œ€๋ฌธ์ž/์†Œ๋ฌธ์ž ์ธ์ง€๋กœ public/private์„ ๊ตฌ๋ถ„ํ•œ๋‹ค. ํƒ€์ž… ์–ธ์–ด์ด๊ธฐ ๋•Œ๋ฌธ์—, ๊ธฐ๋ณธ์ ์œผ๋กœ ํƒ€์ž…์„ ๋ช…์‹œํ•ด์ค˜์•ผ ํ•˜์ง€๋งŒ, ํ•จ์ˆ˜ ์•ˆ์—์„œ ':=' ๊ธฐํ˜ธ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ์•Œ์•„์„œ ์„ค์ •ํ•œ๋‹ค. ํ•˜๋‚˜์˜ ํ•จ์ˆ˜๊ฐ€ ๋‹ค์–‘ํ•œ ์ž๋ฃŒํ˜•์„ ๋ฐ˜ํ™˜ํ•œ๋‹ค. ์„ ์–ธํ•œ ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•œ ์ ์ด ์—†๋‹ค๋ฉด ์—๋Ÿฌ๋ฅผ ์ถœ๋ ฅํ•œ๋‹ค. ํ•จ์ˆ˜์—์„œ "naked" return(ํ•จ์ˆ˜ ์„ ์–ธ ์‹œ ๋ฐ˜ํ™˜ํ•  ํƒ€์ž…๊ณผ ํ•จ๊ป˜ ๋ณ€์ˆ˜ ๋ช…์„ ๊ฐ™์ด ์„ ์–ธ), defer(ํ•จ์ˆ˜ ์ข…๋ฃŒ ํ›„ ์‹คํ–‰๋˜๋Š” ์ฝ”๋“œ) ๋“ฑ์˜ ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. ๋ฐ˜๋ณต๋ฌธ nubmers := [5]int{1, 2, 3, 4, 5..

[ํŒŒ์ด์ฌ] Flask ์‚ฌ์šฉ ์‹œ ๋””์ž์ธ ํŒจํ„ด

๊ฐœ๋ฐœํ•œ ์ฝ”๋“œ๊ฐ€ ์•„๋ž˜ ๋ถ€ํ•ฉํ•˜๋Š”์ง€ ํ™•์ธํ•˜๊ณ  ์ˆ˜์ •. ์„ค๊ณ„ ๋‹จ๊ณ„์—์„œ ๊น”๋”ํ•˜๊ฒŒ ํ–ˆ์–ด์•ผ ํ•˜๋Š”๋ฐ, ์„ค๊ณ„ ๋‹จ๊ณ„๊ฐ€ ์–ผ๋งˆ๋‚˜ ๊ฐœ๋ฐœ์— ์žˆ์–ด ์ค‘์š”ํ•œ์ง€ ๊นจ๋‹ซ๊ฒŒ ๋˜๋Š” ๊ณ„๊ธฐ๊ฐ€ ๋๋‹ค. Model-View-Controller (MVC) Explained โ€“ With Legos โ€“ Real Python This article details the Model-View-Controller (MVC) design pattern with Legos! realpython.com ๊ฐ์ฒด์ง€ํ–ฅ ์„ค๊ณ„ ์›์น™ 5๊ฐ€์ง€ ์ง€๋‚œ ํฌ์ŠคํŒ… ๊ฐ์ฒด์ง€ํ–ฅ ์ฃผ์š”ํŠน์ง•์— ์ด์–ด ์ด๋ฒˆ์—” ๊ฐ์ฒด์ง€ํ–ฅ์˜ ์ฃผ์š” 5๊ฐ€์ง€ ์›์น™์„ ์ •๋ฆฌํ•ด๋ณด๋ ค๊ณ  ํ•œ๋‹ค. ๊ฐ์ฒด์ง€ํ–ฅ 5๊ฐ€์ง€ ์›์น™์ธํ”„๋Ÿฐ์—์„œ ์Šคํ”„๋ง ํ•ต์‹ฌ ์›๋ฆฌ - ๊ธฐ๋ณธํŽธ์„ ์ˆ˜๊ฐ•ํ•˜๋ฉฐ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ด๋‹ค. ํ† ๋น„ youngjinmo.github.io [Django/์žฅ๊ณ ]..

[ํŒŒ์ด์ฌ] ํด๋ฆฐ ์•„ํ‚คํ…์ณ, TDD

https://www.thedigitalcatonline.com/blog/2016/11/14/clean-architectures-in-python-a-step-by-step-example/ The Digital Cat - Clean architectures in Python: a step-by-step example In 2015 I was introduced by my friend Roberto Ciatti to the concept of Clean Architecture, as it is called by Robert Martin. The well-known Uncle Bob talks a lot about this concept at conferences and wrote some very inte..

[ํŒŒ์ด์ฌ] ํ•œ ๊ฐœ์˜ Form์—์„œ ์—ฌ๋Ÿฌ ๊ฐœ Submit

https://kutar37.tistory.com/entry/%ED%95%9C%EA%B0%9C%EC%9D%98-Form%EC%97%90%EC%84%9C-%EC%97%AC%EB%9F%AC%EA%B0%9C-Submit-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0 ํ•œ๊ฐœ์˜ Form์—์„œ ์—ฌ๋Ÿฌ๊ฐœ Submit ์‚ฌ์šฉํ•˜๊ธฐ Multiple submit in Single Form ํ•œ๊ฐœ์˜ ํƒœ๊ทธ์—์„œ ์—์„œ ์—ฌ๋Ÿฌ๊ฐœ์˜ submit ๋ฒ„ํŠผ์„ ์‚ฌ์šฉํ•  ๊ฒฝ์šฐ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฌด์—‡์ด ๊ฐ€์žฅ ์šฐ์•„ํ•œ ๋ฐฉ๋ฒ•์ผ๊นŒ์š”? onclick - 1 ์•„๋งˆ ์•„๋ž˜์™€ ๊ฐ™์€ ์ฝ”๋“œ๋ฅผ ๋งŽ์ด ๋ณด์…จ์„ ๊ฒ๋‹ˆ๋‹ค. $("#update"). kutar37.tistory.com

[ํŒŒ์ด์ฌ] Pandas ๋‚ ์งœ๋ฅผ ์ด์šฉํ•˜์—ฌ ๋ฐ์ดํ„ฐ ์กฐํšŒ

https://zephyrus1111.tistory.com/69 [Pandas] 13. ๋‚ ์งœ๋ฅผ ์ด์šฉํ•˜์—ฌ ๋ฐ์ดํ„ฐ ์กฐํšŒํ•˜๊ธฐ ์•ˆ๋…•ํ•˜์„ธ์š”~ ๊ฝ๋ƒฅ์ด์—์š”. ๋ฐ์ดํ„ฐ๋Š” ์‹œ๊ฐ„์— ๋”ฐ๋ผ์„œ ๋ฐœ์ƒํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋งŽ์ง€์š”. ๋”ฐ๋ผ์„œ ๋ฐ์ดํ„ฐ ์†์—๋Š” ์–ธ์ œ ์ƒ์„ฑ๋˜์—ˆ๋Š”์ง€ ์•Œ๋ ค์ฃผ๋Š” ์‹œ๊ฐ„ ๋˜๋Š” ๋‚ ์งœ ์ •๋ณด๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์ง€์š”. ์ด์— ๋”ฐ๋ผ ๋‚ ์งœ ์ •๋ณด๋ฅผ zephyrus1111.tistory.com

[ํŒŒ์ด์ฌ ] Flask ์ด๋ฏธ์ง€ ๊ฒฝ๋กœ ๋ฌธ์ œ

Flask ์•ฑ์€ ํ•ด๋‹น ํด๋” ๋‚ด static์ด๋ผ๋Š” ์ด๋ฆ„์˜ ํด๋”์—์„œ ํŒŒ์ผ์„ ์ฐธ์กฐํ•˜๋„๋ก ์„ค์ •๋˜์–ด ์žˆ์Œ. Flask not serving pictures I created a small Flask app for the purpose of processing and presenting data for my local consumption on my local machine. My Flask app processes data in a subfolder and then opens a webpage to d... stackoverflow.com

[ํŒŒ์ด์ฌ] Flask ์›น ํ”„๋ ˆ์ž„์›Œํฌ ํŠœํ† ๋ฆฌ์–ผ

https://m.blog.naver.com/dsz08082/221797865031 [Python] ํŒŒ์ด์ฌ ์›น ๊ฐœ๋ฐœ. #๊ฐœ๋ฐœ ํ”„๋ ˆ์ž„์›Œํฌ, Django์™€ Flask ๋น„๊ต #๊ฐœ๋ฐœ ํ”„๋ ˆ์ž„์›Œํฌ # ์›น์„ ๊ตฌ์„ฑํ•˜๋Š” ๋Œ€ํ‘œ ์–ธ์–ด๋Š” PHP. JS ๋“ฑ์ด๋‹ค. ์ด์™ธ ์–ธ์–ด์—์„œ ์ œ๊ณตํ•˜๋Š” ๊ฐœ๋ฐœ ํ”„๋ ˆ์ž„... blog.naver.com ์‹œ๋ฆฌ์ฆˆ ์ •์ฃผํ–‰

[ํŒŒ์ด์ฌ] Flask ์™€ Pandas ์—ฐ๋™

https://frhyme.github.io/python-lib/flask_pandas/ flask์™€ pandas๋ฅผ ์—ฐ๊ฒฐํ•ด๋ด…์‹œ๋‹ค. flask์™€ pd.DataFrame ์—ฐ๋™ํ•˜๊ธฐ frhyme.github.io https://stackoverflow.com/questions/52644035/how-to-show-a-pandas-dataframe-into-a-existing-flask-html-table How to show a pandas dataframe into a existing flask html table? This may sound a noob question, but I'm stuck with it as Python is not one of my best languages. I have a htm..

[ํŒŒ์ด์ฌ] ํ”„๋กœ์ ํŠธ์—์„œ ์„ค์ • ๊ฐ’ ๊ด€๋ฆฌํ•˜๊ธฐ

https://mingrammer.com/ways-to-manage-the-configuration-in-python/ ํŒŒ์ด์ฌ์—์„œ ์„ค์ •๊ฐ’ ๊ด€๋ฆฌํ•˜๊ธฐ ์„œ๋ฒ„๋ฅผ ๊ฐœ๋ฐœํ•˜๋‹ค๋ณด๋ฉด ํ•ญ์ƒ ๋งˆ์ฃผ์น˜๋Š” ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š”๋ฐ ๋ฐ”๋กœ ์„ค์ •๊ฐ’ (Configuration)์„ ์–ด๋–ป๊ฒŒ ๊ด€๋ฆฌํ•˜๋Š๋ƒ์ด๋‹ค. ๋น„๋‹จ, ์„œ๋ฒ„ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ ์„ค mingrammer.com https://wikidocs.net/81074 4-06 ์„œ๋ฒ„ยท๊ฐœ๋ฐœ ํ™˜๊ฒฝ์„ ์œ„ํ•œ config ๋ถ„๋ฆฌํ•˜๊ธฐ `[์™„์„ฑ ์†Œ์Šค]` : [github.com/pahkey/flaskbook/tree/4-06](https://github.com/pahkey/flaskbook/tree/4-0 ... wikidocs.net