์ ์ฒด ๊ธ
๊น ๋ธ๋ก๊ทธ ํฌ์คํ ํ๊ธฐ
๊ฒ์๋ฌผ | ์งํฌ • ๊ฐ๋จํ, ๋ธ๋ก๊ทธ ์ธ์, ์ ์ ์ฌ์ดํธ (jekyllrb.com) Posts Blogging is baked into Jekyll. You write blog posts as text files and Jekyll provides everything you need to turn it into a blog. jekyllrb.com --- layout: post title: "Welcome to Jekyll!" --- # Welcome **Hello world**, this is my first Jekyll blog post. I hope you like it! https://youtu.be/ACzFIAOsfpM [Jekyll Blog] ๋งํฌ๋ค์ด(Markdown) ์ฌ์ฉ๋ฒ ๋ฐ ์์ · The..
๊น ๋ธ๋ก๊ทธ ๊ฐ์ค
GitHub ๋ธ๋ก๊ทธ ๋ง๋ค๊ธฐ(1) - jekyll ์ฌ์ฉํด์ ํ ๋ง ์ ํ๊ธฐ (tistory.com)
๊น Clone : ๊นํ๋ธ์ ๋ก์ปฌ ํด๋ ์ฐ๊ฒฐํ๊ณ commit, push๊น์ง
[Git] ๊นํ๋ธ์ ๋ก์ปฌ ํด๋ ์ฐ๊ฒฐํ๊ธฐ(clone) (velog.io) [Git] ๊นํ๋ธ์ ๋ก์ปฌ ํด๋ ์ฐ๊ฒฐํ๊ธฐ(clone) 1. PC(๋ก์ปฌ)์ ์๋ก์ด ํด๋ ์์ฑ **2. ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ - Git Bash Here * mac์ terminal์์ ์ด๊ธฐ* 3. ๊น ๊ณ์ velog.io ์์ ํฌ์คํ ์ ์ฐธ๊ณ ํ์ฌ ๋ ํฌ์งํ ๋ฆฌ ๋งํฌ ๋ณต์ฌ ํ $ git clone ๋ ํฌ์งํ ๋ฆฌ๋งํฌ ๋ฅผ ํตํด cloneํ๊ณ ๋๋ฉด, ํด๋น ๋ก์ปฌ ํด๋์์ Git Bash here์ ํตํด ๊นbash๋ฅผ ์ด๊ณ ์์ ์ ๊ฐํ ํ ์ด ๋ชจ๋ ๊ณผ์ ์ ๋จ 5์ค๋ง ์ ๋ ฅํด์ฃผ๋ฉด ๋๋ค. $ git clone $ git add . $ git status ์ค๋ช : ๋ณ๊ฒฝ์ฌํญ์ ํ์ธํด์ค๋ค. $ git commit -m "secondTset" ์ค๋ช : ์ปค๋ฐํ ๋๋ง๋ค ๊ผผ๊ผผํ๊ฒ ์ฐ๋..
Git Push
Push git add --all git commit -m "์์ฑํ๊ณ ์ถ์ ์ปค๋ฐ์ปจ๋์ " git push -u origin main ์ ๋ช ๋ น์ด๋ค์ ํฐ๋ฏธ๋์ ์์๋๋ก ์์ฑํด์ค๋ค.
ํฌํค ๋ฌด๋ฃ๋ฒ์ ์ฌ์ฉํ๊ธฐ(4) RPC
์ ์ ๋ค์ด ํจ์๋ฅผ ์คํํ๋ฉด ๋ค๋ฅธ ์ ์ ๋ค๋ ๊ทธ ์ํ๋ฅผ ๋ณผ ์ ์๊ฒ RPCํจ์๋ฅผ ์ฌ์ฉํด์ผํ๋ค. ๊ฐ๋ น, ์ด์ ํ๋ฆฌํฉ์ ์์ฑ์ํค๋ FireBullet()์ ํ๋ ์ด์ด๊ฐ ์คํํ์๊ณ , ์ด ๋์ ์ํ๋ฅผ ๋ค๋ฅธ ํ๋ ์ด์ด๋ค๋ ๋ณด๊ฒ ํ๊ธฐ ์ํด์๋ ์๋์ ๊ฐ์ ์์ ์ด ํ์ํ๋ค. [PunRPC] public void FireBullet() { Instantiate(Resources.Load("bullet"),transform.position,transform.rotation); } if(Input.GetKeyDown(KeyCode.Space)) { //FireBullet(); //ํจ์๋ฅผ ์คํํ๊ณ , ๊ทธ ํจ์๋ฅผ ์คํํ๋ค๋ ๊ฒ์ ๋ค๋ฅธ ํ๋ ์ด์ด์๊ฒ ์ ๋ฌ photonView.RPC("FireBullet",RpcTarget.AllViaSer..
[STL] key ์ค๋ณต๊ฐ๋ฅํ multimap๊ณผ make_pair ์กฐํฉ
#include #include #include #include #include using namespace std; int main(void) { multimap mm; multimap ::iterator mmiter; vectorkind_name1; vectorkind_name2; vectorkind_name3; vector clothes; kind_name1.push_back("yellowhat"); kind_name1.push_back("headgear"); kind_name2.push_back("bluesunglasses"); kind_name2.push_back("eyewear"); kind_name3.push_back("green_turban"); kind_name3.push_back("he..
[STL] unordered_map๊ณผ make_pair ๊ฐ์ด ์ฐ๊ธฐ
unordered_map์ hash ๊ธฐ๋ฐ์ผ๋ก map์ tree ๊ธฐ๋ฐ์ผ๋ก ๊ตฌํ๋๊ธฐ ๋๋ฌธ์ unordered_map์ key๋ค์ ์ ๋ ฌ๋์ด ์์ง ์๊ณ , map์ key๋ค์ ์ ๋ ฌ๋์ด์๋ค. ํ์๋ฐฉ๋ฒ index๋ก ์ ๊ทผํ ์ ์๊ณ iterator๋ก ์ ๊ทผ ์์ : begin( ), ๋ : end( ) key : iter->first, value : iter->second ๋ฐ๋ณต๋ฌธ ์ฌ์ฉ ์ auto ํ์ฉ or pair ์ฌ์ฉ #include #include #include #include #include using namespace std; int main(void) { unordered_map hs; vectorkind_name1; vectorkind_name2; vectorki..