python - enumerate()
http://brownbears.tistory.com/118

Origami Around

Doug Jones

ellievsbear
macklin celebrini has autism
taylor price
Cookie Run:Kingdom Official!

romaโ

tannertan36
One Nice Bug Per Day
EXPECTATIONS
RMH
Misplaced Lens Cap
Xuebing Du
ojovivo

shark vs the universe
๐

Kiana Khansmith
The Bowery Presents

seen from Thailand
seen from Saudi Arabia

seen from Canada
seen from Bangladesh

seen from United Kingdom

seen from United States
seen from Colombia
seen from United States
seen from United States
seen from Ukraine
seen from Mexico
seen from Bangladesh

seen from United States
seen from Germany

seen from United States
seen from Germany
seen from Indonesia
seen from Australia

seen from United States
seen from United States
@rhanshan-blog
python - enumerate()
http://brownbears.tistory.com/118

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch โข No registration required โข HD streaming
Remembering Things with Models
1:46
Class based view
will cover ..
< About default putย โargs, kwargsโ >
=> important!
Template Inheritance
philosophy behind code and softwareย
--> DRY, Donโt Repeat Yourself
Context in Django templates
template tags and filter : https://docs.djangoproject.com/en/2.0/ref/templates/builtins/
{% verbatim %} {% endverbatim %}
you shouldnโt have too much logic in here right. The logic should actually exist in view. -- The logic should actually exist in the view function itself, not so much in the template.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch โข No registration required โข HD streaming
Render a Django Template
{{ html_var }} -- a context variable
Rendering HTML
HTML is the language the browser reads.
python f stringย
What Django Does
1. Handles URLs yelp.com -- codingforentrepreneurs.com/projects/30-days-python/
2. Returns responses (related those URLs)
3. Remembers things
accounts -- user โdjango appโ
videos -- anotherย โdjango appโ
analytics, menu listing ...
we are going to explore these apps because what the apps do is actually handle these things with the help of Django!
JS Syntax
JavaScript values - two types of values.
1. Fixed values : literals.ย
(Numbers, Strings)
2. Variable values : variables. be used to store data values.
JavaScript Identifiers
- Identifiers are names. Identifiers are used to name variables (and keywords, functions, labels)ย
The rules for legal names : the first character must be a letter, or an underscore(_), or a dollar sign ($).
JS Statements
์ปดํจํฐ ํ๋ก๊ทธ๋จ์ ์ปดํจํฐ์ ์ํด ์คํ๋ ์ ์๋ย โ๋ช ๋ น์ดโ๋ค์ ๋ฆฌ์คํธ์ด๋ค. ํ๋ก๊ทธ๋๋ฐ ์ธ์ด์์, ์ด๋ฌํ ํ๋ก๊ทธ๋๋ฐ ๋ช ๋ น์ด๋ค์ย โstatementโ๋ผ๊ณ ๋ถ๋ฆฐ๋ค. JavaScript program is a list of programming statements.
In HTML, JavaScript programs are executed by the web browser.
JavaScript statements are composed of Values, Operators, Expressions, Keywords, and Comments.
๋ณดํต ํ๋ก๊ทธ๋๋จธ๋ค์ ์ฝ๋ ๋ผ์ธ๋ค์ด 80๋ฌธ์๋ณด๋ค ๊ธด ๊ฒ์ ํผํ๋ค. ์๋ฐ์คํฌ๋ฆฝํธ์์ ํ ๋ผ์ธ์ด ๋๋ฌด ๊ธธ ๋, ์ฐ์ฐ์ ๋ค์์ด breakํ๊ธฐ์ ์ ์ผ ์ข๋ค.
JavaScript Keywords ์ค์์ ๊ธฐ์ตํด๋ ๊ฒ.
- var : Declares a variable.
- function : Declares a function.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch โข No registration required โข HD streaming
JS output
JavaScript Display Possibilities.
JavaScript can display data in different ways
- Writing into an HTML element, using innerHTML
document.getElementById(id) ๋ฉ์๋๋ฅผ ์ฌ์ฉํ๋ฉด HTML ์์์ ์ ๊ทผํ ์ ์๋ค. id ์์ฑ์ HTML ์์๋ฅผ ๊ฒฐ์ ํ๋ ๊ฒ์ด๊ณ , innerHTML์ HTML ๋ด์ฉ์ ์ ์ํ๋ค.
- Writing into an HTML output using document.write()
The document.write() method should only be used for testing.
- Writing into an alert box, using window.alert()
You can use an alert box to display data.
- Writing into the browser console, using console.log()
For debugging purposes, you can use the console.log() method to display data.
JS Tutorial > JS Introduction
JavaScript can change HTML Content
JavaScript can change HTML Attribute Values.
JavaScript can change HTML Styles (CSS)
JavaScript can hide HTML Elements
JavaScript can show HTML Elements
Node > ๋ผ์ฐํฐ ํ์ฉ
์๋ฒ์์ ๋ค๋ฅธ ํ์์ผ๋ก ๋ฐ์ดํฐ๋ฅผ ์ ๊ณตํ๋ ๋ฐฉ๋ฒ
1. /data.html - ๋ฐ์ดํฐ๋ฅผ HTML ํ์์ผ๋ก ์ ๊ณตํ๋ค.
2. /data.json - ๋ฐ์ดํฐ๋ฅผ JSON ํ์์ผ๋ก ์ ๊ณตํ๋ค.
3. /data.xml - ๋ฐ์ดํฐ๋ฅผ XML ํ์์ผ๋ก ์ ๊ณตํ๋ค.
Node > ๋ผ์ฐํฐ
์ฌ์ฉ์์ ์์ฒญ์ ๋ฐ๋ผ ์ฌ์ฉ์๊ฐ ํ์ํ ์ ๋ณด๋ฅผ ์ ๊ณตํ๋ ๊ฒ์ย โ๋ผ์ฐํธํ๋คโ๋ผ๊ณ ํํํ๋ค. ๊ทธ๋ฆฌ๊ณ ์ด๋ฌํ ๊ธฐ๋ฅ์ ์ํํ๋ ๋ฏธ๋ค์จ์ด๋ฅผย โ๋ผ์ฐํฐโ๋ผ๊ณ ๋ถ๋ฅธ๋ค. ๋ผ์ฐํฐ ๋ฏธ๋ค์จ์ด๋ ๋ค์๊ณผ ๊ฐ์ด ์ฌ์ฉํ๋ค. static ๋ฏธ๋ค์จ์ด์ ๋ค๋ฅด๊ฒ app ๊ฐ์ฒด์ ์์ฑ์ด๋ผ๋ ๊ฒ์ ์ฃผ์ํ์.
์ด๋ ๊ฒ ํ๋ฉด ๊ฐ๊ฐ์ ๊ฒฝ๋ก๋ก ๋ค์ด๊ฐ ๋ ๊ฐ๊ฐ์ ์ฝ๋ฐฑ ํจ์๊ฐ ์คํ๋๋ค.
Node > ๋ฏธ๋ค์จ์ด
๊ฐ๊ฐ์ ์ฝ๋ฐฑ ํจ์๋ฅผ ํต๊ณผํ๋ฉฐ console.log() ๋ฉ์๋๋ฅผ ์คํํ ๊ฒ์ด๋ค. ์ด๋ ๊ฒ ์ฌ์ฉ์์ ์์ฒญ์ ์ฒ๋ฆฌํ๋ฉด์ ์ง๋๊ฐ๋ app.use() ๋ฉ์๋์ ์ฝ๋ฐฑ ํจ์๋ฅผ ๋ฏธ๋ค์จ์ด๋ผ๊ณ ๋ถ๋ฅธ๋ค.
์ฒ์์ผ๋ก ์์๋ณผ ๋ฏธ๋ค์จ์ด๋ static ๋ฏธ๋ค์จ์ด. ์ด๋ ์ ์ ํ์ผ์ ์ ๊ณตํ ๋ ์ฌ์ฉํ๋ ๋ฏธ๋ค์จ์ด์ด๋ค.
์๋์ผ๋ก 127.0.0.1:52273/index.html ํ์ผ์ ์ถ๋ ฅํ๋ค.
static ๋ฏธ๋ค์จ์ด๋ ์์ฒญ์ด ๋ค์ด์ค๋ ์๊ฐ์ ํ์ผ์ ์๋ก ์ฝ๊ณ ์น ๋ธ๋ผ์ฐ์ ์ ์ ๊ณตํ๋ค. ๋ฐ๋ผ์ public ํด๋ ๋ด๋ถ์ ํ์ผ ๋ณ๊ฒฝ์ ์๋ฒ๋ฅผ ๋ค์ ์์ํ์ง ์์๋ ๋ฐ์๋๋ค.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch โข No registration required โข HD streaming
Node > ์๋ฒ ์์ฑ ๋ฐ ์คํ
Line 1, 2 :ย http ๋ชจ๋๊ณผ express ๋ชจ๋์ ์ถ์ถํ๋ค.
Line 4 : ์น ์๋ฒ๋ฅผ ์์ฑํ๋ค.
Line 10 : ์น ์๋ฒ๋ฅผ ์คํํ๋ค.
์น ์๋ฒ๋ฅผ ๋ง๋ค ๋๋ express๋ผ๋ ์ธ๋ถ ๋ชจ๋์ ์ฌ์ฉํ๋ค. ์ค์ต ์งํ์ ์ํด ๋ฒ์ 3.4.7์ ๋ด๋ ค๋ฐ๊ณ ์ค์นํ๋ค.
> npm install [email protected]ย
ํ์ผ์ ์์ ํ๋ฉด, ๋ฐ๋์ ์๋ฒ๋ฅผ ์ข ๋ฃ(ctrl + c)ํ๊ณ ๋ค์ ์คํํด์ผ ํ๋ค.
Node > ํ์ผ ์คํ ๋ฐฉ๋ฒ