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.
- checksums.yaml +4 -4
- data/.dockerignore +2 -0
- data/.gitignore +29 -2
- data/.ipynb_checkpoints/README-checkpoint.ipynb +511 -0
- data/.ipynb_checkpoints/Untitled-checkpoint.ipynb +6 -0
- data/.ruby-version +1 -0
- data/Dockerfile.template +13 -0
- data/README.md +341 -256
- data/README.org +480 -0
- data/Rakefile +9 -31
- data/docs/.ipynb_checkpoints/README-checkpoint.ipynb +112 -0
- data/docs/.ipynb_checkpoints/Untitled-checkpoint.ipynb +219 -0
- data/docs/README.ipynb +112 -0
- data/docs/bob/README_en.ipynb +219 -0
- data/docs/bob/diff_against_org_mode.ipynb +119 -0
- data/docs/bob/emacs_help.ipynb +133 -0
- data/docs/bob/template_help.ipynb +136 -0
- data/{my_help_nasu → docs/nasu}/.gitignore +0 -0
- data/{my_help_nasu → docs/nasu}/Rakefile +91 -20
- data/docs/nasu/abstract.hiki +17 -0
- data/{my_help_nasu → docs/nasu}/code.hiki +25 -21
- data/docs/nasu/discussion.hiki +38 -0
- data/docs/nasu/features/add.feature +12 -0
- data/docs/nasu/features/all_help.feature +10 -0
- data/docs/nasu/features/backup_list.feature +10 -0
- data/docs/nasu/features/edit_help.feature +9 -0
- data/docs/nasu/features/my_todo.feature +16 -0
- data/docs/nasu/features/remove.feature +10 -0
- data/docs/nasu/features/sample_e.feature +6 -0
- data/docs/nasu/features/step_definitions/add_spec.rb +18 -0
- data/docs/nasu/features/step_definitions/all_help_spec.rb +18 -0
- data/docs/nasu/features/step_definitions/backup_list_spec.rb +18 -0
- data/docs/nasu/features/step_definitions/edit_help_spec.rb +19 -0
- data/docs/nasu/features/step_definitions/my_todo_spec.rb +25 -0
- data/docs/nasu/features/step_definitions/remove_spec.rb +18 -0
- data/docs/nasu/features/step_definitions/store_spec.rb +18 -0
- data/docs/nasu/features/step_definitions/to_hiki_spec.rb +18 -0
- data/docs/nasu/features/store.feature +10 -0
- data/docs/nasu/features/support/env.rb +2 -0
- data/docs/nasu/features/test.feature +10 -0
- data/docs/nasu/features/to_hiki.feature +10 -0
- data/{my_help_nasu → docs/nasu}/features.hiki +80 -70
- data/docs/nasu/figs/cucumber01.001.jpg +0 -0
- data/docs/nasu/figs/cucumber02.001.jpg +0 -0
- data/docs/nasu/figs/cucumber03.001.jpg +0 -0
- data/docs/nasu/figs/cucumber04.001.jpg +0 -0
- data/docs/nasu/figs/cucumber05.001.jpg +0 -0
- data/docs/nasu/figs/cucumber1.jpg +0 -0
- data/docs/nasu/figs/cucumber2.jpg +0 -0
- data/docs/nasu/figs/cucumber3.jpg +0 -0
- data/docs/nasu/figs/cucumber4.jpg +0 -0
- data/docs/nasu/figs/my_help_nasu.001.jpeg +0 -0
- data/docs/nasu/figs/my_help_nasu.002.jpeg +0 -0
- data/docs/nasu/figs/my_help_nasu.003.jpeg +0 -0
- data/docs/nasu/figs/my_help_nasu.004.jpeg +0 -0
- data/docs/nasu/figs/my_help_nasu.005.jpeg +0 -0
- data/docs/nasu/figs/my_help_nasu.006.jpeg +0 -0
- data/docs/nasu/figs/my_help_nasu.007.jpeg +0 -0
- data/docs/nasu/figs/my_help_nasu.008.jpeg +0 -0
- data/docs/nasu/figs/my_help_nasu.pdf +0 -0
- data/docs/nasu/figs/my_help_nasu.png +0 -0
- data/docs/nasu/figs/my_help_nasu1.001.jpg +0 -0
- data/docs/nasu/figs/rspec01.001.jpg +0 -0
- data/docs/nasu/figs/rspec1.jpg +0 -0
- data/docs/nasu/figs/rspec2.jpg +0 -0
- data/{my_help_nasu → docs/nasu}/head2.tex +0 -0
- data/{my_help_nasu → docs/nasu}/hiki_help.yml +0 -0
- data/{my_help_nasu → docs/nasu}/introduction.hiki +15 -16
- data/{my_help_nasu → docs/nasu}/key_bind_mi +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/mt10@2x-87.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/mt1@2x-78.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/mt2@2x-79.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/mt3@2x-80.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/mt4@2x-81.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/mt5@2x-82.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/mt6@2x-83.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/mt7@2x-84.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/mt8@2x-85.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/mt9@2x-86.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/pasted-image-89.png +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/pasted-image-small-90.png +0 -0
- data/docs/nasu/keynote/cucumber01.key/Data/st0-104.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/Index.zip +0 -0
- data/docs/nasu/keynote/cucumber01.key/Metadata/BuildVersionHistory.plist +8 -0
- data/docs/nasu/keynote/cucumber01.key/Metadata/DocumentIdentifier +1 -0
- data/docs/nasu/keynote/cucumber01.key/Metadata/Properties.plist +0 -0
- data/docs/nasu/keynote/cucumber01.key/preview-micro.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/preview-web.jpg +0 -0
- data/docs/nasu/keynote/cucumber01.key/preview.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/mt10@2x-87.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/mt1@2x-78.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/mt2@2x-79.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/mt3@2x-80.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/mt4@2x-81.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/mt5@2x-82.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/mt6@2x-83.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/mt7@2x-84.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/mt8@2x-85.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/mt9@2x-86.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/pasted-image-89.png +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/pasted-image-small-90.png +0 -0
- data/docs/nasu/keynote/cucumber02.key/Data/st0-96.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/Index.zip +0 -0
- data/docs/nasu/keynote/cucumber02.key/Metadata/BuildVersionHistory.plist +8 -0
- data/docs/nasu/keynote/cucumber02.key/Metadata/DocumentIdentifier +1 -0
- data/docs/nasu/keynote/cucumber02.key/Metadata/Properties.plist +0 -0
- data/docs/nasu/keynote/cucumber02.key/preview-micro.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/preview-web.jpg +0 -0
- data/docs/nasu/keynote/cucumber02.key/preview.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/mt10@2x-87.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/mt1@2x-78.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/mt2@2x-79.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/mt3@2x-80.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/mt4@2x-81.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/mt5@2x-82.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/mt6@2x-83.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/mt7@2x-84.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/mt8@2x-85.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/mt9@2x-86.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/pasted-image-89.png +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/pasted-image-small-90.png +0 -0
- data/docs/nasu/keynote/cucumber03.key/Data/st0-100.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/Index.zip +0 -0
- data/docs/nasu/keynote/cucumber03.key/Metadata/BuildVersionHistory.plist +8 -0
- data/docs/nasu/keynote/cucumber03.key/Metadata/DocumentIdentifier +1 -0
- data/docs/nasu/keynote/cucumber03.key/Metadata/Properties.plist +0 -0
- data/docs/nasu/keynote/cucumber03.key/preview-micro.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/preview-web.jpg +0 -0
- data/docs/nasu/keynote/cucumber03.key/preview.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/mt10@2x-87.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/mt1@2x-78.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/mt2@2x-79.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/mt3@2x-80.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/mt4@2x-81.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/mt5@2x-82.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/mt6@2x-83.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/mt7@2x-84.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/mt8@2x-85.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/mt9@2x-86.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/pasted-image-106.png +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/pasted-image-small-107.png +0 -0
- data/docs/nasu/keynote/cucumber04.key/Data/st0-115.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/Index.zip +0 -0
- data/docs/nasu/keynote/cucumber04.key/Metadata/BuildVersionHistory.plist +8 -0
- data/docs/nasu/keynote/cucumber04.key/Metadata/DocumentIdentifier +1 -0
- data/docs/nasu/keynote/cucumber04.key/Metadata/Properties.plist +0 -0
- data/docs/nasu/keynote/cucumber04.key/preview-micro.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/preview-web.jpg +0 -0
- data/docs/nasu/keynote/cucumber04.key/preview.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/mt10@2x-87.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/mt1@2x-78.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/mt2@2x-79.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/mt3@2x-80.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/mt4@2x-81.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/mt5@2x-82.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/mt6@2x-83.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/mt7@2x-84.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/mt8@2x-85.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/mt9@2x-86.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/pasted-image-89.png +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/pasted-image-small-90.png +0 -0
- data/docs/nasu/keynote/cucumber05.key/Data/st0-97.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/Index.zip +0 -0
- data/docs/nasu/keynote/cucumber05.key/Metadata/BuildVersionHistory.plist +8 -0
- data/docs/nasu/keynote/cucumber05.key/Metadata/DocumentIdentifier +1 -0
- data/docs/nasu/keynote/cucumber05.key/Metadata/Properties.plist +0 -0
- data/docs/nasu/keynote/cucumber05.key/preview-micro.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/preview-web.jpg +0 -0
- data/docs/nasu/keynote/cucumber05.key/preview.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/mt10@2x-87.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/mt1@2x-78.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/mt2@2x-79.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/mt3@2x-80.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/mt4@2x-81.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/mt5@2x-82.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/mt6@2x-83.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/mt7@2x-84.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/mt8@2x-85.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/mt9@2x-86.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Data/st0-299.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Index.zip +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Metadata/BuildVersionHistory.plist +8 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Metadata/DocumentIdentifier +1 -0
- data/docs/nasu/keynote/my_help_nasu1.key/Metadata/Properties.plist +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/preview-micro.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/preview-web.jpg +0 -0
- data/docs/nasu/keynote/my_help_nasu1.key/preview.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/mt10@2x-87.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/mt1@2x-78.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/mt2@2x-79.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/mt3@2x-80.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/mt4@2x-81.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/mt5@2x-82.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/mt6@2x-83.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/mt7@2x-84.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/mt8@2x-85.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/mt9@2x-86.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/pasted-image-89.png +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/pasted-image-small-90.png +0 -0
- data/docs/nasu/keynote/rspec01.key/Data/st0-96.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/Index.zip +0 -0
- data/docs/nasu/keynote/rspec01.key/Metadata/BuildVersionHistory.plist +8 -0
- data/docs/nasu/keynote/rspec01.key/Metadata/DocumentIdentifier +1 -0
- data/docs/nasu/keynote/rspec01.key/Metadata/Properties.plist +0 -0
- data/docs/nasu/keynote/rspec01.key/preview-micro.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/preview-web.jpg +0 -0
- data/docs/nasu/keynote/rspec01.key/preview.jpg +0 -0
- data/docs/nasu/latex_dir/abstract.tex +18 -0
- data/{my_help_nasu → docs/nasu}/latex_dir/code.tex +9 -21
- data/docs/nasu/latex_dir/discussion.aux +28 -0
- data/docs/nasu/latex_dir/discussion.tex +19 -0
- data/docs/nasu/latex_dir/features.aux +30 -0
- data/docs/nasu/latex_dir/features.tex +186 -0
- data/{my_help_nasu → docs/nasu}/latex_dir/head.tex +1 -1
- data/{my_help_nasu → docs/nasu}/latex_dir/introduction.aux +3 -3
- data/{my_help_nasu → docs/nasu}/latex_dir/introduction.tex +15 -16
- data/{my_help_nasu → docs/nasu}/latex_dir/jlisting.sty +0 -0
- data/{my_help_nasu/latex_dir/consideration.aux → docs/nasu/latex_dir/method.aux} +7 -8
- data/docs/nasu/latex_dir/method.tex +6 -0
- data/{my_help_nasu → docs/nasu}/latex_dir/method_bdd.aux +10 -7
- data/{my_help_nasu → docs/nasu}/latex_dir/method_bdd.tex +14 -5
- data/{my_help_nasu → docs/nasu}/latex_dir/method_cucumber.aux +10 -9
- data/{my_help_nasu → docs/nasu}/latex_dir/method_cucumber.tex +15 -18
- data/{my_help_nasu → docs/nasu}/latex_dir/method_usage.aux +11 -11
- data/{my_help_nasu → docs/nasu}/latex_dir/method_usage.tex +35 -29
- data/{my_help_nasu → docs/nasu}/latex_dir/my_help_nasu.aux +6 -5
- data/docs/nasu/latex_dir/my_help_nasu.log +363 -0
- data/docs/nasu/latex_dir/my_help_nasu.pdf +0 -0
- data/docs/nasu/latex_dir/my_help_nasu.synctex.gz +0 -0
- data/{my_help_nasu → docs/nasu}/latex_dir/my_help_nasu.tex +12 -18
- data/docs/nasu/latex_dir/my_help_nasu.toc +35 -0
- data/docs/nasu/latex_dir/new_code.aux +44 -0
- data/docs/nasu/latex_dir/new_code.tex +237 -0
- data/{my_help_nasu → docs/nasu}/latex_dir/overview.aux +2 -2
- data/{my_help_nasu/latex_dir → docs/nasu}/latex_dir/pre.tex +0 -0
- data/docs/nasu/method.hiki +5 -0
- data/{my_help_nasu → docs/nasu}/method_bdd.hiki +14 -8
- data/{my_help_nasu → docs/nasu}/method_cucumber.hiki +14 -17
- data/{my_help_nasu → docs/nasu}/method_usage.hiki +25 -24
- data/docs/nasu/my_help_nasu/my_help_nasu.001.bb +5 -0
- data/{my_help_nasu → docs/nasu}/my_help_nasu/my_help_nasu.001.jpeg +0 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.002.bb +5 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.002.jpeg +0 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.003.bb +5 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.003.jpeg +0 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.004.bb +5 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.004.jpeg +0 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.005.bb +5 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.005.jpeg +0 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.006.bb +5 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.006.jpeg +0 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.007.bb +5 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.007.jpeg +0 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.008.bb +5 -0
- data/docs/nasu/my_help_nasu/my_help_nasu.008.jpeg +0 -0
- data/docs/nasu/my_help_nasu.hiki +28 -0
- data/docs/nasu/my_help_nasu.key +0 -0
- data/docs/nasu/my_help_nasu09.key +0 -0
- data/docs/nasu/my_help_nasu1/my_help_nasu1.001.jpg +0 -0
- data/docs/nasu/nasu_abst/abst_fig.bb +5 -0
- data/docs/nasu/nasu_abst/abst_fig.png +0 -0
- data/docs/nasu/nasu_abst/my_help_nasu.001.bb +5 -0
- data/docs/nasu/nasu_abst/my_help_nasu.001.jpg +0 -0
- data/docs/nasu/nasu_abst/my_help_nasu.001.png +0 -0
- data/docs/nasu/nasu_abst/nasu_abst.aux +10 -0
- data/docs/nasu/nasu_abst/nasu_abst.log +179 -0
- data/docs/nasu/nasu_abst/nasu_abst.pdf +0 -0
- data/docs/nasu/nasu_abst/nasu_abst.synctex.gz +0 -0
- data/docs/nasu/nasu_abst/nasu_abst.tex +63 -0
- data/docs/nasu/new_code.hiki +246 -0
- data/docs/nasu/spec/.rspec +2 -0
- data/docs/nasu/spec/my_help_spec.rb +75 -0
- data/docs/nasu/spec/my_todo/todo_spec.rb +15 -0
- data/docs/nasu/spec/spec_helper.rb +11 -0
- data/docs/nasu/spec/support/aruba.rb +1 -0
- data/docs/nasu/spec/thor_spec.rb +81 -0
- data/docs/nasu/test/my_help_test.rb +11 -0
- data/docs/nasu/test/test_helper.rb +4 -0
- data/{hikis → docs}/tmp.org +0 -0
- data/docs/yagi/bachelor_thesis/final/figs/opt_thor.jpeg +0 -0
- data/docs/yagi/bachelor_thesis/final/handout/handout.aux +14 -0
- data/{my_help_nasu/latex_dir/my_help_nasu.log → docs/yagi/bachelor_thesis/final/handout/handout.log} +46 -175
- data/docs/yagi/bachelor_thesis/final/handout/handout.pdf +0 -0
- data/docs/yagi/bachelor_thesis/final/handout/handout.synctex.gz +0 -0
- data/docs/yagi/bachelor_thesis/final/handout/handout.tex +123 -0
- data/docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.aux +46 -0
- data/docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.dvi +0 -0
- data/{lor → docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.lof} +0 -0
- data/docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.lot +0 -0
- data/docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.synctex.gz +0 -0
- data/docs/yagi/bachelor_thesis/final/mk_latex/thesis/thesis.toc +0 -0
- data/docs/yagi/bachelor_thesis/final/thesis/figs/opt_thor.png +0 -0
- data/docs/yagi/bachelor_thesis/final/thesis/final_thesis.ipynb +449 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/latex/final_thesis.tex +718 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter1/chapter1.tex +8 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter2/chapter2.log +28 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter2/chapter2.tex +127 -0
- data/{my_help_nasu/latex_dir/method_cucumber.log → docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter3/chapter3.log} +11 -11
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter3/chapter3.tex +328 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter4/chapter4.tex +13 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter5/chapter5.tex +5 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter6/chapter6.log +38 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/chapter6/chapter6.tex +28 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/informations/informations.aux +1 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/informations/informations.log +55 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/informations/informations.tex +6 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/split_files/tmp/tmp.tex +1 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/.splits_location.tex +6 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.aux +114 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.lof +4 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.log +699 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.lot +5 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.out.ps +98 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.pdf +0 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.synctex.gz +0 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.tex +30 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis.toc +22 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis/thesis_checked_180213_1433.pdf +0 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis_pieces/form00_style.tex +25 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis_pieces/tightlist_setting.tex +2 -0
- data/docs/yagi/bachelor_thesis/final/thesis/mk_latex/thesis_pieces/usepackage.tex +25 -0
- data/docs/yagi/bachelor_thesis/translation/awesome_chapter2.ipynb +84 -0
- data/docs/yagi/bachelor_thesis/translation/awesome_introduction.ipynb +328 -0
- data/docs/yagi/comparisons/.ipynb_checkpoints/Untitled-checkpoint.ipynb +6 -0
- data/docs/yagi/comparisons/.ipynb_checkpoints/comp-checkpoint.ipynb +230 -0
- data/docs/yagi/comparisons/comp.ipynb +178 -0
- data/docs/yagi/comparisons/hanami.rb +25 -0
- data/docs/yagi/comparisons/optparse.rb +21 -0
- data/docs/yagi/comparisons/thor.rb +11 -0
- data/docs/yagi/midterm_presentation/.ipynb_checkpoints/abst-checkpoint.ipynb +87 -0
- data/docs/yagi/midterm_presentation/abst.aux +16 -0
- data/docs/yagi/midterm_presentation/abst.ipynb +87 -0
- data/docs/yagi/midterm_presentation/abst.log +222 -0
- data/docs/yagi/midterm_presentation/abst.pdf +0 -0
- data/docs/yagi/midterm_presentation/abst.synctex.gz +0 -0
- data/docs/yagi/midterm_presentation/abst.tex +133 -0
- data/{my_help_nasu/latex_dir/jlisting.tex → docs/yagi/midterm_presentation/jlisting.sty} +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote/mid_keynote.001.png +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote/mid_keynote.002.png +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote/mid_keynote.003.png +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote/mid_keynote.004.png +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote/mid_keynote.005.png +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/110809_FamilyChineseOahu_EN_02390_2880x1921-small-10.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt10@2x-92.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt1@2x-83.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt2@2x-84.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt3@2x-85.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt4@2x-86.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt5@2x-87.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt6@2x-88.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt7@2x-89.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt8@2x-90.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/mt9@2x-91.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/st0-438.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/st1-598.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/st2-648.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/st3-652.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Data/st4-671.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Index.zip +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Metadata/BuildVersionHistory.plist +8 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Metadata/DocumentIdentifier +1 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/Metadata/Properties.plist +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/preview-micro.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/preview-web.jpg +0 -0
- data/docs/yagi/midterm_presentation/mid_keynote.key/preview.jpg +0 -0
- data/docs/yagi/thor_spec.ipynb +192 -0
- data/docs/yagi/thor_task.ipynb +98 -0
- data/exe/my_help +3 -1
- data/lib/my_help/org2yml.rb +46 -0
- data/lib/my_help/version.rb +1 -1
- data/lib/my_help/yml2org.rb +36 -0
- data/lib/my_help.rb +76 -30
- data/lib/my_help_thor.rb +170 -0
- data/lib/my_todo/my_todo.rb +5 -2
- data/lib/specific_help.rb +52 -25
- data/lib/{specific_help.rb~ → specific_help_bu.rb} +129 -89
- data/lib/specific_help_opt.rb +71 -0
- data/lib/specific_help_thor.rb +172 -0
- data/lib/templates/emacs_help.org +47 -0
- data/lib/templates/emacs_help_e.org +49 -0
- data/lib/templates/my_todo.org +11 -0
- data/lib/templates/template_help.org +8 -0
- data/make_docker.sh +5 -0
- data/my_help.gemspec +3 -2
- metadata +406 -92
- data/.DS_Store +0 -0
- data/CODE_OF_CONDUCT.md +0 -49
- data/README_en.md +0 -132
- data/exe/e_h +0 -4
- data/exe/emacs_help +0 -4
- data/exe/my_todo +0 -4
- data/hikis/README_en.hiki +0 -130
- data/hikis/README_ja.hiki +0 -316
- data/hikis/diff_against_org-mode.hiki +0 -34
- data/hikis/emacs_help.hiki +0 -47
- data/hikis/template_help.hiki +0 -51
- data/latexes/handout_pre.tex +0 -11
- data/lib/.emacs_help.rb.swp +0 -0
- data/lib/daddygongon/emacs_help.yml +0 -89
- data/lib/daddygongon/my_todo.yml +0 -31
- data/lib/daddygongon/template_help.yml +0 -33
- data/lib/emacs_help.rb~ +0 -137
- data/lib/my_todo/my_todo.rb~ +0 -7
- data/lib/todo.rb~ +0 -1
- data/my_help.wiki/Home.md +0 -330
- data/my_help.wiki/README_en.md +0 -132
- data/my_help.wiki/README_ja.md +0 -330
- data/my_help.wiki/emacs_help.md +0 -46
- data/my_help.wiki/template_help.md +0 -51
- data/my_help_nasu/.DS_Store +0 -0
- data/my_help_nasu/consideration.hiki +0 -8
- data/my_help_nasu/figs/my_help_nasu.001.jpeg +0 -0
- data/my_help_nasu/figs/my_help_nasu.001.jpg +0 -0
- data/my_help_nasu/figs/my_help_nasu1.001.jpg +0 -0
- data/my_help_nasu/latex_dir/.gitignore +0 -1
- data/my_help_nasu/latex_dir/Rakefile +0 -420
- data/my_help_nasu/latex_dir/code.aux +0 -25
- data/my_help_nasu/latex_dir/consideration.tex +0 -9
- data/my_help_nasu/latex_dir/features.aux +0 -31
- data/my_help_nasu/latex_dir/features.tex +0 -173
- data/my_help_nasu/latex_dir/hiki_help.yml +0 -53
- data/my_help_nasu/latex_dir/latex_dir/head.tex +0 -9
- data/my_help_nasu/latex_dir/latex_dir/jlisting.tex +0 -216
- data/my_help_nasu/latex_dir/my_help_nasu.pdf +0 -0
- data/my_help_nasu/latex_dir/my_help_nasu.synctex.gz +0 -0
- data/my_help_nasu/latex_dir/my_help_nasu.toc +0 -32
- data/my_help_nasu/latex_dir/overview.tex +0 -12
- data/my_help_nasu/latex_dir/pre.tex +0 -36
- data/my_help_nasu/my_help_nasu/.DS_Store +0 -0
- data/my_help_nasu/my_help_nasu.hiki +0 -32
- data/my_help_nasu/my_help_nasu.key +0 -0
- data/my_help_nasu/overview.hiki +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59b95434de2a15095197ba51eafd6538ca6e41f8
|
4
|
+
data.tar.gz: c4da5518d6a3337802266dec0df2d308a9fddc3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9a2619d61ed1e7304161ed761e995b04ac4c96c80cfc74ac7c241bccd50b33074a90100f6018a6f766eb9aeff3f1fca8daf627d421bc83534e7fd063b3d6233
|
7
|
+
data.tar.gz: 6eae68fb2fe5476197996e396dade0a74740070fe8b55a60d7b71624dbd7b3e8145df7e98dc381896218de00361e502edb87b9490df92dd370a5191b4e9710b4
|
data/.dockerignore
ADDED
data/.gitignore
CHANGED
@@ -1,10 +1,37 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
# コメントは `#'
|
3
|
+
|
4
|
+
# .svn フォルダ
|
5
|
+
# ディレクトリは最後にスラッシュ
|
6
|
+
.svn/
|
7
|
+
|
8
|
+
# vim のバックアップファイル
|
9
|
+
# * は展開される
|
10
|
+
*.swp
|
11
|
+
|
12
|
+
# /tmp のように '/' から始めれば
|
13
|
+
# カレントディレクトリの tmp のみ無視
|
14
|
+
# /hoge/tmp などは無視されない
|
15
|
+
/tmp
|
16
|
+
.ipynb_checkpoints/
|
17
|
+
.DS_Store
|
2
18
|
/.bundle/
|
3
|
-
|
19
|
+
.yardoc/
|
4
20
|
/Gemfile.lock
|
5
21
|
/_yardoc/
|
6
22
|
/coverage/
|
7
23
|
/doc/
|
24
|
+
/docs/
|
8
25
|
/pkg/
|
9
26
|
/spec/reports/
|
10
27
|
/tmp/
|
28
|
+
*~
|
29
|
+
\#*
|
30
|
+
|
31
|
+
Dockerfile
|
32
|
+
|
33
|
+
# $ git rm -r --cached .
|
34
|
+
# $ git add .
|
35
|
+
# $ git commit -m ".gitignore is now working"
|
36
|
+
# $ git push origin master
|
37
|
+
|
@@ -0,0 +1,511 @@
|
|
1
|
+
{
|
2
|
+
"cells": [
|
3
|
+
{
|
4
|
+
"cell_type": "markdown",
|
5
|
+
"metadata": {
|
6
|
+
"toc": "true"
|
7
|
+
},
|
8
|
+
"source": [
|
9
|
+
"# Table of Contents\n",
|
10
|
+
" <p><div class=\"lev1 toc-item\"><a href=\"#名前\" data-toc-modified-id=\"名前-1\"><span class=\"toc-item-num\">1 </span>名前</a></div><div class=\"lev1 toc-item\"><a href=\"#概要\" data-toc-modified-id=\"概要-2\"><span class=\"toc-item-num\">2 </span>概要</a></div><div class=\"lev1 toc-item\"><a href=\"#(my_helpで解決しようとする)問題点\" data-toc-modified-id=\"(my_helpで解決しようとする)問題点-3\"><span class=\"toc-item-num\">3 </span>(my_helpで解決しようとする)問題点</a></div><div class=\"lev1 toc-item\"><a href=\"#特徴\" data-toc-modified-id=\"特徴-4\"><span class=\"toc-item-num\">4 </span>特徴</a></div><div class=\"lev1 toc-item\"><a href=\"#使用法\" data-toc-modified-id=\"使用法-5\"><span class=\"toc-item-num\">5 </span>使用法</a></div><div class=\"lev2 toc-item\"><a href=\"#簡単な使用法\" data-toc-modified-id=\"簡単な使用法-51\"><span class=\"toc-item-num\">5.1 </span>簡単な使用法</a></div><div class=\"lev2 toc-item\"><a href=\"#インストール\" data-toc-modified-id=\"インストール-52\"><span class=\"toc-item-num\">5.2 </span>インストール</a></div><div class=\"lev2 toc-item\"><a href=\"#alpine-linuxのためのDockerfile\" data-toc-modified-id=\"alpine-linuxのためのDockerfile-53\"><span class=\"toc-item-num\">5.3 </span>alpine linuxのためのDockerfile</a></div><div class=\"lev1 toc-item\"><a href=\"#独自のhelpを作る方法\" data-toc-modified-id=\"独自のhelpを作る方法-6\"><span class=\"toc-item-num\">6 </span>独自のhelpを作る方法</a></div><div class=\"lev2 toc-item\"><a href=\"#独自helpを使えるように\" data-toc-modified-id=\"独自helpを使えるように-61\"><span class=\"toc-item-num\">6.1 </span>独自helpを使えるように</a></div><div class=\"lev2 toc-item\"><a href=\"#userの独自helpの達成方法\" data-toc-modified-id=\"userの独自helpの達成方法-62\"><span class=\"toc-item-num\">6.2 </span>userの独自helpの達成方法</a></div><div class=\"lev2 toc-item\"><a href=\"#githubへpushする前に\" data-toc-modified-id=\"githubへpushする前に-63\"><span class=\"toc-item-num\">6.3 </span>githubへpushする前に</a></div><div class=\"lev1 toc-item\"><a href=\"#どちらがいいか\" data-toc-modified-id=\"どちらがいいか-7\"><span class=\"toc-item-num\">7 </span>どちらがいいか</a></div><div class=\"lev1 toc-item\"><a href=\"#uninstall\" data-toc-modified-id=\"uninstall-8\"><span class=\"toc-item-num\">8 </span>uninstall</a></div><div class=\"lev1 toc-item\"><a href=\"#Rakefile\" data-toc-modified-id=\"Rakefile-9\"><span class=\"toc-item-num\">9 </span>Rakefile</a></div>"
|
11
|
+
]
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"cell_type": "markdown",
|
15
|
+
"metadata": {},
|
16
|
+
"source": [
|
17
|
+
"# 名前\n",
|
18
|
+
"\n",
|
19
|
+
"my_help"
|
20
|
+
]
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"cell_type": "markdown",
|
24
|
+
"metadata": {},
|
25
|
+
"source": [
|
26
|
+
"# 概要\n",
|
27
|
+
"\n",
|
28
|
+
"CUI(CLI)ヘルプのUsage出力を真似て,user独自のhelpを作成・提供するgem."
|
29
|
+
]
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"cell_type": "markdown",
|
33
|
+
"metadata": {},
|
34
|
+
"source": [
|
35
|
+
"# (my_helpで解決しようとする)問題点\n",
|
36
|
+
"CUIやshell, 何かのプログラミング言語などを習得しようとする初心者は,\n",
|
37
|
+
"commandや文法を覚えるのに苦労します.少しのkey(とっかかり)があると\n",
|
38
|
+
"思い出すんですが,うろ覚えでは間違えて路頭に迷います.問題点は,\n",
|
39
|
+
"- manは基本的に英語\n",
|
40
|
+
"- manualでは重たい\n",
|
41
|
+
"- いつもおなじことをwebで検索して\n",
|
42
|
+
"- 同じとこ見ている\n",
|
43
|
+
"- memoしても,どこへ置いたか忘れる\n",
|
44
|
+
"\n",
|
45
|
+
"などです."
|
46
|
+
]
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"cell_type": "markdown",
|
50
|
+
"metadata": {},
|
51
|
+
"source": [
|
52
|
+
"# 特徴\n",
|
53
|
+
"これらをgem環境として提供しようというのが,このgemの目的です.\n",
|
54
|
+
"仕様としては,\n",
|
55
|
+
"- userが自分にあったmanを作成\n",
|
56
|
+
"- 雛形を提供\n",
|
57
|
+
" - おなじformat, looks, 操作, 階層構造\n",
|
58
|
+
"- すぐに手が届く\n",
|
59
|
+
"- それらを追加・修正・削除できる\n",
|
60
|
+
"\n",
|
61
|
+
"hikiでやろうとしていることの半分くらいはこのあたりのことなの\n",
|
62
|
+
"かもしれません.memoソフトでは,検索が必要となりますが,my_helpは\n",
|
63
|
+
"key(記憶のとっかかり)を提供することが目的です.\n",
|
64
|
+
"RPGでレベル上げとかアイテムを貯めるようにして,\n",
|
65
|
+
"プログラミングでスキルを発展させてください.\n",
|
66
|
+
"\n",
|
67
|
+
"物覚えの悪い作者は,人の名前をitem分けして,こそっと使っています."
|
68
|
+
]
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"cell_type": "markdown",
|
72
|
+
"metadata": {},
|
73
|
+
"source": [
|
74
|
+
"# 使用法\n",
|
75
|
+
"## 簡単な使用法\n",
|
76
|
+
"> gem install my_help\n",
|
77
|
+
"\n",
|
78
|
+
"でも\n",
|
79
|
+
"installがうまくいくと,defaultでmy_help, my_todo, emacs_helpが入ります.\n",
|
80
|
+
"\n",
|
81
|
+
"emacs_helpを動かしてみてください.\n",
|
82
|
+
"```\n",
|
83
|
+
"emacsのキーバインド\n",
|
84
|
+
"\n",
|
85
|
+
"特殊キー操作\n",
|
86
|
+
" c-f, controlキーを押しながら 'f'\n",
|
87
|
+
" M-f, escキーを押した後一度離して'f'\n",
|
88
|
+
" 操作の中断c-g, 操作の取り消し(Undo) c-x u\n",
|
89
|
+
" cc by Shigeto R. Nishitani, 2016\n",
|
90
|
+
"Usage: e_h [options]\n",
|
91
|
+
" -v, --version show program Version.\n",
|
92
|
+
" -c, --cursor Cursor移動\n",
|
93
|
+
" -e, --編集 Edit操作\n",
|
94
|
+
" -f, --ファイル File操作\n",
|
95
|
+
" -q, --終了 終了操作\n",
|
96
|
+
" -p, --ページ Page移動\n",
|
97
|
+
" -w, --ウィンドウ Window操作\n",
|
98
|
+
" -b, --バッファ Buffer操作\n",
|
99
|
+
" -m, --mode モード切り替え\n",
|
100
|
+
" --edit edit help contents\n",
|
101
|
+
" --to_hiki convert to hikidoc format\n",
|
102
|
+
" --all display all helps\n",
|
103
|
+
" --store [item] store [item] in back\n",
|
104
|
+
" --remove [item] remove [item] in back\n",
|
105
|
+
" --add [item] add new [item]\n",
|
106
|
+
"```\n",
|
107
|
+
"\n",
|
108
|
+
"\n",
|
109
|
+
"\n",
|
110
|
+
"\n",
|
111
|
+
"## インストール\n",
|
112
|
+
"インストールですが,gemの標準とは違ったやり方になります.GithubからForkしてcloneします.\n",
|
113
|
+
"```\n",
|
114
|
+
"git clone git@github.com:daddygongon/my_help.git\n",
|
115
|
+
"```\n",
|
116
|
+
"あとの作業はbundleを使って行います.\n",
|
117
|
+
"\n",
|
118
|
+
"これは,最後のrake install:localをコマンドから実行する方法がわからんかったからですが...\n",
|
119
|
+
"- helpファイルのpush共有とかも考えるとこれがいいのかも.\n",
|
120
|
+
"- home以下に置く方法と比較分析してください.\n",
|
121
|
+
" - lib/daddygongonにあたらしいhelpを置くようにしていましたが,helpに個人情報を入れるとgit pushでさらしてしまうので,やめました.\n",
|
122
|
+
"\n",
|
123
|
+
"まずは,\n",
|
124
|
+
"> bundle update\n",
|
125
|
+
"\n",
|
126
|
+
"でmy_help.gemspecに記述されている必要なgemsがbundleされます.\n",
|
127
|
+
"\n",
|
128
|
+
"Could not locate Gemfileとエラーが出た場合は、Gemfileのある場所を探し、その配下に移動してから再びコマンドを入力する.\n",
|
129
|
+
"\n",
|
130
|
+
"用意されているコマンドは,\n",
|
131
|
+
"\n",
|
132
|
+
"```\n",
|
133
|
+
"bob% bundle exec exe/my_help\n",
|
134
|
+
"Usage: my_help [options]\n",
|
135
|
+
" -v, --version show program Version.\n",
|
136
|
+
" -l, --list 個別(specific)ヘルプのList表示.\n",
|
137
|
+
" -e, --edit NAME NAME(例:test_help)をEdit編集.\n",
|
138
|
+
" -i, --init NAME NAME(例:test_help)のtemplateを作成.\n",
|
139
|
+
" -m, --make make executables for all helps.\n",
|
140
|
+
" -c, --clean clean up exe dir.\n",
|
141
|
+
" --install_local install local after edit helps\n",
|
142
|
+
" --delete NAME delete NAME help\n",
|
143
|
+
"```\n",
|
144
|
+
"です.ENV['LANG']='C'では英語でhelpが表示されます.\n",
|
145
|
+
"まず,-lでdefaultで入っているリストを見てください.\n",
|
146
|
+
"\n",
|
147
|
+
"```\n",
|
148
|
+
"bob% bundle exec exe/my_help -l\n",
|
149
|
+
"\"/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon\"\n",
|
150
|
+
"[\"-l\"]\n",
|
151
|
+
"Specific help file:\n",
|
152
|
+
" emacs_help\n",
|
153
|
+
"```\n",
|
154
|
+
"これで,CUIでemacs_help, e_hが用意されています.\n",
|
155
|
+
"これをいじって挙動に馴染んでください.\n",
|
156
|
+
"--addとか--editとかで,要素の追加や編集ができます."
|
157
|
+
]
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"cell_type": "markdown",
|
161
|
+
"metadata": {},
|
162
|
+
"source": [
|
163
|
+
"## alpine linuxのためのDockerfile\n",
|
164
|
+
"\n",
|
165
|
+
"my_helpをalpine linux上で動作させるため、Dockerfileのテンプレートを作成しました。\n",
|
166
|
+
"スクリプトでプロキシに応じたDockerfileを生成し、イメージを作成します。\n",
|
167
|
+
"```sh\n",
|
168
|
+
"# generate Dockerfile\n",
|
169
|
+
"$ ./make_docker.sh\n",
|
170
|
+
"\n",
|
171
|
+
"# build an image named 'my-help'\n",
|
172
|
+
"$ docker build -t my-help .\n",
|
173
|
+
"\n",
|
174
|
+
"# run a container\n",
|
175
|
+
"$ docker run -it --rm my-help:latest emacs_help\n",
|
176
|
+
"```"
|
177
|
+
]
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"cell_type": "markdown",
|
181
|
+
"metadata": {},
|
182
|
+
"source": [
|
183
|
+
"# 独自のhelpを作る方法\n",
|
184
|
+
"さて,独自のhelpを作る方法です.まずは,\n",
|
185
|
+
"\n",
|
186
|
+
"```\n",
|
187
|
+
"bob% bundle exec exe/my_help -i new_help\n",
|
188
|
+
"\"/Users/bob/.my_help/new_help\"\n",
|
189
|
+
"\"/Users/bob/Github/my_help/lib/daddygongon/template_help\"\n",
|
190
|
+
"cp /Users/bob/Github/my_help/lib/daddygongon/template_help /Users/bob/.my_help/new_help\n",
|
191
|
+
"```\n",
|
192
|
+
"で,new_helpというtemplateが用意されます.-e new_helpで編集してください.\n",
|
193
|
+
"YAML形式で,格納されています.サンプルが,\n",
|
194
|
+
"```\n",
|
195
|
+
"my_help/lib/daddygongon\n",
|
196
|
+
"```\n",
|
197
|
+
"にあります.このあと,-mすると自動でnew_helpがexeディレクトリーに追加されます.\n",
|
198
|
+
"\n",
|
199
|
+
"## 独自helpを使えるように\n",
|
200
|
+
"これは,\n",
|
201
|
+
"```\n",
|
202
|
+
" bob% bundle exec exe/my_help -m\n",
|
203
|
+
"```\n",
|
204
|
+
"で自動的に行われるように修正しましたが,gem環境によっては正常にinstallできません.その場合は,以下にしたがって,手動で/usr/local/binなどにinstallする必要があります.my_helpのdirectoryで\n",
|
205
|
+
"```\n",
|
206
|
+
" git add -A\n",
|
207
|
+
" git commit -m 'add new help'\n",
|
208
|
+
" rake install:local\n",
|
209
|
+
"```\n",
|
210
|
+
"してください.さらにlocalへのinstallにはsudoがいるかもしれません.\n",
|
211
|
+
"\n",
|
212
|
+
"これで終わり.new_helpや短縮形のn_hでhelpが使えます.\n",
|
213
|
+
"もし使えないときは,bin pathが通ってないので,terminalをnewしてください."
|
214
|
+
]
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"cell_type": "markdown",
|
218
|
+
"metadata": {},
|
219
|
+
"source": [
|
220
|
+
"## userの独自helpの達成方法\n",
|
221
|
+
"\n",
|
222
|
+
"- rake my_helpでやっていたが,今は,my_help -mに移行\n",
|
223
|
+
"- @target dirをmy_help/lib/daddygongonからENV['HOME']/.my_helpに変更\n",
|
224
|
+
"\n",
|
225
|
+
"* my_help -i [NAME_help]でNAME_helpを作成.\n",
|
226
|
+
"* @target_dirにそれらのdataを保存.\n",
|
227
|
+
"* my_help -mでその名前からexe中に実行ファイルを自動生成させている.\n",
|
228
|
+
"\n",
|
229
|
+
"```\n",
|
230
|
+
"lib/daddygongon/\n",
|
231
|
+
"└── emacs_help\n",
|
232
|
+
"\n",
|
233
|
+
"exe\n",
|
234
|
+
"├── e_h\n",
|
235
|
+
"└── emacs_help\n",
|
236
|
+
"```\n",
|
237
|
+
"ということ.これは,\n",
|
238
|
+
"```\n",
|
239
|
+
"my_help -m\n",
|
240
|
+
"```\n",
|
241
|
+
"で実行される.これを\n",
|
242
|
+
"```\n",
|
243
|
+
"rake install:local\n",
|
244
|
+
"```\n",
|
245
|
+
"すれば必要とするhelpがlocalな環境でbin dirに移され,CUI commandとして実行可能になる.\n",
|
246
|
+
"\n",
|
247
|
+
"たくさんの実行ファイルを/usr/local/binに置くことになるので,あらたなmy_helpを作成するときには\n",
|
248
|
+
"```\n",
|
249
|
+
"gem uninstall my_help\n",
|
250
|
+
"gem uninstall emacs_help\n",
|
251
|
+
"```\n",
|
252
|
+
"でそのdirをcleanにしておくことが望ましい.下のuninstallの項目を参照.\n",
|
253
|
+
"\n",
|
254
|
+
"-mでやっている中身は以下の通り.\n",
|
255
|
+
"```ruby\n",
|
256
|
+
" def make_help\n",
|
257
|
+
" Dir.entries(@target_dir)[2..-1].each{|file|\n",
|
258
|
+
" next if file[0]=='#' or file[-1]=='~'\n",
|
259
|
+
" exe_cont=\"#!/usr/bin/env ruby\\nrequire 'specific_help'\\n\"\n",
|
260
|
+
" exe_cont << \"help_file = File.join(ENV['HOME'],'.my_help','#{file}')\\n\"\n",
|
261
|
+
" exe_cont << \"SpecificHelp::Command.run(help_file, ARGV)\\n\"\n",
|
262
|
+
" [file, short_name(file)].each{|name|\n",
|
263
|
+
" p target=File.join('exe',name)\n",
|
264
|
+
" File.open(target,'w'){|file| file.print exe_cont}\n",
|
265
|
+
" FileUtils.chmod('a+x', target, :verbose => true)\n",
|
266
|
+
" }\n",
|
267
|
+
" }\n",
|
268
|
+
" install_local\n",
|
269
|
+
" end\n",
|
270
|
+
"\n",
|
271
|
+
" def install_local\n",
|
272
|
+
" #中略\n",
|
273
|
+
" system \"git add -A\"\n",
|
274
|
+
" system \"git commit -m 'update exe dirs'\"\n",
|
275
|
+
" system \"Rake install:local\"\n",
|
276
|
+
" end\n",
|
277
|
+
"\n",
|
278
|
+
"```\n",
|
279
|
+
"\n",
|
280
|
+
"実装方法は,emacs_helpに\n",
|
281
|
+
"\n",
|
282
|
+
"1. yaml形式でdataを入れ,command.runの入力ファイルとする\n",
|
283
|
+
"1. hush形式でdataをいれ,それをrequireして使う\n",
|
284
|
+
"\n",
|
285
|
+
"かのどちらかで実装.speedとかdebugを比較・検証する必要あり.\n",
|
286
|
+
"今の所,No.1の方を実装.No.2のためのhushデータは,\n",
|
287
|
+
"\n",
|
288
|
+
"```ruby\n",
|
289
|
+
"# -*- coding: utf-8 -*-\n",
|
290
|
+
"require 'yaml'\n",
|
291
|
+
"require 'pp'\n",
|
292
|
+
"yaml =<<EOF\n",
|
293
|
+
":file:\n",
|
294
|
+
" :opts:\n",
|
295
|
+
" :short: \"-f\"\n",
|
296
|
+
" :cont:\n",
|
297
|
+
" - c-x c-f, Find file, ファイルを開く\n",
|
298
|
+
" - c-x c-s, Save file, ファイルを保存\n",
|
299
|
+
"EOF\n",
|
300
|
+
"pp data=YAML.load(yaml)\n",
|
301
|
+
"print YAML.dump(data)\n",
|
302
|
+
"\n",
|
303
|
+
"\n",
|
304
|
+
"data0={:file=>\n",
|
305
|
+
" {:opts=>{:short=>\"-f\", :long=>\"--ファイル\", :desc=>\"File操作\"},\n",
|
306
|
+
" :title=>\"ファイル操作file\",\n",
|
307
|
+
" :cont=>\n",
|
308
|
+
" [\"c-x c-f, Find file, ファイルを開く\n",
|
309
|
+
" c-x c-s, Save file, ファイルを保存\n",
|
310
|
+
" c-x c-w, Write file NAME, ファイルを別名で書き込む\"]}}\n",
|
311
|
+
"\n",
|
312
|
+
"print YAML.dump(data0)\n",
|
313
|
+
"```\n",
|
314
|
+
"\n",
|
315
|
+
"```\n",
|
316
|
+
"ruby test.rb lib/daddygongon/emacs_help\n",
|
317
|
+
"```\n",
|
318
|
+
"\n",
|
319
|
+
"で構築できる.実装してみて.\n",
|
320
|
+
"\n",
|
321
|
+
"## githubへpushする前に\n",
|
322
|
+
"\n",
|
323
|
+
"exeにたくさんのhelpsを置いたままpushすると\n",
|
324
|
+
"邪魔.なんで,あからじめ\n",
|
325
|
+
"> bundle exec exe/my_help -c\n",
|
326
|
+
"\n",
|
327
|
+
"でexeの中をソージしてから, git add -A, commitしてpushしてください."
|
328
|
+
]
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"cell_type": "markdown",
|
332
|
+
"metadata": {},
|
333
|
+
"source": [
|
334
|
+
"# どちらがいいか\n",
|
335
|
+
"Rubyで日本語が使えるから,optionsを日本語にしてみた.\n",
|
336
|
+
"```\n",
|
337
|
+
"Usage: eh [options]\n",
|
338
|
+
" -v, --version show program Version.\n",
|
339
|
+
" -c, --カーソル Cursor移動\n",
|
340
|
+
" -p, --ページ Page移動\n",
|
341
|
+
" -f, --ファイル File操作\n",
|
342
|
+
" -e, --編集 Edit操作\n",
|
343
|
+
" -w, --ウィンドウ Window操作\n",
|
344
|
+
" -b, --バッファ Buffer操作\n",
|
345
|
+
" -q, --終了 終了操作\n",
|
346
|
+
"```\n",
|
347
|
+
"半角,全角がoptparseでは適切に判断できない様で,表示があまり揃っていない.\n",
|
348
|
+
"しかし,初心者の振る舞いを見ているとわざわざ日本語に切り替えて打ち込むことは稀であり,\n",
|
349
|
+
"key wordをhelpで参照してshort optionで入力している.そこで,\n",
|
350
|
+
"```\n",
|
351
|
+
"Usage: eh [options]\n",
|
352
|
+
" -v, --version show program Version.\n",
|
353
|
+
" -c, --cursor カーソル移動\n",
|
354
|
+
" -p, --page ページ移動\n",
|
355
|
+
" -f, --file ファイル操作\n",
|
356
|
+
" -e, --edit 編集操作\n",
|
357
|
+
" -w, --window ウィンドウ操作\n",
|
358
|
+
" -b, --buffer バッファ操作\n",
|
359
|
+
" -q, --quit 終了操作\n",
|
360
|
+
"```\n",
|
361
|
+
"としたほうがいいと提案する.アンケートを実施してみてほしい."
|
362
|
+
]
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"cell_type": "markdown",
|
366
|
+
"metadata": {},
|
367
|
+
"source": [
|
368
|
+
"# uninstall\n",
|
369
|
+
"my_help -mでinstallするとEXECUTABLE DIRECTORYにhelpのexec filesが自動で追加される.\n",
|
370
|
+
"~/.my_helpを修正したときには,あらかじめ\n",
|
371
|
+
"```\n",
|
372
|
+
"gem unistall my_help\n",
|
373
|
+
"```\n",
|
374
|
+
"でそれらをuninstallしておくと良い.\n",
|
375
|
+
"\n",
|
376
|
+
"```\n",
|
377
|
+
"bob% gem uninstall my_help\n",
|
378
|
+
"\n",
|
379
|
+
"Select gem to uninstall:\n",
|
380
|
+
" 1. my_help-0.1.0\n",
|
381
|
+
" 2. my_help-0.2.0\n",
|
382
|
+
" 3. my_help-0.2.1\n",
|
383
|
+
" 4. my_help-0.2.2\n",
|
384
|
+
" 5. my_help-0.2.3\n",
|
385
|
+
" 6. my_help-0.3.0\n",
|
386
|
+
" 7. my_help-0.3.1\n",
|
387
|
+
" 8. my_help-0.3.2\n",
|
388
|
+
" 9. All versions\n",
|
389
|
+
"> 9\n",
|
390
|
+
"Successfully uninstalled my_help-0.1.0\n",
|
391
|
+
"Successfully uninstalled my_help-0.2.0\n",
|
392
|
+
"Remove executables:\n",
|
393
|
+
"\t#my_help#\n",
|
394
|
+
"\n",
|
395
|
+
"in addition to the gem? [Yn] Y\n",
|
396
|
+
"Removing #my_help#\n",
|
397
|
+
"Successfully uninstalled my_help-0.2.1\n",
|
398
|
+
"Successfully uninstalled my_help-0.2.2\n",
|
399
|
+
"Successfully uninstalled my_help-0.2.3\n",
|
400
|
+
"Successfully uninstalled my_help-0.3.0\n",
|
401
|
+
"Remove executables:\n",
|
402
|
+
"\ttest_help\n",
|
403
|
+
"\n",
|
404
|
+
"in addition to the gem? [Yn] Y\n",
|
405
|
+
"Removing test_help\n",
|
406
|
+
"Successfully uninstalled my_help-0.3.1\n",
|
407
|
+
"Remove executables:\n",
|
408
|
+
"\te_h, emacs_help, m_h, member_help, my_help, n_h, new_help, r_h, ruby_help, t_h, template_help\n",
|
409
|
+
"\n",
|
410
|
+
"in addition to the gem? [Yn] Y\n",
|
411
|
+
"Removing e_h\n",
|
412
|
+
"Removing emacs_help\n",
|
413
|
+
"Removing m_h\n",
|
414
|
+
"Removing member_help\n",
|
415
|
+
"Removing my_help\n",
|
416
|
+
"Removing n_h\n",
|
417
|
+
"Removing new_help\n",
|
418
|
+
"Removing r_h\n",
|
419
|
+
"Removing ruby_help\n",
|
420
|
+
"Removing t_h\n",
|
421
|
+
"Removing template_help\n",
|
422
|
+
"Successfully uninstalled my_help-0.3.2\n",
|
423
|
+
"```"
|
424
|
+
]
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"cell_type": "markdown",
|
428
|
+
"metadata": {},
|
429
|
+
"source": [
|
430
|
+
"# Rakefile\n",
|
431
|
+
"幾つかの環境設定用のtoolがRakefileに用意されている.\n",
|
432
|
+
"```\n",
|
433
|
+
"rake add_yml # add .yml mode on ~/.emacs.d/init.el\n",
|
434
|
+
"rake clean_exe # clean up exe dir\n",
|
435
|
+
"rake to_yml # add .yml on all help files\n",
|
436
|
+
"```\n",
|
437
|
+
"add_yml, to_ymlは3.6から4.0へ移行する時に行ったhelpファイルの拡張子変更,\n",
|
438
|
+
"3.6では拡張子なしで4.0では'.yml',に対する対応のために用意したツール.\n",
|
439
|
+
"add_ymlは~/.my_help/*_helpファイルを全て~/.my_help/*_help.ymlに変える.\n",
|
440
|
+
"to_ymlは~/.emacs.d/init.elに'.yml'の設定が書き込まれていない時,ruby-modeでemacsを起動するsciptを埋め込む.\n",
|
441
|
+
"\n",
|
442
|
+
"clean_exeは,githubへuploadする時に,開発者個人のexeファイルをrmして整頓する."
|
443
|
+
]
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"cell_type": "code",
|
447
|
+
"execution_count": null,
|
448
|
+
"metadata": {
|
449
|
+
"collapsed": true
|
450
|
+
},
|
451
|
+
"outputs": [],
|
452
|
+
"source": []
|
453
|
+
}
|
454
|
+
],
|
455
|
+
"metadata": {
|
456
|
+
"kernelspec": {
|
457
|
+
"display_name": "Ruby 2.2.2",
|
458
|
+
"language": "ruby",
|
459
|
+
"name": "ruby"
|
460
|
+
},
|
461
|
+
"language_info": {
|
462
|
+
"file_extension": ".rb",
|
463
|
+
"mimetype": "application/x-ruby",
|
464
|
+
"name": "ruby",
|
465
|
+
"version": "2.2.2"
|
466
|
+
},
|
467
|
+
"latex_envs": {
|
468
|
+
"LaTeX_envs_menu_present": true,
|
469
|
+
"autocomplete": true,
|
470
|
+
"bibliofile": "biblio.bib",
|
471
|
+
"cite_by": "apalike",
|
472
|
+
"current_citInitial": 1,
|
473
|
+
"eqLabelWithNumbers": true,
|
474
|
+
"eqNumInitial": 1,
|
475
|
+
"hotkeys": {
|
476
|
+
"equation": "Ctrl-E",
|
477
|
+
"itemize": "Ctrl-I"
|
478
|
+
},
|
479
|
+
"labels_anchors": false,
|
480
|
+
"latex_user_defs": false,
|
481
|
+
"report_style_numbering": false,
|
482
|
+
"user_envs_cfg": false
|
483
|
+
},
|
484
|
+
"toc": {
|
485
|
+
"colors": {
|
486
|
+
"hover_highlight": "#DAA520",
|
487
|
+
"navigate_num": "#000000",
|
488
|
+
"navigate_text": "#333333",
|
489
|
+
"running_highlight": "#FF0000",
|
490
|
+
"selected_highlight": "#FFD700",
|
491
|
+
"sidebar_border": "#EEEEEE",
|
492
|
+
"wrapper_background": "#FFFFFF"
|
493
|
+
},
|
494
|
+
"moveMenuLeft": true,
|
495
|
+
"nav_menu": {
|
496
|
+
"height": "304px",
|
497
|
+
"width": "252px"
|
498
|
+
},
|
499
|
+
"navigate_menu": true,
|
500
|
+
"number_sections": true,
|
501
|
+
"sideBar": true,
|
502
|
+
"threshold": 4,
|
503
|
+
"toc_cell": true,
|
504
|
+
"toc_section_display": "block",
|
505
|
+
"toc_window_display": true,
|
506
|
+
"widenNotebook": false
|
507
|
+
}
|
508
|
+
},
|
509
|
+
"nbformat": 4,
|
510
|
+
"nbformat_minor": 2
|
511
|
+
}
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.4.3
|
data/Dockerfile.template
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
FROM alpine:3.7
|
2
|
+
|
3
|
+
RUN apk update && apk upgrade
|
4
|
+
RUN apk --update add \
|
5
|
+
openssh git build-base libffi libffi-dev \
|
6
|
+
ruby ruby-dev ruby-rake ruby-bundler
|
7
|
+
|
8
|
+
# RUN git clone https://github.com/daddygongon/my_help.git
|
9
|
+
COPY . ~/my_help
|
10
|
+
WORKDIR ~/my_help
|
11
|
+
|
12
|
+
RUN bundle update
|
13
|
+
RUN bundle exec exe/my_help -m && rake install:local
|