๐ Welcome to my website.
about me | posts | read later
๐ Welcome to my website.
about me | posts | read later
Problem I want to use the ios reminders app more extensively but creating reminders is annoying. Especially when you have to type out everything and manually select the date even when the text is provided via mail. Solution Created a shortcut that recieves text, parses the selected text into three parts: title, description, and date(+time) and takes the parsed result to create a reminder. Most of the logic can be reused for creating calendar events as well....
I set up coder on my mac at home so that I can use my ipad as a remote dev machine. The setup was actually very simple and required almost no tweaking for a minimal dockerized dev environment. The experience is surprisingly great which makes me want to get a 13 inch m4 ipad proโฆ having a function row with an esc key sounds amazingโฆ host (macbook at home) 1 2 3 4 5 6 7 8 # First, install Coder curl -L https://coder....
euc-kr to utf-8 ๋ด ์ ๋ฌด ์ค ํ๋๋ ํ๊ธ(hwp)๋ฌธ์์ ๊ด๋ จ ๋ ์์ ์ ํ๋ ๊ฒ์ด๋ค. ํ๊ธํ์ผ ์์ ๋ค์ด๊ฐ ๋ฐ์ดํฐ๋ฅผ ์ฌ์ฉ์๋ก๋ถํฐ ์ ๋ ฅ๋ฐ์์ ํ์ฑํ์ฌ ๋ฏธ๋ฆฌ ๋ง๋ค์ด ๋ ํ๊ธ ํ ํ๋ฆฟ์ ์ ์ฉ ํ๋๊ฒ ๋์ ์ฃผ ์ ๋ฌด์ด๋ค. ํ๊ธ ๋ฌธ์์ ์ ๋ ฅ๋ ํ ์คํธ๋ฅผ ํ์ฑํ ๋ euc-kr๋ก ์ธ์ฝ๋ฉ์ ํ๋ค. euc-kr (Extended Unix Code for Korean)๋ ํ๊ธ์ ํํํ๊ธฐ ์ํด์ ์ฌ์ฉํ(ํ๋) ์ธ์ฝ๋ฉ ์ค ํ๋์ด๊ณ ํ๊ตญ์ ๋ ๊ฑฐ์ ํ๋ก์ ํธ์์ ๋ง์ด ์ฌ์ฉ ๋์๋ค๊ณ ํ๋ค. euc-kr์ ํน์ง์ variable size์ด๋ค. ํ๊ธ์ 2 byte, ๊ทธ ์ธ ์ํ๋ฒณ, ์ซ์์ ๊ฐ์ ascii ๋ฌธ์๋ 1 byte๋ฅผ ์ฐจ์งํ๋ค....
ํ๋ก์ ํธ ๊ตฌ์กฐ ๋ณํ ์ด์ ์ดํด๋ณธ ํ๋ก์ ํธ ๊ตฌ์กฐ๋ฅผ ์ ์ง๋ณด์, ๊ฐ๋ฐ์ ์์ฐ์ฑ, ํ์ฅ์ฑ ์ธก๋ฉด์์ ๊ฐ์ ํ๊ธฐ ์ํด ์ด๋ค ๊ตฌ์กฐ๋ฅผ ์ ์ฉ ์ํฌ ์ ์์๊น? ํ์ฌ๋ ifr ๋ชจ๋์์ ์์ ์ ํ๊ณ ๋์, jenkins์์ ํ์ดํ๋ผ์ธ์ ๋๋ฆฐ ํ, ๋ฉ์ธ ์ ํ๋ฆฌ์ผ์ด์ ์ ํ์ดํ๋ผ์ธ์ ๋๋ฆฐ๋ค. ๋ฌธ์ ๋ ifr์ ์์ ํ๋ ์ธ์์ด ์ฐ๋ฆฌ ํ ๋ด์๋ ๋ง๊ณ , ํ์ ๋ฌด์์๋ ๊ฐ์ ifr์ ๋๋ฆฐ ํ ๋ฉ์ธ ์ ํ๋ฆฌ์ผ์ด์ ์ ๋ ๋๋ฆฌ๊ธฐ ๋๋ฌธ์, ๋น๋ ํ์ดํ๋ผ์ธ์ด ๋ถํ์ํ๊ฒ ๋์๊ฐ๋ ๊ฒฝ์ฐ๊ฐ ๋ง๋ค. ์ด๋ Build Coupling์ด ๋๋ค๊ณ ํํํ ์ ์๋ค. ๊ฐ Ifr ๋ชจ๋์ ๋ณํ๋ฅผ ์ ์ฉํ๊ธฐ ์ํด์๋ ๋ชจ๋์ ์ฐ์ ๋น๋ ํ ํ, ๋ฉ์ธ ์ ํ๋ฆฌ์ผ์ด์ ์ (์ด ์์๋๋ก) ๋น๋ ํด์ผํ๋ค....
์ด ํ๋ก์ ํธ๋ ์ฌ๋ฌ git ๋ฆฌํฌ์งํ ๋ฆฌ๋ก ๊ตฌ์ฑ๋์ด ์์ผ๋ฉฐ, ๊ฐ ๋ฆฌํฌ์งํ ๋ฆฌ๋ ๋น์ฆ๋์ค ์ ๋ฌด ๋จ์๋ก ๋๋์ด ์๋ค. ๋ด๊ฐ ์ํ ํ์ 4๊ฐ์ง ์ ๋ฌด๋ฅผ ๋ด๋นํ๊ณ ์๊ณ , ์ด ์ค ๋๋ ๋๊ฐ์ง ์ ๋ฌด๋ฅผ ๋งก์๊ณ ๊ฐ ์ ๋ฌด๋น ๋ ๋ค์ ๋๊ฐ์ git ๋ฆฌํฌ์งํ ๋ฆฌ๋ก ๋๋๋ค. ํ๋ก์ ํธ์ ๊ตฌ์กฐ ์ฌ๊ธฐ์ ๋ค์ ํฌํํ ํ๋ก์ ํธ์ ๊ตฌ์กฐ๋ฅผ ์ฟ๋ณผ ์ ์๋ค. ๊ฐ ์ ๋ฌด๋ง๋ค Ifr๊ณผ If module์ด ์๋ค. Ifr Module์ ์ธ๋ถ ์ ๋ฌด์์ ์ฌ์ฉ ๋ ๋ก์ง์ด ๊ตฌํ ๋์ด ์๊ณ , If Module์ ์ฐ๋ฆฌ ํ์ ๋ค๋ฅธ ์ ๋ฌด์์ ์ฌ์ฉ์ด ๋ ๋ก์ง์ด ๋ค์ด ์๋ค....