notes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes [2014/03/16 16:12] – donghee | notes [2018/07/18 14:10] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| 임시적인 내용은 삭제하고, | 임시적인 내용은 삭제하고, | ||
| - | + | | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== 2014-03-17 01:11:34 ==== | + | |
| - | # browserify-markdown-editor | + | |
| - | + | ||
| - | A demo showing how to build a markdown editor with browserify and marked. | + | |
| - | + | ||
| - | ```js | + | |
| - | var a = 3; | + | |
| - | console.log(' | + | |
| - | ``` | + | |
| - | + | ||
| - | ## Installation | + | |
| - | + | ||
| - | npm install thlorenz/ | + | |
| - | + | ||
| - | ## API | + | |
| - | + | ||
| - | None, it's a demo. | + | |
| - | + | ||
| - | ## License | + | |
| - | + | ||
| - | MIT | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== 2014-03-17 01:11:36 ==== | + | |
| - | # browserify-markdown-editor | + | |
| - | + | ||
| - | A demo showing how to build a markdown editor with browserify and marked. | + | |
| - | + | ||
| - | ```js | + | |
| - | var a = 3; | + | |
| - | console.log(' | + | |
| - | ``` | + | |
| - | + | ||
| - | ## Installation | + | |
| - | + | ||
| - | npm install thlorenz/ | + | |
| - | + | ||
| - | ## API | + | |
| - | + | ||
| - | None, it's a demo. | + | |
| - | + | ||
| - | ## License | + | |
| - | + | ||
| - | MIT | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== 2014-03-17 01:11:38 ==== | + | |
| - | # browserify-markdown-editor | + | |
| - | + | ||
| - | A demo showing how to build a markdown editor with browserify and marked. | + | |
| - | + | ||
| - | ```js | + | |
| - | var a = 3; | + | |
| - | console.log(' | + | |
| - | ``` | + | |
| - | + | ||
| - | ## Installation | + | |
| - | + | ||
| - | npm install thlorenz/ | + | |
| - | + | ||
| - | ## API | + | |
| - | + | ||
| - | None, it's a demo. | + | |
| - | + | ||
| - | ## License | + | |
| - | + | ||
| - | MIT | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== 2014-03-17 01:11:40 ==== | + | |
| - | # browserify-markdown-editor | + | |
| - | + | ||
| - | A demo showing how to build a markdown editor with browserify and marked. | + | |
| - | + | ||
| - | ```js | + | |
| - | var a = 3; | + | |
| - | console.log(' | + | |
| - | ``` | + | |
| - | + | ||
| - | ## Installation | + | |
| - | + | ||
| - | npm install thlorenz/ | + | |
| - | + | ||
| - | ## API | + | |
| - | + | ||
| - | None, it's a demo. | + | |
| - | + | ||
| - | ## License | + | |
| - | + | ||
| - | MIT | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== 2014-03-17 01:11:43 ==== | + | |
| - | # browserify-markdown-editor | + | |
| - | + | ||
| - | A demo showing how to build a markdown editor with browserify and marked. | + | |
| - | + | ||
| - | ```js | + | |
| - | var a = 3; | + | |
| - | console.log(' | + | |
| - | ``` | + | |
| - | + | ||
| - | ## Installation | + | |
| - | + | ||
| - | npm install thlorenz/ | + | |
| - | + | ||
| - | ## API | + | |
| - | + | ||
| - | None, it's a demo. | + | |
| - | + | ||
| - | ## License | + | |
| - | + | ||
| - | MIT | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== 2014-03-17 01:11:45 ==== | + | |
| - | # browserify-markdown-editor | + | |
| - | + | ||
| - | A demo showing how to build a markdown editor with browserify and marked. | + | |
| - | + | ||
| - | ```js | + | |
| - | var a = 3; | + | |
| - | console.log(' | + | |
| - | ``` | + | |
| - | + | ||
| - | ## Installation | + | |
| - | + | ||
| - | npm install thlorenz/ | + | |
| - | + | ||
| - | ## API | + | |
| - | + | ||
| - | None, it's a demo. | + | |
| - | + | ||
| - | ## License | + | |
| - | + | ||
| - | MIT | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== 2014-03-17 01:13:11 ==== | + | |
| - | # coding=utf-8 | + | |
| - | + | ||
| - | from dokuwikixmlrpc import DokuWikiClient | + | |
| - | from time import strftime, sleep | + | |
| - | + | ||
| - | # Use xerox for Windows 7 Korean. | + | |
| - | import xerox | + | |
| - | txt = xerox.paste().decode(' | + | |
| - | + | ||
| - | def setText(txt): | + | |
| - | xerox.copy(txt) | + | |
| - | + | ||
| - | page_id = " | + | |
| - | time = strftime(" | + | |
| - | time = "==== " | + | |
| - | txt = time+" | + | |
| - | + | ||
| - | d = DokuWikiClient(" | + | |
| - | params = {} | + | |
| - | old_txt = d.page(page_id) | + | |
| - | txt = old_txt +" | + | |
| - | d.put_page(page_id, | + | |
| - | + | ||
| - | print txt | + | |
| - | print " | + | |
| - | page_url = " | + | |
| - | print page_url | + | |
| - | setText(page_url) | + | |
| - | print " | + | |
| - | sleep(5) | + | |
| - | + | ||
notes.1394986338.txt.gz · Last modified: 2018/07/18 14:09 (external edit)