User Tools

Site Tools


notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes [2014/03/16 16:12] dongheenotes [2018/07/18 14:10] (current) – external edit 127.0.0.1
Line 3: Line 3:
 임시적인 내용은 삭제하고, 기억할 내용은 새로운 페이지를 만든다. 일상의 기록은 [[journal:201403]] 페이지로 옮긴다. 임시적인 내용은 삭제하고, 기억할 내용은 새로운 페이지를 만든다. 일상의 기록은 [[journal:201403]] 페이지로 옮긴다.
  
- +  
-  +
- +
- +
-==== 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('Nice demo!'); +
-``` +
- +
-## Installation +
- +
-    npm install thlorenz/browserify-markdown-editor +
- +
-## 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('Nice demo!'); +
-``` +
- +
-## Installation +
- +
-    npm install thlorenz/browserify-markdown-editor +
- +
-## 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('Nice demo!'); +
-``` +
- +
-## Installation +
- +
-    npm install thlorenz/browserify-markdown-editor +
- +
-## 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('Nice demo!'); +
-``` +
- +
-## Installation +
- +
-    npm install thlorenz/browserify-markdown-editor +
- +
-## 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('Nice demo!'); +
-``` +
- +
-## Installation +
- +
-    npm install thlorenz/browserify-markdown-editor +
- +
-## 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('Nice demo!'); +
-``` +
- +
-## Installation +
- +
-    npm install thlorenz/browserify-markdown-editor +
- +
-## 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('cp949'+
- +
-def setText(txt): +
-    xerox.copy(txt) +
- +
-page_id = "notes" +
-time = strftime("%Y-%m-%d %H:%M:%S"+
-time = "==== "+time+" ====" +
-txt = time+"\n"+txt+"\n" +
- +
-d = DokuWikiClient("http://dh8.kr/wiki","donghee","12341"+
-params = {} +
-old_txt = d.page(page_id) +
-txt = old_txt +"\n" + txt +
-d.put_page(page_id, txt, params) +
- +
-print txt +
-print "--------------------------------------------" +
-page_url = "http://dh8.kr/wiki/doku.php/%s" % page_id +
-print page_url +
-setText(page_url) +
-print "Updated" +
-sleep(5) +
- +
notes.1394986338.txt.gz · Last modified: 2018/07/18 14:09 (external edit)