Skip to content

Instantly share code, notes, and snippets.

View novelview9's full-sized avatar
🎯
Focusing

Lukuku novelview9

🎯
Focusing
View GitHub Profile

ν…ŒμŠ€νŠΈ

@novelview9
novelview9 / test.md
Last active September 13, 2017 07:11
My first draft.sx document

test

# [λ³€μ—­[Execellentν•œ Dockerfile을 μž‘μ„±ν•˜λŠ” 법!(1)
λ²ˆμ—­μ— μ•žμ„œ
μ§€λ‚œ 10μ›”λΆ€ν„° aws μ„œμšΈ λ¦¬μ „μ—μ„œλ„ ecs μ„œλΉ„μŠ€κ°€ 이용 κ°€λŠ₯ν•˜κ²Œ λ˜μ—ˆλ‹€.
올초 처음으둜 도컀λ₯Ό μ ‘ν•˜κ³  ecsλ₯Ό 톡해 배포 ν•œ κ²½ν—˜μ΄ μžˆμ—ˆλŠ”λ°,
Aws μ„œμšΈλ¦¬μ „ μΆœμ‹œ μ†Œμ‹μ— μ§€κΈˆ μΌν•˜κ³  μžˆλŠ” κ³³μ—μ„œλ„ codedeploy둜 λ°°ν¬ν•˜λ˜ 것을 ecsλ₯Ό 톡해 λ°°ν¬ν•˜λ €κ³  ν–ˆλ‹€.
κ΄€λ ¨ν•΄μ„œ μ—¬λŸ¬ λ¬Έμ„œλ“€μ„ μ°Ύμ•„ 보던 쀑 μ—¬λŸ¬ 쒋은 μžλ£Œλ“€μ„ λ°œκ²¬ν–ˆλ‹€.
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-p
bind-key C-p send-prefix
# go to last window
bind-key a last-window
# split window
bind-key v split-window -h
map <C-n> :NERDTreeToggle<CR>
import copy
class PalindromeNode:
def __init__(self, sentence, exception_limit):
self.sentence = sentence
self.exception_limit = exception_limit
def is_done(self):
@novelview9
novelview9 / download.py
Created May 16, 2022 17:56
python multi image file download
import nest_asyncio # pip install nest_asyncio (for ipython)
nest_asyncio.apply()
import os
import asyncio
import aiohttp # pip install aiohttp
import aiofiles # pip install aiofiles
REPORTS_FOLDER = "reports"
FILES_PATH = os.path.join(REPORTS_FOLDER, "files")
test
test
μ•Œκ² μŠ΅λ‹ˆλ‹€. μ•„λž˜λŠ” 1λ²ˆλΆ€ν„° 10λ²ˆκΉŒμ§€μ˜ CSS BEM κ΅Ώ μΌ€μ΄μŠ€μ™€ λ² λ“œ μΌ€μ΄μŠ€ μ˜ˆμ‹œλ₯Ό ν¬ν•¨ν•œ Markdown 파일 λ‚΄μš©μž…λ‹ˆλ‹€.
```markdown
# CSS BEM Good Case and Bad Case Examples
## 1. Good Case: Clear Block Naming
```css
/* Good */
.header {
background-color: #f8f9fa;