This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ๋ง๋ ์ด : ๊ฐํ๊ตฌ(rkdgusrnrlrl@gmail.com) | |
| # ์ ์์ผ : 2016-03-01 | |
| # ์ฌ์ฉ๋ฐฉ๋ฒ : backup {๋ฐฑ์ ํ ํ์ผ๋ช } => ํด๋น ํด๋์ ํด๋น ํ์ผ๋ช ๋ค์ ๋ ์ง๊ฐ ๋ถ์ด์ ๋ฐฑ์ ๋จ | |
| # ex : member.db.20160301.back | |
| # ๊ฐ์ ์ฌํญ | |
| # - ์ต์ ์ ํตํด ๋ฐฑ์ ํด๋ ์ค์ | |
| # | |
| echo "backup start" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| from selenium import webdriver | |
| from selenium.webdriver.common.by import By | |
| from selenium.webdriver.support.ui import WebDriverWait | |
| from selenium.webdriver.support import expected_conditions as EC | |
| #pip install selenium ํ์, ํ์ด์ดํญ์ค ํ์(๋ธ๋ผ์ฐ์ ๋ ๋ณ๊ฒฝ ๊ฐ๋ฅ) | |
| driver = webdriver.Firefox() | |
| driver.get('http://typing.tyle.io/') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ToInt{ | |
| //InputStream ๊ตฌํ์ read() ๋ฉ์๋๋ byte ๊ฐ์ด ์๋ int ๊ฐ์ ๋ฐํ ํ๋๋ฐ | |
| //Stream ์ด ๋์ผ ๊ฒฝ์ฐ -1์ ๋ฐํํ๋ ๊ท์ฝ์ด ์์ด ์์๋ฅผ ์ฌ์ฉ ํ์ง ๋ชปํด | |
| //byte ๋ณด๋ค ํฐ int ๋ก ๋ฆฌํดํ๋ ๊ฒ์ด๊ณ 0 ~ 255(128 + 127) ๊น์ง ์ ์ซ์๋ฅผ ๋ฆฌํดํ๋ค | |
| public static int toInt(byte b) { | |
| return (-(b-127)/128)*256+b; | |
| } | |
| public static void main(String[] args){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <input type="button" id="<%=rs.getString("title")%>" value="MV" onclick="javascript:mvf(<%=rs.getString("title")%>);"> | |
| <form name="go_page" method="post"> | |
| <input name="title" value=""> | |
| </form> | |
| <script> | |
| function mvf(id){ | |
| var from = document.go_page; |
NewerOlder