๐ป๊ฐ๋ฐ24 jQuery ๋ฒ์ ๋ณ ์ฐจ์ด์ ๊ณผ ๋ณ๊ฒฝ์ ์ ๋ฆฌ (1.x, 2.x, 3.x) jQuery ๋ฒ์ ๋ณ ์ฐจ์ด์ ๊ณผ ๋ณ๊ฒฝ์ ์ ๋ํด ์ ๋ฆฌํด๋ณด๊ฒ ์ต๋๋ค. jQuery 1.x IE 6/7/8, Firefox 3.6.x, Safari 4.x์ ์ง์ IE 9 ์ด์, Firefox 4 ์ด์, Safari 5 ์ด์์ ์ต์ ๋ธ๋ผ์ฐ์ ์์๋ ์ ๋์ํจ jQuery 2.x์ ๋ฌ๋ฆฌ IE 6/7/8์ ํธํ์ฑ ์ ์ง๋ฅผ ์ํด ๊ตฌํ ๋ธ๋ผ์ฐ์ ์์ ์ง์๋๋ ์ฝ๋ ํฌํจ jQuery 2.x IE 6/7/8์ ์ง์ ์ค๋จ, ์ต์ ๋ธ๋ผ์ฐ์ ์์๋ง ๋์ jQuery 1.x์ ๋น๊ตํด ํฌ๊ธฐ๊ฐ ์์์ง HTML5, CSS3์ ์ง์์ด ๋ ๊ฐ์ ๋จ ECMAScript 5 ํธํ ๋ธ๋ผ์ฐ์ ๋ง ์ง์ jQuery 3.x jQuery 2.x์ ํฌ๊ธฐ๋ ๊ฐ์ง๋ง ์๋ ๊ฐ์ ECMAScript 5 ํธํ ๋ธ๋ผ์ฐ์ ๋ง ์ง์ ์ผ๋ถ ์ค๋๋ ๋ธ๋ผ์ฐ์ ์์ ์ฝ๊ฐ์ ๋ฌธ์ ๋ฐ์ ๊ฐ๋ฅ์ฑ.. 2023. 4. 18. [Python] ์๋ฒ์ MySQL ํ ์ด๋ธ์ 1์๊ฐ๋ง๋ค dumpํ๊ณ ๋ก์ปฌ๋ก ๋ฐฑ์ ํ๋ ์ฝ๋ Python์ Paramiko๋ฅผ ์ฌ์ฉํด์ ์๋ฒ์ ์ก์ธ์ค ํ์ฌ ์๋ฒ์ MySQL ํน์ ํ ์ด๋ธ์ dumpํด์ ํ์ผ์ PC๋ก์ปฌ๋ก ๊ฐ์ ธ์ค๋ ์ฝ๋์ ๋๋ค. import paramiko import os import time # ์๋ฒ ์ ์ ์ ๋ณด hostname = 'your_server_ip' port = 22 username = 'your_username' password = 'your_password' # MySQL ์ ๋ณด mysql_user = 'your_mysql_user' mysql_password = 'your_mysql_password' mysql_database = 'your_database' mysql_table = 'your_table' # ๋ก์ปฌ ํ์ผ ๊ฒฝ๋ก local_file_path = os.pat.. 2023. 3. 29. JavaScript์์ alert()์ ์ฌ์ฉํ ๋ Android WebView์์ ํ์ดํ ์์ด ์ถ๋ ฅํ๋ ๋ฐฉ๋ฒ JavaScript์์ alert() ๋ฉ์๋๋ฅผ ์ฌ์ฉํ ๋ Android WebView์์ ํ์ดํ ์์ด ์ถ๋ ฅํ๋ ๋ฐฉ๋ฒ WebChromeClient ํด๋์ค๋ฅผ ์ฌ์ฉํ์ฌ onJsAlert() ๋ฉ์๋๋ฅผ ์ค๋ฒ๋ผ์ด๋ํ๊ณ alert ์ฐฝ์ ์ปค์คํฐ๋ง์ด์งํ ์ ์์ต๋๋ค. webView.setWebChromeClient(new WebChromeClient() { @Override public boolean onJsAlert(WebView view, String url, String message, JsResult result) { AlertDialog.Builder builder = new AlertDialog.Builder(view.getContext()) .setMessage(message) .setPositiveButt.. 2023. 3. 28. [Swift] iOS ๊ธฐ๊ธฐ์ ์์ด๋ก์ผ์ ๊ฐ์ ์ฝ์ด์ค๋ ๋ฐฉ๋ฒ ์์ด๋ก ์ผ์ ๊ฐ์ ์ฝ์ด์ค๊ธฐ ์ํด์ , Core Motion ํ๋ ์์ํฌ๋ฅผ ์ฌ์ฉํด์ผ ํฉ๋๋ค. ๋ค์์ Core Motion ํ๋ ์์ํฌ๋ฅผ ์ด์ฉํ์ฌ ์์ด๋ก ์ผ์ ๊ฐ์ ์ฝ์ด์ค๋ ๋ฐฉ๋ฒ์ ๋๋ค. import CoreMotion // CMMotionManager ์ธ์คํด์ค๋ฅผ ์์ฑํฉ๋๋ค. let motionManager = CMMotionManager() // ๋๋ฐ์ด์ค์์ ์์ด๋ก์ค์ฝํ๋ฅผ ์ฌ์ฉํ ์ ์๋์ง ์ฒดํฌํฉ๋๋ค. if motionManager.isGyroAvailable { // ์์ด๋ก์ค์ฝํ ์ผ์ ๊ฐ์ง ๊ฐ๊ฒฉ์ ์ค์ ํฉ๋๋ค. motionManager.gyroUpdateInterval = 0.1 // ์์ด๋ก์ค์ฝํ ๊ฐ ์ ๋ฐ์ดํธ๋ฅผ ์์ํฉ๋๋ค. motionManager.startGyroUpdates(to: OperationQueue... 2023. 3. 21. ์ด์ 1 2 3 4 5 6 ๋ค์