Create bare git repository$ mkdir some_project.git $ cd some_project.git/ $ git --bare init $ touch ./git-daemon-export- ...
-
Create Bare Git Repository
-
Linux Time Sync With Time Server
Ubuntu$ sudo ntpdate pool.ntp.org 31 Aug 19:05:55 ntpdate[8911]: the NTP socket is in use, exiting $ sudo service ntp st ...
-
[Raspberry Pi] Wifi Setting And Enable SSH with Command
Wifi SettingSearch Wifi ESSIDs.$ sudo iwlist wlan0 scan | grep ESS ESSID:"AirPort_what_you_want_to_connect" ESSI ...
-
Linux systemctl
systemctl usage$ sudo systemctl list-units $ sudo systemctl list-units --all $ sudo systemctl list-units --type=service ...
-
PHP Flush
PHP FlushingPHP ์์ Flush ๋ฅผ ์ฐ๋ ์ด์ ๋ ์ฌ๋ฌ๊ฐ์ง๊ฐ ์๊ฒ ์ง๋ง, ๊ฐ์ธ์ ์ผ๋ก ๋ธ๋ผ์ฐ์ ์์ Timeout ์ด ๋์ง ์๊ฒํ๊ธฐ ์ํ ๋ชฉ์ ์ผ๋ก ์์ฃผ ์ด๋ค. ์๋ฒ์์๋ ๊ณ์ฐ์ ํ๊ณ ์๋๋ฐ ๋ธ๋ผ์ฐ์ ์ ์๋ฌด๊ฒ๋ ...
-
DNS Cache Flush
MacOS# Above Sierra $ sudo killall -HUP mDNSResponder; sudo killall mDNSResponderHelper; sudo dscacheutil -flushcache # ...
-
How to remove passphrase from a private key
Sometimes, I feel to remove the passphrase from a key file.$ ssh-keygen -p -f /the/path/of/a/key Enter old passphrase En ...
-
๋ด๊ฐ ์ฌ์ฉํด๋ณธ ๋งํฌ๋ค์ด ์๋ํฐ ๊ฐ๋จ ๋ฆฌ๋ทฐ
์ด์ ๊ธ ์์ ๋งํฌ๋ค์ด์ ์ค๋ (^^?)๋ ๋งค๋ ฅํฌ์ธํธ๋ฅผ ์จ๋ดค์ผ๋, ์ด๋ฒ์๋ ์ง๊ธ๊น์ง ์ฌ์ฉํด๋ณธ ๋งํฌ๋ค์ด ์๋ํฐ๋ค์ ๊ฐ๋จํ๊ฒ ์๊ฐํด๋ณด๊ฒ ์ต๋๋ค. ์ค๋ ๋์๋ค๊ณค ํ์ง๋ง.. ์ฌ์ฉํด ๋ณธ ๊ฒ์ด ๊ทธ๋ฆฌ ๋ง์ง๋ ์์ต๋๋ค. ๊ทธ์ค์ ๋ช๊ฐ์ง๋ฅผ ...
-
http ์ฃผ์ ์ํ ์ฝ๋
์ฃผ์ ์ํ ์ฝ๋์ฝ๋๋ฉ์์ง์ค๋ช 200OK์์ฒญ ์ฒ๋ฆฌ ์ฑ๊ณต301Moved Permanently์๊ตฌํ ๋ฐ์ดํฐ๋ฅผ ๋ณ๊ฒฝ๋ URL์์ ์ฐพ์304Not modifiedํด๋ผ์ด์ธํธ์ ์บ์์ ์ ์ฅ๋์ด ์์400Bad Request์์ฒญ ์ค ...
-
curl
curl ์ต์ ์ต์ ์ฌ์ฉ์์ค๋ช -X-X POSTHTTP ๋ฉ์๋ ์ ๋ณด-d-d โkey1=val1&key2=val2โ localhost:3000POST ํต์ ์ body ๋ฐ์ดํฐ-HContent-Type:applicat ...