728x90 ์ ์ฒด ๊ธ720 Jekyll - ๋น ๋ฅธ ์์, Docs https://jekyllrb-ko.github.io/docs/ Quickstart Jekyll is a static site generator. It takes text written in your favorite markup language and uses layouts to create a static website. You can tweak the site’s look and feel, URLs, the data displayed on the page, and more. jekyllrb.com 2023. 3. 3. ์๋ฐ์คํฌ๋ฆฝํธ - SMS ๋ฌธ์ ๋ณด๋ด๊ธฐ SMS๋ณด๋ด๊ธฐ location.href = sms:์์ ์๋ฒํธ?body=๋ณด๋ผ๋ฉ์ธ์ง; ์ถ์ฒ: https://ttowa.tistory.com/m/entry/JS-%EC%9B%B9Mobile%EC%97%90%EC%84%9C-SMS-%EB%AC%B8%EC%9E%90%EB%B3%B4%EB%82%B4%EA%B8%B0 [JS] ์น(Mobile)์์ SMS ๋ฌธ์๋ณด๋ด๊ธฐ 1.Android(์๋๋ก์ด๋) SMS๋ณด๋ด๊ธฐ location.href = sms:์์ ์๋ฒํธ?body=๋ณด๋ผ๋ฉ์ธ์ง; 2.IOS(์์ดํฐ) SMS๋ณด๋ด๊ธฐ location.href = sms:์์ ์๋ฒํธ&body=๋ณด๋ผ๋ฉ์ธ์ง; 3.Android & IOS ์๋ ๋ถ๊ธฐ ์ค์ ๋๋ฐ์ด์ค์์ ํ ์คํธ ํด ttowa.tistory.com 2023. 3. 2. Jekyll - ํ ๋ง ์ฌ์ดํธ ๋ชจ์ http://jekyllthemes.org/ Jekyll Themes jekyllthemes.org jamstackthemes.dev Jekyll Over 1000 themes and starters for Jamstack and static site generators. jamstackthemes.dev jekyllthemes.io Jekyll Themes – a curated directory Find the best Jekyll themes for your next project – a curated directory of themes, templates and resources for building Jekyll websites. jekyllthemes.io ์ถ์ฒ: https://jekyllrb-.. 2023. 3. 2. ์ ๋ ๋์ - ์ด๋ฏธ์ง(img) ๋ค์ด๋ก๋ (No urllib.urlretrieve) URL ์์ฒญ ๋ฐฉ์์ธ urllib.urlretrieve์ src ์ฃผ์๋ก ์์ฒญ์ ํ๋ ๋ฐฉ์์ด๊ธฐ ๋๋ฌธ์ ์บก์ฑ (์๋๋ฑ๋ก๋ฐฉ์ง ๋ฌธ์)์ฒ๋ผ ๋งค๋ฒ ์์ฒญํ ๋๋ง๋ค ์ด๋ฏธ์ง๊ฐ ๋ฐ๋๋ ๊ฒฝ์ฐ๊ฐ ์์ด ๋ฌด์ฉ์ง๋ฌผ์ด ๋๋ค. ๊ทธ๋ฌ๋ฏ๋ก ์ด๋ฏธ ๋ธ๋ผ์ฐ์ ์ ๋ก๋๊ฐ ๋ ์ด๋ฏธ์ง๋ฅผ ๊ฐ์ ธ์ค๋ ๋ฐฉ๋ฒ์ ์ฌ์ฉํด์ผ ํ๋ค. ๋ฐฉ๋ฒ 1. screenshot_as_png ์ฌ์ฉ (์ถ์ฒ) from selenium import webdriver driver = webdriver.Firefox() driver.get('https://www.webpagetest.org/') with open('filename.png', 'wb') as file: file.write(driver.find_element_by_xpath('/html/body/div[1]/div[5]/div[2.. 2023. 2. 28. ๋ฆฌ๋ ์ค - ํ์ผ ์ฒดํฌ์ฌ(checksum) ํ์ธ ๋ช ๋ น์ด(sha256sum) ๋ช ๋ น์ด echo "[ํด์] [ํ์ผ์ด๋ฆ]" | sha256sum --check - ์ฌ์ฉ ์์ echo "c409c819eed60985273e94e575fd5dfd8dd34baef3764fc7356b0f23e25a372c protonvpn-stable-release_1.0.3_all.deb" | sha256sum --check - 2023. 2. 27. ๋ฆฌ๋ ์ค - ๋ผ์ฆ๋ฒ ๋ฆฌํ์ด ํ๋ก์ ์๋ฒ ์ค์นํ๊ธฐ(Privoxy) Privoxy ์ค์น sudo apt install privoxy -y ์ค์ ํ์ผ ์์ sudo nano /etc/privoxy/config listen-address :8118 ์์ ๊ฐ์ด ์์ ํด ์ค๋ค. Privoxy ์ฌ์์ sudo systemctl restart privoxy ์ฐธ๊ณ : https://www.howtogeek.com/683971/how-to-use-a-raspberry-pi-as-a-proxy-server-with-privoxy/ How to Use a Raspberry Pi as a Proxy Server (with Privoxy) A Raspberry Pi proxy server allows you to control the websites people can visit. It can .. 2023. 2. 26. ์๋์ฐ - HDD ์ด๊ธฐํ , USB ์ฉ๋ ๋ณต๊ตฌํ๊ธฐ(diskpart) 1. diskpart๋ผ๊ณ ์ ๋ ฅํ๋ค 2. list disk ๋ผ๊ณ ์ ๋ ฅํ๊ณ USB ๋ฉ๋ชจ๋ฆฌ ์ฉ๋๊ณผ ๋น์ทํ ๊ฒ์ ๋์คํฌ ๋ฒํธ๋ฅผ ๊ธฐ์ตํด ๋์ธ์. 3. select disk ๋์คํฌ๋ฒํธ ๋ฅผ ์ ๋ ฅํ๋ค 4. clean ์ ์ ๋ ฅํ๋ค 5. create partition primary๋ฅผ ์ ๋ ฅํ๋ค 6. format fs=ntfs quick ์ ์ ๋ ฅํ๋ค 7. exit ๋ฅผ ์ ๋ ฅํ๋ค ์ถ์ฒ: https://blog.naver.com/devlog_/221619228538 2023. 2. 26. ์์ - ์ ํ๋ธ ์์์ ๊ธฐํ ์ฝ๋๋ก ๋ณํํ๋ ์ฌ์ดํธ https://chordify.net/ Instant chords for any song - Chordify Chordify turns any music or song (YouTube, Deezer, SoundCloud, MP3) into chords. Play along with guitar, ukulele, or piano with interactive chords and diagrams. chordify.net 2023. 2. 24. MySQL - ์ฌ์ฉ์ ๊ถํ ๋ถ์ฌ(grant), ์ทจ์(revoke) ๋ชจ๋ ๊ถํ(SELECT, INSERT, UPDATE, DELETE ๋ฑ) ๋ถ์ฌ (GRANT ๊ถํ ON ๋ฐ์ดํฐ๋ฒ ์ด์ค.ํ ์ด๋ธ TO ์ ์ @ํธ์คํธ) GRANT all privileges ON db_name.* TO username@localhost identified by '๋น๋ฐ๋ฒํธ'; GRANT all privileges ON db_name.* TO username@localhost identified by '๋น๋ฐ๋ฒํธ' WITH GRANT OPTION; username์๊ฒ db_name์ด๋ผ๋ ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ๋ชจ๋ ํ ์ด๋ธ์ ๋ํ ๊ถํ์ ๋ถ์ฌ localhost : ๋ก์ปฌ ํธ์คํธ์์ ์ ์ % : ์ธ๋ถ ํธ์คํธ์์ ์ ์ WITH GRANT OPTION : ์ฌ์ฉ์๊ฐ ๋ถ์ฌ๋ฐ์ ๊ถํ์ ๋ค๋ฅธ ์ฌ์ฉ์์๊ฒ ๋๋ค์ ๋ถ์ฌํ ์ ์๋ ๊ถํ.. 2023. 2. 24. MySQL - ์ธ๋ถ ์ ์ ํ์ฉํ๊ธฐ ์ธ๋ถ ์ ์ ๊ฐ๋ฅํ ๊ณ์ ์์ฑ ์ฐธ๊ณ https://janger.tistory.com/512 bind-address = 127.0.0.1 ์ฃผ์ ์ฒ๋ฆฌ sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf ์ถ์ฒ: https://funarock.tistory.com/909 ERROR 2003 (HY000): Can't connect to MySQL server on '' (111) ํด๊ฒฐ ๋ฐฉ๋ฒ ERROR 2003 (HY000): Can't connect to MySQL server on '' (113) ํด๊ฒฐ ๋ฐฉ๋ฒ ๋ฌธ์ ์ ์๋ฌERROR 2003 (HY000): Can't connect to MySQL server on 'x.x.x.x' (111) 1. bind-address ์ฃผ์ ๋ฐ ๊ฐ ๋ณ๊ฒฝํ.. 2023. 2. 24. PHP - IP ์๊ด์์ด ์ธ์ ๊ธฐ๋ฐ์ผ๋ก ๋ก๊ทธ์ธ ์ค๋ณต ๋ฐฉ์ง 1. ์ฌ์ฉ์์ ํ ์ด๋ธ์ session ์ปฌ๋ผ์ ์ถ๊ฐํ๋ค. 2. ์ฌ์ฉ์๊ฐ ๋ก๊ทธ์ธ์ ์ฑ๊ณตํ๋ฉด session_id()์ session์๋ค ์ถ๊ฐํ๋ค. $session_id = session_id(); $sql = "UPDATE members SET session = '$session_id' WHERE username = '$username'"; 3. ํค๋์์ ๋งค๋ฒ ํ์ฌ ์ฌ์ฉ์์ ์ธ์ ๊ณผ ๋น๊ต๋ฅผ ํด์ ๋ง์ฝ ๋ค๋ฅด๋ฉด ๋ก๊ทธ์์ ์ฒ๋ฆฌ๋ฅผ ํ๊ฒ ํ๋ค. $session_id = session_id(); $sql_ = "SELECT * FROM members WHERE session = '$session_id' AND username = '$username'"; $result = mysqli_query($conn, $sql_); .. 2023. 2. 18. PHP - shell_exec ํจ์ ํ๊ธ ๊ฒฝ๋ก or ํ๊ธ ์ธ์๊ฐ ๊นจ์ง๋ ๊ฒฝ์ฐ urlencode() ์ฌ์ฉ $arg = urlencode($arg); $data = shell_exec('python3 app.py ' . $arg); ์ถ์ฒ: https://zxchsr.tistory.com/72 [PHP] ๋ฌธ์ ์ธ์ฝ๋ฉ ๋ณํ iconv() / urlencode() โ PHP ํ๊ธ ๊นจ์ง ๋ฌธ์ ์ธ์ฝ๋ฉ ๋ณํ โ iconv ( string $from_encoding , string $to_encoding , string $string ) โ urlencode(string $string) zxchsr.tistory.com 2023. 2. 18. ์ด์ 1 ยทยทยท 20 21 22 23 24 25 26 ยทยทยท 60 ๋ค์ 728x90