my_help 0.4.5 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (455) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +2 -0
  3. data/.gitignore +29 -2
  4. data/.ipynb_checkpoints/README-checkpoint.ipynb +511 -0
  5. data/.ipynb_checkpoints/Untitled-checkpoint.ipynb +6 -0
  6. data/.ruby-version +1 -0
  7. data/Dockerfile.template +13 -0
  8. data/README.md +341 -256
  9. data/README.org +480 -0
  10. data/Rakefile +9 -31
  11. data/docs/.ipynb_checkpoints/README-checkpoint.ipynb +112 -0
  12. data/docs/.ipynb_checkpoints/Untitled-checkpoint.ipynb +219 -0
  13. data/docs/README.ipynb +112 -0
  14. data/docs/bob/README_en.ipynb +219 -0
  15. data/docs/bob/diff_against_org_mode.ipynb +119 -0
  16. data/docs/bob/emacs_help.ipynb +133 -0
  17. data/docs/bob/template_help.ipynb +136 -0
  18. data/{my_help_nasu → docs/nasu}/.gitignore +0 -0
  19. data/{my_help_nasu → docs/nasu}/Rakefile +91 -20
  20. data/docs/nasu/abstract.hiki +17 -0
  21. data/{my_help_nasu → docs/nasu}/code.hiki +25 -21
  22. data/docs/nasu/discussion.hiki +38 -0
  23. data/docs/nasu/features/add.feature +12 -0
  24. data/docs/nasu/features/all_help.feature +10 -0
  25. data/docs/nasu/features/backup_list.feature +10 -0
  26. data/docs/nasu/features/edit_help.feature +9 -0
  27. data/docs/nasu/features/my_todo.feature +16 -0
  28. data/docs/nasu/features/remove.feature +10 -0
  29. data/docs/nasu/features/sample_e.feature +6 -0
  30. data/docs/nasu/features/step_definitions/add_spec.rb +18 -0
  31. data/docs/nasu/features/step_definitions/all_help_spec.rb +18 -0
  32. data/docs/nasu/features/step_definitions/backup_list_spec.rb +18 -0
  33. data/docs/nasu/features/step_definitions/edit_help_spec.rb +19 -0
  34. data/docs/nasu/features/step_definitions/my_todo_spec.rb +25 -0
  35. data/docs/nasu/features/step_definitions/remove_spec.rb +18 -0
  36. data/docs/nasu/features/step_definitions/store_spec.rb +18 -0
  37. data/docs/nasu/features/step_definitions/to_hiki_spec.rb +18 -0
  38. data/docs/nasu/features/store.feature +10 -0
  39. data/docs/nasu/features/support/env.rb +2 -0
  40. data/docs/nasu/features/test.feature +10 -0
  41. data/docs/nasu/features/to_hiki.feature +10 -0
  42. data/{my_help_nasu → docs/nasu}/features.hiki +80 -70
  43. data/docs/nasu/figs/cucumber01.001.jpg +0 -0
  44. data/docs/nasu/figs/cucumber02.001.jpg +0 -0
  45. data/docs/nasu/figs/cucumber03.001.jpg +0 -0
  46. data/docs/nasu/figs/cucumber04.001.jpg +0 -0
  47. data/docs/nasu/figs/cucumber05.001.jpg +0 -0
  48. data/docs/nasu/figs/cucumber1.jpg +0 -0
  49. data/docs/nasu/figs/cucumber2.jpg +0 -0
  50. data/docs/nasu/figs/cucumber3.jpg +0 -0
  51. data/docs/nasu/figs/cucumber4.jpg +0 -0
  52. data/docs/nasu/figs/my_help_nasu.001.jpeg +0 -0
  53. data/docs/nasu/figs/my_help_nasu.002.jpeg +0 -0
  54. data/docs/nasu/figs/my_help_nasu.003.jpeg +0 -0
  55. data/docs/nasu/figs/my_help_nasu.004.jpeg +0 -0
  56. data/docs/nasu/figs/my_help_nasu.005.jpeg +0 -0
  57. data/docs/nasu/figs/my_help_nasu.006.jpeg +0 -0
  58. data/docs/nasu/figs/my_help_nasu.007.jpeg +0 -0
  59. data/docs/nasu/figs/my_help_nasu.008.jpeg +0 -0
  60. data/docs/nasu/figs/my_help_nasu.pdf +0 -0
  61. data/docs/nasu/figs/my_help_nasu.png +0 -0
  62. data/docs/nasu/figs/my_help_nasu1.001.jpg +0 -0
  63. data/docs/nasu/figs/rspec01.001.jpg +0 -0
  64. data/docs/nasu/figs/rspec1.jpg +0 -0
  65. data/docs/nasu/figs/rspec2.jpg +0 -0
  66. data/{my_help_nasu → docs/nasu}/head2.tex +0 -0
  67. data/{my_help_nasu → docs/nasu}/hiki_help.yml +0 -0
  68. data/{my_help_nasu → docs/nasu}/introduction.hiki +15 -16
  69. data/{my_help_nasu → docs/nasu}/key_bind_mi +0 -0
  70. data/docs/nasu/keynote/cucumber01.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
  71. data/docs/nasu/keynote/cucumber01.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
  72. data/docs/nasu/keynote/cucumber01.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
  73. data/docs/nasu/keynote/cucumber01.key/Data/mt10@2x-87.jpg +0 -0
  74. data/docs/nasu/keynote/cucumber01.key/Data/mt1@2x-78.jpg +0 -0
  75. data/docs/nasu/keynote/cucumber01.key/Data/mt2@2x-79.jpg +0 -0
  76. data/docs/nasu/keynote/cucumber01.key/Data/mt3@2x-80.jpg +0 -0
  77. data/docs/nasu/keynote/cucumber01.key/Data/mt4@2x-81.jpg +0 -0
  78. data/docs/nasu/keynote/cucumber01.key/Data/mt5@2x-82.jpg +0 -0
  79. data/docs/nasu/keynote/cucumber01.key/Data/mt6@2x-83.jpg +0 -0
  80. data/docs/nasu/keynote/cucumber01.key/Data/mt7@2x-84.jpg +0 -0
  81. data/docs/nasu/keynote/cucumber01.key/Data/mt8@2x-85.jpg +0 -0
  82. data/docs/nasu/keynote/cucumber01.key/Data/mt9@2x-86.jpg +0 -0
  83. data/docs/nasu/keynote/cucumber01.key/Data/pasted-image-89.png +0 -0
  84. data/docs/nasu/keynote/cucumber01.key/Data/pasted-image-small-90.png +0 -0
  85. data/docs/nasu/keynote/cucumber01.key/Data/st0-104.jpg +0 -0
  86. data/docs/nasu/keynote/cucumber01.key/Index.zip +0 -0
  87. data/docs/nasu/keynote/cucumber01.key/Metadata/BuildVersionHistory.plist +8 -0
  88. data/docs/nasu/keynote/cucumber01.key/Metadata/DocumentIdentifier +1 -0
  89. data/docs/nasu/keynote/cucumber01.key/Metadata/Properties.plist +0 -0
  90. data/docs/nasu/keynote/cucumber01.key/preview-micro.jpg +0 -0
  91. data/docs/nasu/keynote/cucumber01.key/preview-web.jpg +0 -0
  92. data/docs/nasu/keynote/cucumber01.key/preview.jpg +0 -0
  93. data/docs/nasu/keynote/cucumber02.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
  94. data/docs/nasu/keynote/cucumber02.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
  95. data/docs/nasu/keynote/cucumber02.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
  96. data/docs/nasu/keynote/cucumber02.key/Data/mt10@2x-87.jpg +0 -0
  97. data/docs/nasu/keynote/cucumber02.key/Data/mt1@2x-78.jpg +0 -0
  98. data/docs/nasu/keynote/cucumber02.key/Data/mt2@2x-79.jpg +0 -0
  99. data/docs/nasu/keynote/cucumber02.key/Data/mt3@2x-80.jpg +0 -0
  100. data/docs/nasu/keynote/cucumber02.key/Data/mt4@2x-81.jpg +0 -0
  101. data/docs/nasu/keynote/cucumber02.key/Data/mt5@2x-82.jpg +0 -0
  102. data/docs/nasu/keynote/cucumber02.key/Data/mt6@2x-83.jpg +0 -0
  103. data/docs/nasu/keynote/cucumber02.key/Data/mt7@2x-84.jpg +0 -0
  104. data/docs/nasu/keynote/cucumber02.key/Data/mt8@2x-85.jpg +0 -0
  105. data/docs/nasu/keynote/cucumber02.key/Data/mt9@2x-86.jpg +0 -0
  106. data/docs/nasu/keynote/cucumber02.key/Data/pasted-image-89.png +0 -0
  107. data/docs/nasu/keynote/cucumber02.key/Data/pasted-image-small-90.png +0 -0
  108. data/docs/nasu/keynote/cucumber02.key/Data/st0-96.jpg +0 -0
  109. data/docs/nasu/keynote/cucumber02.key/Index.zip +0 -0
  110. data/docs/nasu/keynote/cucumber02.key/Metadata/BuildVersionHistory.plist +8 -0
  111. data/docs/nasu/keynote/cucumber02.key/Metadata/DocumentIdentifier +1 -0
  112. data/docs/nasu/keynote/cucumber02.key/Metadata/Properties.plist +0 -0
  113. data/docs/nasu/keynote/cucumber02.key/preview-micro.jpg +0 -0
  114. data/docs/nasu/keynote/cucumber02.key/preview-web.jpg +0 -0
  115. data/docs/nasu/keynote/cucumber02.key/preview.jpg +0 -0
  116. data/docs/nasu/keynote/cucumber03.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
  117. data/docs/nasu/keynote/cucumber03.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
  118. data/docs/nasu/keynote/cucumber03.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
  119. data/docs/nasu/keynote/cucumber03.key/Data/mt10@2x-87.jpg +0 -0
  120. data/docs/nasu/keynote/cucumber03.key/Data/mt1@2x-78.jpg +0 -0
  121. data/docs/nasu/keynote/cucumber03.key/Data/mt2@2x-79.jpg +0 -0
  122. data/docs/nasu/keynote/cucumber03.key/Data/mt3@2x-80.jpg +0 -0
  123. data/docs/nasu/keynote/cucumber03.key/Data/mt4@2x-81.jpg +0 -0
  124. data/docs/nasu/keynote/cucumber03.key/Data/mt5@2x-82.jpg +0 -0
  125. data/docs/nasu/keynote/cucumber03.key/Data/mt6@2x-83.jpg +0 -0
  126. data/docs/nasu/keynote/cucumber03.key/Data/mt7@2x-84.jpg +0 -0
  127. data/docs/nasu/keynote/cucumber03.key/Data/mt8@2x-85.jpg +0 -0
  128. data/docs/nasu/keynote/cucumber03.key/Data/mt9@2x-86.jpg +0 -0
  129. data/docs/nasu/keynote/cucumber03.key/Data/pasted-image-89.png +0 -0
  130. data/docs/nasu/keynote/cucumber03.key/Data/pasted-image-small-90.png +0 -0
  131. data/docs/nasu/keynote/cucumber03.key/Data/st0-100.jpg +0 -0
  132. data/docs/nasu/keynote/cucumber03.key/Index.zip +0 -0
  133. data/docs/nasu/keynote/cucumber03.key/Metadata/BuildVersionHistory.plist +8 -0
  134. data/docs/nasu/keynote/cucumber03.key/Metadata/DocumentIdentifier +1 -0
  135. data/docs/nasu/keynote/cucumber03.key/Metadata/Properties.plist +0 -0
  136. data/docs/nasu/keynote/cucumber03.key/preview-micro.jpg +0 -0
  137. data/docs/nasu/keynote/cucumber03.key/preview-web.jpg +0 -0
  138. data/docs/nasu/keynote/cucumber03.key/preview.jpg +0 -0
  139. data/docs/nasu/keynote/cucumber04.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
  140. data/docs/nasu/keynote/cucumber04.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
  141. data/docs/nasu/keynote/cucumber04.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
  142. data/docs/nasu/keynote/cucumber04.key/Data/mt10@2x-87.jpg +0 -0
  143. data/docs/nasu/keynote/cucumber04.key/Data/mt1@2x-78.jpg +0 -0
  144. data/docs/nasu/keynote/cucumber04.key/Data/mt2@2x-79.jpg +0 -0
  145. data/docs/nasu/keynote/cucumber04.key/Data/mt3@2x-80.jpg +0 -0
  146. data/docs/nasu/keynote/cucumber04.key/Data/mt4@2x-81.jpg +0 -0
  147. data/docs/nasu/keynote/cucumber04.key/Data/mt5@2x-82.jpg +0 -0
  148. data/docs/nasu/keynote/cucumber04.key/Data/mt6@2x-83.jpg +0 -0
  149. data/docs/nasu/keynote/cucumber04.key/Data/mt7@2x-84.jpg +0 -0
  150. data/docs/nasu/keynote/cucumber04.key/Data/mt8@2x-85.jpg +0 -0
  151. data/docs/nasu/keynote/cucumber04.key/Data/mt9@2x-86.jpg +0 -0
  152. data/docs/nasu/keynote/cucumber04.key/Data/pasted-image-106.png +0 -0
  153. data/docs/nasu/keynote/cucumber04.key/Data/pasted-image-small-107.png +0 -0
  154. data/docs/nasu/keynote/cucumber04.key/Data/st0-115.jpg +0 -0
  155. data/docs/nasu/keynote/cucumber04.key/Index.zip +0 -0
  156. data/docs/nasu/keynote/cucumber04.key/Metadata/BuildVersionHistory.plist +8 -0
  157. data/docs/nasu/keynote/cucumber04.key/Metadata/DocumentIdentifier +1 -0
  158. data/docs/nasu/keynote/cucumber04.key/Metadata/Properties.plist +0 -0
  159. data/docs/nasu/keynote/cucumber04.key/preview-micro.jpg +0 -0
  160. data/docs/nasu/keynote/cucumber04.key/preview-web.jpg +0 -0
  161. data/docs/nasu/keynote/cucumber04.key/preview.jpg +0 -0
  162. data/docs/nasu/keynote/cucumber05.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
  163. data/docs/nasu/keynote/cucumber05.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
  164. data/docs/nasu/keynote/cucumber05.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
  165. data/docs/nasu/keynote/cucumber05.key/Data/mt10@2x-87.jpg +0 -0
  166. data/docs/nasu/keynote/cucumber05.key/Data/mt1@2x-78.jpg +0 -0
  167. data/docs/nasu/keynote/cucumber05.key/Data/mt2@2x-79.jpg +0 -0
  168. data/docs/nasu/keynote/cucumber05.key/Data/mt3@2x-80.jpg +0 -0
  169. data/docs/nasu/keynote/cucumber05.key/Data/mt4@2x-81.jpg +0 -0
  170. data/docs/nasu/keynote/cucumber05.key/Data/mt5@2x-82.jpg +0 -0
  171. data/docs/nasu/keynote/cucumber05.key/Data/mt6@2x-83.jpg +0 -0
  172. data/docs/nasu/keynote/cucumber05.key/Data/mt7@2x-84.jpg +0 -0
  173. data/docs/nasu/keynote/cucumber05.key/Data/mt8@2x-85.jpg +0 -0
  174. data/docs/nasu/keynote/cucumber05.key/Data/mt9@2x-86.jpg +0 -0
  175. data/docs/nasu/keynote/cucumber05.key/Data/pasted-image-89.png +0 -0
  176. data/docs/nasu/keynote/cucumber05.key/Data/pasted-image-small-90.png +0 -0
  177. data/docs/nasu/keynote/cucumber05.key/Data/st0-97.jpg +0 -0
  178. data/docs/nasu/keynote/cucumber05.key/Index.zip +0 -0
  179. data/docs/nasu/keynote/cucumber05.key/Metadata/BuildVersionHistory.plist +8 -0
  180. data/docs/nasu/keynote/cucumber05.key/Metadata/DocumentIdentifier +1 -0
  181. data/docs/nasu/keynote/cucumber05.key/Metadata/Properties.plist +0 -0
  182. data/docs/nasu/keynote/cucumber05.key/preview-micro.jpg +0 -0
  183. data/docs/nasu/keynote/cucumber05.key/preview-web.jpg +0 -0
  184. data/docs/nasu/keynote/cucumber05.key/preview.jpg +0 -0
  185. data/docs/nasu/keynote/my_help_nasu1.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
  186. data/docs/nasu/keynote/my_help_nasu1.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
  187. data/docs/nasu/keynote/my_help_nasu1.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
  188. data/docs/nasu/keynote/my_help_nasu1.key/Data/mt10@2x-87.jpg +0 -0
  189. data/docs/nasu/keynote/my_help_nasu1.key/Data/mt1@2x-78.jpg +0 -0
  190. data/docs/nasu/keynote/my_help_nasu1.key/Data/mt2@2x-79.jpg +0 -0
  191. data/docs/nasu/keynote/my_help_nasu1.key/Data/mt3@2x-80.jpg +0 -0
  192. data/docs/nasu/keynote/my_help_nasu1.key/Data/mt4@2x-81.jpg +0 -0
  193. data/docs/nasu/keynote/my_help_nasu1.key/Data/mt5@2x-82.jpg +0 -0
  194. data/docs/nasu/keynote/my_help_nasu1.key/Data/mt6@2x-83.jpg +0 -0
  195. data/docs/nasu/keynote/my_help_nasu1.key/Data/mt7@2x-84.jpg +0 -0
  196. data/docs/nasu/keynote/my_help_nasu1.key/Data/mt8@2x-85.jpg +0 -0
  197. data/docs/nasu/keynote/my_help_nasu1.key/Data/mt9@2x-86.jpg +0 -0
  198. data/docs/nasu/keynote/my_help_nasu1.key/Data/st0-299.jpg +0 -0
  199. data/docs/nasu/keynote/my_help_nasu1.key/Index.zip +0 -0
  200. data/docs/nasu/keynote/my_help_nasu1.key/Metadata/BuildVersionHistory.plist +8 -0
  201. data/docs/nasu/keynote/my_help_nasu1.key/Metadata/DocumentIdentifier +1 -0
  202. data/docs/nasu/keynote/my_help_nasu1.key/Metadata/Properties.plist +0 -0
  203. data/docs/nasu/keynote/my_help_nasu1.key/preview-micro.jpg +0 -0
  204. data/docs/nasu/keynote/my_help_nasu1.key/preview-web.jpg +0 -0
  205. data/docs/nasu/keynote/my_help_nasu1.key/preview.jpg +0 -0
  206. data/docs/nasu/keynote/rspec01.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
  207. data/docs/nasu/keynote/rspec01.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
  208. data/docs/nasu/keynote/rspec01.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
  209. data/docs/nasu/keynote/rspec01.key/Data/mt10@2x-87.jpg +0 -0
  210. data/docs/nasu/keynote/rspec01.key/Data/mt1@2x-78.jpg +0 -0
  211. data/docs/nasu/keynote/rspec01.key/Data/mt2@2x-79.jpg +0 -0
  212. data/docs/nasu/keynote/rspec01.key/Data/mt3@2x-80.jpg +0 -0
  213. data/docs/nasu/keynote/rspec01.key/Data/mt4@2x-81.jpg +0 -0
  214. data/docs/nasu/keynote/rspec01.key/Data/mt5@2x-82.jpg +0 -0
  215. data/docs/nasu/keynote/rspec01.key/Data/mt6@2x-83.jpg +0 -0
  216. data/docs/nasu/keynote/rspec01.key/Data/mt7@2x-84.jpg +0 -0
  217. data/docs/nasu/keynote/rspec01.key/Data/mt8@2x-85.jpg +0 -0
  218. data/docs/nasu/keynote/rspec01.key/Data/mt9@2x-86.jpg +0 -0
  219. data/docs/nasu/keynote/rspec01.key/Data/pasted-image-89.png +0 -0
  220. data/docs/nasu/keynote/rspec01.key/Data/pasted-image-small-90.png +0 -0
  221. data/docs/nasu/keynote/rspec01.key/Data/st0-96.jpg +0 -0
  222. data/docs/nasu/keynote/rspec01.key/Index.zip +0 -0
  223. data/docs/nasu/keynote/rspec01.key/Metadata/BuildVersionHistory.plist +8 -0
  224. data/docs/nasu/keynote/rspec01.key/Metadata/DocumentIdentifier +1 -0
  225. data/docs/nasu/keynote/rspec01.key/Metadata/Properties.plist +0 -0
  226. data/docs/nasu/keynote/rspec01.key/preview-micro.jpg +0 -0
  227. data/docs/nasu/keynote/rspec01.key/preview-web.jpg +0 -0
  228. data/docs/nasu/keynote/rspec01.key/preview.jpg +0 -0
  229. data/docs/nasu/latex_dir/abstract.tex +18 -0
  230. data/{my_help_nasu → docs/nasu}/latex_dir/code.tex +9 -21
  231. data/docs/nasu/latex_dir/discussion.aux +28 -0
  232. data/docs/nasu/latex_dir/discussion.tex +19 -0
  233. data/docs/nasu/latex_dir/features.aux +30 -0
  234. data/docs/nasu/latex_dir/features.tex +186 -0
  235. data/{my_help_nasu → docs/nasu}/latex_dir/head.tex +1 -1
  236. data/{my_help_nasu → docs/nasu}/latex_dir/introduction.aux +3 -3
  237. data/{my_help_nasu → docs/nasu}/latex_dir/introduction.tex +15 -16
  238. data/{my_help_nasu → docs/nasu}/latex_dir/jlisting.sty +0 -0
  239. data/{my_help_nasu/latex_dir/consideration.aux → docs/nasu/latex_dir/method.aux} +7 -8
  240. data/docs/nasu/latex_dir/method.tex +6 -0
  241. data/{my_help_nasu → docs/nasu}/latex_dir/method_bdd.aux +10 -7
  242. data/{my_help_nasu → docs/nasu}/latex_dir/method_bdd.tex +14 -5
  243. data/{my_help_nasu → docs/nasu}/latex_dir/method_cucumber.aux +10 -9
  244. data/{my_help_nasu → docs/nasu}/latex_dir/method_cucumber.tex +15 -18
  245. data/{my_help_nasu → docs/nasu}/latex_dir/method_usage.aux +11 -11
  246. data/{my_help_nasu → docs/nasu}/latex_dir/method_usage.tex +35 -29
  247. data/{my_help_nasu → docs/nasu}/latex_dir/my_help_nasu.aux +6 -5
  248. data/docs/nasu/latex_dir/my_help_nasu.log +363 -0
  249. data/docs/nasu/latex_dir/my_help_nasu.pdf +0 -0
  250. data/docs/nasu/latex_dir/my_help_nasu.synctex.gz +0 -0
  251. data/{my_help_nasu → docs/nasu}/latex_dir/my_help_nasu.tex +12 -18
  252. data/docs/nasu/latex_dir/my_help_nasu.toc +35 -0
  253. data/docs/nasu/latex_dir/new_code.aux +44 -0
  254. data/docs/nasu/latex_dir/new_code.tex +237 -0
  255. data/{my_help_nasu → docs/nasu}/latex_dir/overview.aux +2 -2
  256. data/{my_help_nasu/latex_dir → docs/nasu}/latex_dir/pre.tex +0 -0
  257. data/docs/nasu/method.hiki +5 -0
  258. data/{my_help_nasu → docs/nasu}/method_bdd.hiki +14 -8
  259. data/{my_help_nasu → docs/nasu}/method_cucumber.hiki +14 -17
  260. data/{my_help_nasu → docs/nasu}/method_usage.hiki +25 -24
  261. data/docs/nasu/my_help_nasu/my_help_nasu.001.bb +5 -0
  262. data/{my_help_nasu → docs/nasu}/my_help_nasu/my_help_nasu.001.jpeg +0 -0
  263. data/docs/nasu/my_help_nasu/my_help_nasu.002.bb +5 -0
  264. data/docs/nasu/my_help_nasu/my_help_nasu.002.jpeg +0 -0
  265. data/docs/nasu/my_help_nasu/my_help_nasu.003.bb +5 -0
  266. data/docs/nasu/my_help_nasu/my_help_nasu.003.jpeg +0 -0
  267. data/docs/nasu/my_help_nasu/my_help_nasu.004.bb +5 -0
  268. data/docs/nasu/my_help_nasu/my_help_nasu.004.jpeg +0 -0
  269. data/docs/nasu/my_help_nasu/my_help_nasu.005.bb +5 -0
  270. data/docs/nasu/my_help_nasu/my_help_nasu.005.jpeg +0 -0
  271. data/docs/nasu/my_help_nasu/my_help_nasu.006.bb +5 -0
  272. data/docs/nasu/my_help_nasu/my_help_nasu.006.jpeg +0 -0
  273. data/docs/nasu/my_help_nasu/my_help_nasu.007.bb +5 -0
  274. data/docs/nasu/my_help_nasu/my_help_nasu.007.jpeg +0 -0
  275. data/docs/nasu/my_help_nasu/my_help_nasu.008.bb +5 -0
  276. data/docs/nasu/my_help_nasu/my_help_nasu.008.jpeg +0 -0
  277. data/docs/nasu/my_help_nasu.hiki +28 -0
  278. data/docs/nasu/my_help_nasu.key +0 -0
  279. data/docs/nasu/my_help_nasu09.key +0 -0
  280. data/docs/nasu/my_help_nasu1/my_help_nasu1.001.jpg +0 -0
  281. data/docs/nasu/nasu_abst/abst_fig.bb +5 -0
  282. data/docs/nasu/nasu_abst/abst_fig.png +0 -0
  283. data/docs/nasu/nasu_abst/my_help_nasu.001.bb +5 -0
  284. data/docs/nasu/nasu_abst/my_help_nasu.001.jpg +0 -0
  285. data/docs/nasu/nasu_abst/my_help_nasu.001.png +0 -0
  286. data/docs/nasu/nasu_abst/nasu_abst.aux +10 -0
  287. data/docs/nasu/nasu_abst/nasu_abst.log +179 -0
  288. data/docs/nasu/nasu_abst/nasu_abst.pdf +0 -0
  289. data/docs/nasu/nasu_abst/nasu_abst.synctex.gz +0 -0
  290. data/docs/nasu/nasu_abst/nasu_abst.tex +63 -0
  291. data/docs/nasu/new_code.hiki +246 -0
  292. data/docs/nasu/spec/.rspec +2 -0
  293. data/docs/nasu/spec/my_help_spec.rb +75 -0
  294. data/docs/nasu/spec/my_todo/todo_spec.rb +15 -0
  295. data/docs/nasu/spec/spec_helper.rb +11 -0
  296. data/docs/nasu/spec/support/aruba.rb +1 -0
  297. data/docs/nasu/spec/thor_spec.rb +81 -0
  298. data/docs/nasu/test/my_help_test.rb +11 -0
  299. data/docs/nasu/test/test_helper.rb +4 -0
  300. data/{hikis → docs}/tmp.org +0 -0
  301. data/docs/yagi/bachelor_thesis/final/figs/opt_thor.jpeg +0 -0
  302. data/docs/yagi/bachelor_thesis/final/handout/handout.aux +14 -0
  303. data/{my_help_nasu/latex_dir/my_help_nasu.log → docs/yagi/bachelor_thesis/final/handout/handout.log} +46 -175
  304. data/docs/yagi/bachelor_thesis/final/handout/handout.pdf +0 -0
  305. data/docs/yagi/bachelor_thesis/final/handout/handout.synctex.gz +0 -0
  306. data/docs/yagi/bachelor_thesis/final/handout/handout.tex +123 -0
  307. data/docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.aux +46 -0
  308. data/docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.dvi +0 -0
  309. data/{lor → docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.lof} +0 -0
  310. data/docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.lot +0 -0
  311. data/docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.synctex.gz +0 -0
  312. data/docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.toc +0 -0
  313. data/docs/yagi/bachelor_thesis/final/thesis/figs/opt_thor.png +0 -0
  314. data/docs/yagi/bachelor_thesis/final/thesis/final_thesis.ipynb +449 -0
  315. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/latex/final_thesis.tex +718 -0
  316. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter1/chapter1.tex +8 -0
  317. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter2/chapter2.log +28 -0
  318. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter2/chapter2.tex +127 -0
  319. data/{my_help_nasu/latex_dir/method_cucumber.log → docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter3/chapter3.log} +11 -11
  320. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter3/chapter3.tex +328 -0
  321. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter4/chapter4.tex +13 -0
  322. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter5/chapter5.tex +5 -0
  323. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter6/chapter6.log +38 -0
  324. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter6/chapter6.tex +28 -0
  325. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/informations/informations.aux +1 -0
  326. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/informations/informations.log +55 -0
  327. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/informations/informations.tex +6 -0
  328. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/tmp/tmp.tex +1 -0
  329. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/.splits_location.tex +6 -0
  330. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.aux +114 -0
  331. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.lof +4 -0
  332. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.log +699 -0
  333. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.lot +5 -0
  334. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.out.ps +98 -0
  335. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.pdf +0 -0
  336. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.synctex.gz +0 -0
  337. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.tex +30 -0
  338. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.toc +22 -0
  339. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis_checked_180213_1433.pdf +0 -0
  340. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis_pieces/form00_style.tex +25 -0
  341. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis_pieces/tightlist_setting.tex +2 -0
  342. data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis_pieces/usepackage.tex +25 -0
  343. data/docs/yagi/bachelor_thesis/translation/awesome_chapter2.ipynb +84 -0
  344. data/docs/yagi/bachelor_thesis/translation/awesome_introduction.ipynb +328 -0
  345. data/docs/yagi/comparisons/.ipynb_checkpoints/Untitled-checkpoint.ipynb +6 -0
  346. data/docs/yagi/comparisons/.ipynb_checkpoints/comp-checkpoint.ipynb +230 -0
  347. data/docs/yagi/comparisons/comp.ipynb +178 -0
  348. data/docs/yagi/comparisons/hanami.rb +25 -0
  349. data/docs/yagi/comparisons/optparse.rb +21 -0
  350. data/docs/yagi/comparisons/thor.rb +11 -0
  351. data/docs/yagi/midterm_presentation/.ipynb_checkpoints/abst-checkpoint.ipynb +87 -0
  352. data/docs/yagi/midterm_presentation/abst.aux +16 -0
  353. data/docs/yagi/midterm_presentation/abst.ipynb +87 -0
  354. data/docs/yagi/midterm_presentation/abst.log +222 -0
  355. data/docs/yagi/midterm_presentation/abst.pdf +0 -0
  356. data/docs/yagi/midterm_presentation/abst.synctex.gz +0 -0
  357. data/docs/yagi/midterm_presentation/abst.tex +133 -0
  358. data/{my_help_nasu/latex_dir/jlisting.tex → docs/yagi/midterm_presentation/jlisting.sty} +0 -0
  359. data/docs/yagi/midterm_presentation/mid_keynote/mid_keynote.001.png +0 -0
  360. data/docs/yagi/midterm_presentation/mid_keynote/mid_keynote.002.png +0 -0
  361. data/docs/yagi/midterm_presentation/mid_keynote/mid_keynote.003.png +0 -0
  362. data/docs/yagi/midterm_presentation/mid_keynote/mid_keynote.004.png +0 -0
  363. data/docs/yagi/midterm_presentation/mid_keynote/mid_keynote.005.png +0 -0
  364. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
  365. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
  366. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
  367. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt10@2x-92.jpg +0 -0
  368. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt1@2x-83.jpg +0 -0
  369. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt2@2x-84.jpg +0 -0
  370. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt3@2x-85.jpg +0 -0
  371. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt4@2x-86.jpg +0 -0
  372. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt5@2x-87.jpg +0 -0
  373. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt6@2x-88.jpg +0 -0
  374. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt7@2x-89.jpg +0 -0
  375. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt8@2x-90.jpg +0 -0
  376. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt9@2x-91.jpg +0 -0
  377. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/st0-438.jpg +0 -0
  378. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/st1-598.jpg +0 -0
  379. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/st2-648.jpg +0 -0
  380. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/st3-652.jpg +0 -0
  381. data/docs/yagi/midterm_presentation/mid_keynote.key/Data/st4-671.jpg +0 -0
  382. data/docs/yagi/midterm_presentation/mid_keynote.key/Index.zip +0 -0
  383. data/docs/yagi/midterm_presentation/mid_keynote.key/Metadata/BuildVersionHistory.plist +8 -0
  384. data/docs/yagi/midterm_presentation/mid_keynote.key/Metadata/DocumentIdentifier +1 -0
  385. data/docs/yagi/midterm_presentation/mid_keynote.key/Metadata/Properties.plist +0 -0
  386. data/docs/yagi/midterm_presentation/mid_keynote.key/preview-micro.jpg +0 -0
  387. data/docs/yagi/midterm_presentation/mid_keynote.key/preview-web.jpg +0 -0
  388. data/docs/yagi/midterm_presentation/mid_keynote.key/preview.jpg +0 -0
  389. data/docs/yagi/thor_spec.ipynb +192 -0
  390. data/docs/yagi/thor_task.ipynb +98 -0
  391. data/exe/my_help +3 -1
  392. data/lib/my_help/org2yml.rb +46 -0
  393. data/lib/my_help/version.rb +1 -1
  394. data/lib/my_help/yml2org.rb +36 -0
  395. data/lib/my_help.rb +76 -30
  396. data/lib/my_help_thor.rb +170 -0
  397. data/lib/my_todo/my_todo.rb +5 -2
  398. data/lib/specific_help.rb +52 -25
  399. data/lib/{specific_help.rb~ → specific_help_bu.rb} +129 -89
  400. data/lib/specific_help_opt.rb +71 -0
  401. data/lib/specific_help_thor.rb +172 -0
  402. data/lib/templates/emacs_help.org +47 -0
  403. data/lib/templates/emacs_help_e.org +49 -0
  404. data/lib/templates/my_todo.org +11 -0
  405. data/lib/templates/template_help.org +8 -0
  406. data/make_docker.sh +5 -0
  407. data/my_help.gemspec +3 -2
  408. metadata +406 -92
  409. data/.DS_Store +0 -0
  410. data/CODE_OF_CONDUCT.md +0 -49
  411. data/README_en.md +0 -132
  412. data/exe/e_h +0 -4
  413. data/exe/emacs_help +0 -4
  414. data/exe/my_todo +0 -4
  415. data/hikis/README_en.hiki +0 -130
  416. data/hikis/README_ja.hiki +0 -316
  417. data/hikis/diff_against_org-mode.hiki +0 -34
  418. data/hikis/emacs_help.hiki +0 -47
  419. data/hikis/template_help.hiki +0 -51
  420. data/latexes/handout_pre.tex +0 -11
  421. data/lib/.emacs_help.rb.swp +0 -0
  422. data/lib/daddygongon/emacs_help.yml +0 -89
  423. data/lib/daddygongon/my_todo.yml +0 -31
  424. data/lib/daddygongon/template_help.yml +0 -33
  425. data/lib/emacs_help.rb~ +0 -137
  426. data/lib/my_todo/my_todo.rb~ +0 -7
  427. data/lib/todo.rb~ +0 -1
  428. data/my_help.wiki/Home.md +0 -330
  429. data/my_help.wiki/README_en.md +0 -132
  430. data/my_help.wiki/README_ja.md +0 -330
  431. data/my_help.wiki/emacs_help.md +0 -46
  432. data/my_help.wiki/template_help.md +0 -51
  433. data/my_help_nasu/.DS_Store +0 -0
  434. data/my_help_nasu/consideration.hiki +0 -8
  435. data/my_help_nasu/figs/my_help_nasu.001.jpeg +0 -0
  436. data/my_help_nasu/figs/my_help_nasu.001.jpg +0 -0
  437. data/my_help_nasu/figs/my_help_nasu1.001.jpg +0 -0
  438. data/my_help_nasu/latex_dir/.gitignore +0 -1
  439. data/my_help_nasu/latex_dir/Rakefile +0 -420
  440. data/my_help_nasu/latex_dir/code.aux +0 -25
  441. data/my_help_nasu/latex_dir/consideration.tex +0 -9
  442. data/my_help_nasu/latex_dir/features.aux +0 -31
  443. data/my_help_nasu/latex_dir/features.tex +0 -173
  444. data/my_help_nasu/latex_dir/hiki_help.yml +0 -53
  445. data/my_help_nasu/latex_dir/latex_dir/head.tex +0 -9
  446. data/my_help_nasu/latex_dir/latex_dir/jlisting.tex +0 -216
  447. data/my_help_nasu/latex_dir/my_help_nasu.pdf +0 -0
  448. data/my_help_nasu/latex_dir/my_help_nasu.synctex.gz +0 -0
  449. data/my_help_nasu/latex_dir/my_help_nasu.toc +0 -32
  450. data/my_help_nasu/latex_dir/overview.tex +0 -12
  451. data/my_help_nasu/latex_dir/pre.tex +0 -36
  452. data/my_help_nasu/my_help_nasu/.DS_Store +0 -0
  453. data/my_help_nasu/my_help_nasu.hiki +0 -32
  454. data/my_help_nasu/my_help_nasu.key +0 -0
  455. data/my_help_nasu/overview.hiki +0 -11
data/README_en.md DELETED
@@ -1,132 +0,0 @@
1
- # Name
2
-
3
- my_help
4
-
5
- # Summary
6
-
7
- This gem makes and supplies user specific helps, emulating CUI(CLI) help usage.
8
-
9
- # Target
10
- A very novice of learning some specific operation, such as CUI, shell, or emacs,
11
- has difficulty in remembering commands and grammers.
12
- If he has a key, he can easily remember all, but no key brings nothing.
13
- Especially a non-English-native has strong difficulty on the key rememebering.
14
- The problems are,
15
-
16
- - man(ual) is English
17
- - man is heavily documented
18
- - On web, search the same key word,
19
- - and read the same URI repeatedly
20
- - memo goes away somewhere...
21
-
22
- # Specs
23
-
24
- This gem aims to supply own help by gem environment.
25
- Specs are,
26
- - user makes his own help
27
- - supplies a template
28
- - same format, looks, operation, and hierarchy
29
- - easily see, read
30
- - supplies editing and install commands.
31
-
32
- Wiki targets the whole engineer, my_help target the specific person.
33
- Half of the wiki aim should be covered by my_help.
34
- Making own manual is one of the best practices for remembering operations.
35
- Memo applications are good, if you remember the key word.
36
- my_help supplies the key for remembering the word.
37
-
38
- # Usage
39
- ## Install
40
-
41
- Different from the gem standard, fork and clone from Github.
42
- ```
43
- github.com:daddygongon/my_help.git
44
- ```
45
- The following operations are performed under 'bundle'.
46
- The main reason of this disturbance is due the developer not to know the last command of 'rake install:local' from gem environment.
47
- But the second reason is the on-going project to collect and supply the good helps for novices.
48
- We are planning to achieve it by using 'pull request' of Github.
49
-
50
- Supplied commands are
51
-
52
- ```
53
- bob% bundle exec exe/my_help
54
- Usage: my_help [options]
55
- -v, --version show program Version.
56
- -l, --list list specific helps
57
- -e, --edit NAME edit NAME help(eg test_help)
58
- -i, --init NAME initialize NAME help(eg test_help).
59
- -m, --make make executables for all helps.
60
- -c, --clean clean up exe dir.
61
- --install_local install local after edit helps
62
- --delete NAME delete NAME help
63
- ```
64
-
65
- At first, see the list of supplied helps by the option of -l.
66
-
67
- ```
68
- bob% bundle exec exe/my_help -l
69
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon"
70
- ["-l"]
71
- Specific help file:
72
- emacs_help
73
- test_help
74
- ```
75
- emacs_help, e_h, test_help, t_h are ready to use.
76
- Play them by a command such as 'bundle exec exe/e_h'.
77
-
78
- emacsのキーバインド
79
-
80
- ```
81
- 特殊キー操作
82
- c-f, controlキーを押しながら 'f'
83
- M-f, escキーを押した後一度離して'f'
84
- 操作の中断c-g, 操作の取り消し(Undo) c-x u
85
- cc by Shigeto R. Nishitani, 2016
86
- Usage: e_h [options]
87
- -v, --version show program Version.
88
- -c, --cursor Cursor移動
89
- -e, --編集 Edit操作
90
- -f, --ファイル File操作
91
- -q, --終了 終了操作
92
- -p, --ページ Page移動
93
- -w, --ウィンドウ Window操作
94
- -b, --バッファ Buffer操作
95
- -m, --mode モード切り替え
96
- --edit edit help contents
97
- --to_hiki convert to hikidoc format
98
- --all display all helps
99
- --store [item] store [item] in back
100
- --remove [item] remove [item] in back
101
- --add [item] add new [item]
102
- ```
103
-
104
- ## Make own help
105
- The next step is making own help.
106
- For this, -i NAME supplies new NAME help.
107
-
108
- ```
109
- bob% bundle exec exe/my_help -i new_help
110
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon"
111
- ["-i", "new_help"]
112
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help"
113
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help"
114
- cp /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help
115
- /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help
116
- ```
117
- it makes get ready the template of new_help in ~/.my_help directory.
118
- Edit it by -e new_help.
119
- Then -m makes new_help and n_h in exe directory.
120
-
121
- ## Activate own help (which is automatically done by -m)
122
-
123
- For the last step, at the my_help directory, put the commands in as follows:
124
-
125
- ```
126
- git add -A
127
- git commit -m 'add new help'
128
- rake install:local
129
- ```
130
-
131
- That's it. You can use the new_help or short command of n_h on CUI.
132
- If not, restart the terminal to load the bin path.
data/exe/e_h DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'specific_help'
3
- help_file = File.join(ENV['HOME'],'.my_help','emacs_help.yml')
4
- SpecificHelp::Command.run(help_file, ARGV)
data/exe/emacs_help DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'specific_help'
3
- help_file = File.join(ENV['HOME'],'.my_help','emacs_help.yml')
4
- SpecificHelp::Command.run(help_file, ARGV)
data/exe/my_todo DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'specific_help'
3
- help_file = File.join(ENV['HOME'],'.my_help','my_todo.yml')
4
- SpecificHelp::Command.run(help_file, ARGV)
data/hikis/README_en.hiki DELETED
@@ -1,130 +0,0 @@
1
- !Name
2
-
3
- my_help
4
-
5
- !Summary
6
-
7
- This gem makes and supplies user specific helps, emulating CUI(CLI) help usage.
8
-
9
- !Target
10
- A very novice of learning some specific operation, such as CUI, shell, or emacs,
11
- has difficulty in remembering commands and grammers.
12
- If he has a key, he can easily remember all, but no key brings nothing.
13
- Especially a non-English-native has strong difficulty on the key rememebering.
14
- The problems are,
15
-
16
- * man(ual) is English
17
- * man is heavily documented
18
- * On web, search the same key word,
19
- * and read the same URI repeatedly
20
- * memo goes away somewhere...
21
-
22
- !Specs
23
-
24
- This gem aims to supply own help by gem environment.
25
- Specs are,
26
- * user makes his own help
27
- * supplies a template
28
- ** same format, looks, operation, and hierarchy
29
- * easily see, read
30
- * supplies editing and install commands.
31
-
32
- Wiki targets the whole engineer, my_help target the specific person.
33
- Half of the wiki aim should be covered by my_help.
34
- Making own manual is one of the best practices for remembering operations.
35
- Memo applications are good, if you remember the key word.
36
- my_help supplies the key for remembering the word.
37
-
38
- !Usage
39
- !!Install
40
-
41
- Different from the gem standard, fork and clone from Github.
42
- github.com:daddygongon/my_help.git
43
- The following operations are performed under 'bundle'.
44
- The main reason of this disturbance is due the developer not to know the last command of 'rake install:local' from gem environment.
45
- But the second reason is the on-going project to collect and supply the good helps for novices.
46
- We are planning to achieve it by using 'pull request' of Github.
47
-
48
- Supplied commands are
49
-
50
- <<<
51
- bob% bundle exec exe/my_help
52
- Usage: my_help [options]
53
- -v, --version show program Version.
54
- -l, --list list specific helps
55
- -e, --edit NAME edit NAME help(eg test_help)
56
- -i, --init NAME initialize NAME help(eg test_help).
57
- -m, --make make executables for all helps.
58
- -c, --clean clean up exe dir.
59
- --install_local install local after edit helps
60
- --delete NAME delete NAME help
61
- >>>
62
-
63
- At first, see the list of supplied helps by the option of -l.
64
-
65
- <<<
66
- bob% bundle exec exe/my_help -l
67
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon"
68
- ["-l"]
69
- Specific help file:
70
- emacs_help
71
- test_help
72
- >>>
73
- emacs_help, e_h, test_help, t_h are ready to use.
74
- Play them by a command such as 'bundle exec exe/e_h'.
75
-
76
- emacsのキーバインド
77
-
78
- <<<
79
- 特殊キー操作
80
- c-f, controlキーを押しながら 'f'
81
- M-f, escキーを押した後一度離して'f'
82
- 操作の中断c-g, 操作の取り消し(Undo) c-x u
83
- cc by Shigeto R. Nishitani, 2016
84
- Usage: e_h [options]
85
- -v, --version show program Version.
86
- -c, --cursor Cursor移動
87
- -e, --編集 Edit操作
88
- -f, --ファイル File操作
89
- -q, --終了 終了操作
90
- -p, --ページ Page移動
91
- -w, --ウィンドウ Window操作
92
- -b, --バッファ Buffer操作
93
- -m, --mode モード切り替え
94
- --edit edit help contents
95
- --to_hiki convert to hikidoc format
96
- --all display all helps
97
- --store [item] store [item] in back
98
- --remove [item] remove [item] in back
99
- --add [item] add new [item]
100
- >>>
101
-
102
- !!Make own help
103
- The next step is making own help.
104
- For this, -i NAME supplies new NAME help.
105
-
106
- <<<
107
- bob% bundle exec exe/my_help -i new_help
108
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon"
109
- ["-i", "new_help"]
110
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help"
111
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help"
112
- cp /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help
113
- /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help
114
- >>>
115
- it makes get ready the template of new_help in ~/.my_help directory.
116
- Edit it by -e new_help.
117
- Then -m makes new_help and n_h in exe directory.
118
-
119
- !!Activate own help (which is automatically done by -m)
120
-
121
- For the last step, at the my_help directory, put the commands in as follows:
122
-
123
- <<<
124
- git add -A
125
- git commit -m 'add new help'
126
- rake install:local
127
- >>>
128
-
129
- That's it. You can use the new_help or short command of n_h on CUI.
130
- If not, restart the terminal to load the bin path.
data/hikis/README_ja.hiki DELETED
@@ -1,316 +0,0 @@
1
- !名前
2
-
3
- my_help
4
-
5
- !概要
6
-
7
- CUI(CLI)ヘルプのUsage出力を真似て,user独自のhelpを作成・提供するgem.
8
-
9
- !問題点
10
- CUIやshell, 何かのプログラミング言語などを習得しようとする初心者は,
11
- commandや文法を覚えるのに苦労します.少しのkey(とっかかり)があると
12
- 思い出すんですが,うろ覚えでは間違えて路頭に迷います.問題点は,
13
- * manは基本的に英語
14
- * manualでは重たい
15
- * いつもおなじことをwebで検索して
16
- * 同じとこ見ている
17
- * memoしても,どこへ置いたか忘れる
18
-
19
- などです.
20
-
21
- !特徴
22
- これらをgem環境として提供しようというのが,このgemの目的です.
23
- 仕様としては,
24
- * userが自分にあったmanを作成
25
- * 雛形を提供
26
- ** おなじformat, looks, 操作, 階層構造
27
- * すぐに手が届く
28
- * それらを追加・修正・削除できる
29
-
30
- hikiでやろうとしていることの半分くらいはこのあたりのことなの
31
- かもしれません.memoソフトでは,検索が必要となりますが,my_helpは
32
- key(記憶のとっかかり)を提供することが目的です.
33
- RPGでレベル上げとかアイテムを貯めるようにして,
34
- プログラミングでスキルを発展させてください.
35
-
36
- 物覚えの悪い作者は,人の名前をitem分けして,こそっと使っています.
37
-
38
-
39
- !使用法
40
- !!インストール
41
- インストールですが,gemの標準とは違ったやり方になります.GithubからForkしてcloneします.
42
- git clone git@github.com:daddygongon/my_help.git
43
- あとの作業はbundleを使って行います.
44
-
45
- これは,最後のrake install:localをコマンドから実行する方法がわからんかったからですが...
46
- * helpファイルのpush共有とかも考えるとこれがいいのかも.
47
- * home以下に置く方法と比較分析してください.
48
- ** lib/daddygongonにあたらしいhelpを置くようにしていましたが,helpに個人情報を入れるとgit pushでさらしてしまうので,やめました.
49
-
50
- 用意されているコマンドは,
51
-
52
- <<<
53
- bob% bundle exec exe/my_help
54
- Usage: my_help [options]
55
- -v, --version show program Version.
56
- -l, --list 個別(specific)ヘルプのList表示.
57
- -e, --edit NAME NAME(例:test_help)をEdit編集.
58
- -i, --init NAME NAME(例:test_help)のtemplateを作成.
59
- -m, --make make executables for all helps.
60
- -c, --clean clean up exe dir.
61
- --install_local install local after edit helps
62
- --delete NAME delete NAME help
63
- >>>
64
- です.まず,-lでdefaultで入っているリストを見てください.
65
-
66
- <<<
67
- bob% bundle exec exe/my_help -l
68
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon"
69
- ["-l"]
70
- Specific help file:
71
- emacs_help
72
- >>>
73
- これで,CUIでemacs_help, e_hが用意されています.
74
-
75
- <<<
76
- emacsのキーバインド
77
-
78
- 特殊キー操作
79
- c-f, controlキーを押しながら 'f'
80
- M-f, escキーを押した後一度離して'f'
81
- 操作の中断c-g, 操作の取り消し(Undo) c-x u
82
- cc by Shigeto R. Nishitani, 2016
83
- Usage: e_h [options]
84
- -v, --version show program Version.
85
- -c, --cursor Cursor移動
86
- -e, --編集 Edit操作
87
- -f, --ファイル File操作
88
- -q, --終了 終了操作
89
- -p, --ページ Page移動
90
- -w, --ウィンドウ Window操作
91
- -b, --バッファ Buffer操作
92
- -m, --mode モード切り替え
93
- --edit edit help contents
94
- --to_hiki convert to hikidoc format
95
- --all display all helps
96
- --store [item] store [item] in back
97
- --remove [item] remove [item] in back
98
- --add [item] add new [item]
99
- >>>
100
- 少し振る舞いに慣れてください.
101
-
102
- !!独自のhelpを作る方法
103
- さて,独自のhelpを作る方法です.まずは,
104
-
105
- <<<
106
- bob% bundle exec exe/my_help -i new_help
107
- "/Users/bob/.my_help/new_help"
108
- "/Users/bob/Github/my_help/lib/daddygongon/template_help"
109
- cp /Users/bob/Github/my_help/lib/daddygongon/template_help /Users/bob/.my_help/new_help
110
- >>>
111
- で,new_helpというtemplateが用意されます.-e new_helpで編集してください.
112
- YAML形式で,格納されています.サンプルが,
113
- my_help/lib/daddygongon
114
- にあります.このあと,-mすると自動でnew_helpがexeディレクトリーに追加されます.
115
-
116
- !!独自helpを使えるように
117
- これは,-mで自動的に行われるように修正しましたが,gem環境によっては正常にinstallできません.その場合は,いかにしたがって,手動で/usr/local/binなどにinstallする必要があります.my_helpのdirectoryで
118
- <<<
119
- git add -A
120
- git commit -m 'add new help'
121
- rake install:local
122
- >>>
123
- してください.
124
-
125
- これで終わり.new_helpや短縮形のn_hでhelpが使えます.
126
- もし使えないときは,bin pathが通ってないので,terminalをnewしてください.
127
-
128
- !userの独自helpの達成方法
129
- * rake my_helpでやっていたが,今は,my_help -mに移行
130
- * @target dirをmy_help/lib/daddygongonからENV['HOME']/.my_helpに変更
131
-
132
- exe中のファイルをrakeで自動生成.
133
- @target_dirにそれらのdataを保存.
134
- その名前からexe中に実行ファイルを自動生成させている.
135
- <<<
136
- lib/daddygongon/
137
- └── emacs_help
138
-
139
- exe
140
- ├── e_h
141
- └── emacs_help
142
- >>>
143
- ということ.これは,
144
- my_help -m
145
- で実行される.これを
146
- rake install:local
147
- すれば必要とするhelpがlocalな環境でbin dirに移され,CUI commandとして実行可能になる.
148
-
149
- たくさんの実行ファイルを/usr/loca/binに置くことになるので,あらたなmy_helpを作成するときには
150
- gem uninstall my_help
151
- gem uninstall emacs_help
152
- でそのdirをcleanにしておくことが望ましい.下のuninstallの項目を参照.
153
-
154
- -mでやっている中身は以下の通り.
155
- <<< ruby
156
- def make_help
157
- Dir.entries(@target_dir)[2..-1].each{|file|
158
- next if file[0]=='#' or file[-1]=='~'
159
- exe_cont="#!/usr/bin/env ruby\nrequire 'specific_help'\n"
160
- exe_cont << "help_file = File.join(ENV['HOME'],'.my_help','#{file}')\n"
161
- exe_cont << "SpecificHelp::Command.run(help_file, ARGV)\n"
162
- [file, short_name(file)].each{|name|
163
- p target=File.join('exe',name)
164
- File.open(target,'w'){|file| file.print exe_cont}
165
- FileUtils.chmod('a+x', target, :verbose => true)
166
- }
167
- }
168
- install_local
169
- end
170
-
171
- def install_local
172
- #中略
173
- system "git add -A"
174
- system "git commit -m 'update exe dirs'"
175
- system "Rake install:local"
176
- end
177
-
178
- >>>
179
-
180
- 実装方法は,emacs_helpに
181
-
182
- # yaml形式でdataを入れ,command.runの入力ファイルとする
183
- # hush形式でdataをいれ,それをrequireして使う
184
-
185
- かのどちらかで実装.speedとかdebugを比較・検証する必要あり.
186
- 今の所,No.1の方を実装.No.2のためのhushデータは,
187
-
188
- <<< ruby
189
- # -*- coding: utf-8 -*-
190
- require 'yaml'
191
- require 'pp'
192
- yaml =<<EOF
193
- :file:
194
- :opts:
195
- :short: "-f"
196
- :cont:
197
- - c-x c-f, Find file, ファイルを開く
198
- - c-x c-s, Save file, ファイルを保存
199
- EOF
200
- pp data=YAML.load(yaml)
201
- print YAML.dump(data)
202
-
203
-
204
- data0={:file=>
205
- {:opts=>{:short=>"-f", :long=>"--ファイル", :desc=>"File操作"},
206
- :title=>"ファイル操作file",
207
- :cont=>
208
- ["c-x c-f, Find file, ファイルを開く
209
- c-x c-s, Save file, ファイルを保存
210
- c-x c-w, Write file NAME, ファイルを別名で書き込む"]}}
211
-
212
- print YAML.dump(data0)
213
- >>>
214
-
215
- ruby test.rb lib/daddygongon/emacs_help
216
-
217
- で構築できる.実装してみて.
218
-
219
-
220
- !どちらがいいか
221
- Rubyで日本語が使えるから,optionsを日本語にしてみた.
222
- <<<
223
- Usage: eh [options]
224
- -v, --version show program Version.
225
- -c, --カーソル Cursor移動
226
- -p, --ページ Page移動
227
- -f, --ファイル File操作
228
- -e, --編集 Edit操作
229
- -w, --ウィンドウ Window操作
230
- -b, --バッファ Buffer操作
231
- -q, --終了 終了操作
232
- >>>
233
- 半角,全角がoptparseでは適切に判断できない様で,表示があまり揃っていない.
234
- しかし,初心者の振る舞いを見ているとわざわざ日本語に切り替えて打ち込むことは稀であり,
235
- key wordをhelpで参照してshort optionで入力している.そこで,
236
- <<<
237
- Usage: eh [options]
238
- -v, --version show program Version.
239
- -c, --cursor カーソル移動
240
- -p, --page ページ移動
241
- -f, --file ファイル操作
242
- -e, --edit 編集操作
243
- -w, --window ウィンドウ操作
244
- -b, --buffer バッファ操作
245
- -q, --quit 終了操作
246
- >>>
247
- としたほうがいいと提案する.アンケートを実施してみてほしい.
248
-
249
- !uninstall
250
- my_help -mでinstallするとEXECUTABLE DIRECTORYにhelpのexec filesが自動で追加される.
251
- ~/.my_helpを修正したときには,あらかじめ
252
- gem unistall my_help
253
- でそれらをuninstallしておくと良い.
254
-
255
- <<<
256
- bob% gem uninstall my_help
257
-
258
- Select gem to uninstall:
259
- 1. my_help-0.1.0
260
- 2. my_help-0.2.0
261
- 3. my_help-0.2.1
262
- 4. my_help-0.2.2
263
- 5. my_help-0.2.3
264
- 6. my_help-0.3.0
265
- 7. my_help-0.3.1
266
- 8. my_help-0.3.2
267
- 9. All versions
268
- > 9
269
- Successfully uninstalled my_help-0.1.0
270
- Successfully uninstalled my_help-0.2.0
271
- Remove executables:
272
- #my_help#
273
-
274
- in addition to the gem? [Yn] Y
275
- Removing #my_help#
276
- Successfully uninstalled my_help-0.2.1
277
- Successfully uninstalled my_help-0.2.2
278
- Successfully uninstalled my_help-0.2.3
279
- Successfully uninstalled my_help-0.3.0
280
- Remove executables:
281
- test_help
282
-
283
- in addition to the gem? [Yn] Y
284
- Removing test_help
285
- Successfully uninstalled my_help-0.3.1
286
- Remove executables:
287
- e_h, emacs_help, m_h, member_help, my_help, n_h, new_help, r_h, ruby_help, t_h, template_help
288
-
289
- in addition to the gem? [Yn] Y
290
- Removing e_h
291
- Removing emacs_help
292
- Removing m_h
293
- Removing member_help
294
- Removing my_help
295
- Removing n_h
296
- Removing new_help
297
- Removing r_h
298
- Removing ruby_help
299
- Removing t_h
300
- Removing template_help
301
- Successfully uninstalled my_help-0.3.2
302
- >>>
303
-
304
- !Rakefile
305
- 幾つかの環境設定用のtoolがRakefileに用意されている.
306
- <<<
307
- rake add_yml # add .yml mode on ~/.emacs.d/init.el
308
- rake clean_exe # clean up exe dir
309
- rake to_yml # add .yml on all help files
310
- >>>
311
- add_yml, to_ymlは3.6から4.0へ移行する時に行ったhelpファイルの拡張子変更,
312
- 3.6では拡張子なしで4.0では'.yml',に対する対応のために用意したツール.
313
- add_ymlは~/.my_help/*_helpファイルを全て~/.my_help/*_help.ymlに変える.
314
- to_ymlは~/.emacs.d/init.elに'.yml'の設定が書き込まれていない時,ruby-modeでemacsを起動するsciptを埋め込む.
315
-
316
- clean_exeは,githubへuploadする時に,開発者個人のexeファイルをrmして整頓する.
@@ -1,34 +0,0 @@
1
- !emacsのorg-modeとかぶるところがたくさんある.
2
-
3
- !!共通点
4
- *軽い,
5
- *保存場所の共通化でどこでも立ち上がる
6
- *標準(mark dowon)的な記述言語
7
- *todoとmemoが同じ環境
8
- *カラー表示
9
- *emacsでの編集
10
- *リスト,バックアップ,
11
- などだれでも考えることは同じなんや.
12
-
13
- でも,
14
-
15
- !!相違点
16
- #shellかemacsか
17
- #emacs以外で使える
18
- #org-mode独自のコマンドを覚えなくても使える
19
- #rubyでのcoding
20
- #ymlデータの共有
21
- なんかがあります.
22
-
23
- つまり,my_helpの使用想定としては,
24
- * emacsを使いたくないexpert
25
- * org-modeを覚えていないnovice
26
- * memoなんかをチューンアップしたいrubyist
27
- というところです.
28
-
29
- まあ,my_help開発に全く意義がないと否定しないでください.
30
- これらの人を対象として,
31
- * EDITOR設定を反映
32
- * orgへのymlからの変換機能の提供
33
- * githubでの公開
34
- を行っています.
@@ -1,47 +0,0 @@
1
- <<<
2
- emacsのキーバインド
3
-
4
- 特殊キー操作
5
- c-f, controlキーを押しながら 'f'
6
- M-f, escキーを押した後一度離して'f'
7
- 操作の中断c-g, 操作の取り消し(Undo) c-x u
8
- cc by Shigeto R. Nishitani, 2016
9
- カーソル移動cursor
10
- c-f, move Forwrard, 前or右へ
11
- c-b, move Backwrard, 後or左へ
12
- c-a, go Ahead of line, 行頭へ
13
- c-e, go End of line, 行末へ
14
- c-n, move Next line, 次行へ
15
- c-p, move Previous line, 前行へ
16
- ページ移動page
17
- c-v, move Vertical, 次のページへ
18
- M-v, move reversive Vertical,前のページへ
19
- c-l, centerise Line, 現在行を中心に
20
- M-<, move Top of file, ファイルの先頭へ
21
- M->, move Bottom of file, ファイルの最後尾へ
22
- ファイル操作file
23
- c-x c-f, Find file, ファイルを開く
24
- c-x c-s, Save file, ファイルを保存
25
- c-x c-w, Write file NAME, ファイルを別名で書き込む
26
- 編集操作edit
27
- c-d, Delete char, 一字削除
28
- c-k, Kill line, 一行抹消,カット
29
- c-y, Yank, ペースト
30
- c-w, Kill region, 領域抹消,カット
31
- 領域選択は,先頭or最後尾でc-spaceした後,最後尾or先頭へカーソル移動
32
- c-s, forward incremental Search WORD, 前へWORDを検索
33
- c-r, Reverse incremental search WORD, 後へWORDを検索
34
- M-x query-replace WORD1 <ret> WORD2:対話的置換(y or nで可否選択)
35
- ウィンドウ操作window
36
- c-x 2, 2 windows, 二つに分割
37
- c-x 1, 1 windows, 一つに戻す
38
- c-x 3, 3rd window sep,縦線分割
39
- c-x o, Other windows, 次の画面へ移動
40
- バッファー操作buffer(すでにopenしてemacsにバッファーされたfile)
41
- c-x b, show Buffer, バッファのリスト
42
- c-x c-b, next Buffer, 次のバッファへ移動
43
- 終了操作quit
44
- c-x c-c, Quit emacs, ファイルを保存して終了
45
- c-z, suspend emacs, 一時停止,fgで復活
46
- >>>
47
-