my_help 1.2.12 → 1.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/my_help/modify.rb +2 -2
- data/lib/my_help/version.rb +1 -1
- data/lib/templates/kick_off.org +15 -7
- data/lib/templates/template.md +17 -0
- data/lib/templates/template.org +11 -1
- metadata +4 -32
- data/doc/MyHelp/CLI.html +0 -895
- data/doc/MyHelp/Config.html +0 -759
- data/doc/MyHelp/Error.html +0 -124
- data/doc/MyHelp/GetConfig.html +0 -198
- data/doc/MyHelp/Git.html +0 -291
- data/doc/MyHelp/Init.html +0 -449
- data/doc/MyHelp/List.html +0 -646
- data/doc/MyHelp/Md2Hash.html +0 -632
- data/doc/MyHelp/Modify.html +0 -393
- data/doc/MyHelp/Org2Hash.html +0 -554
- data/doc/MyHelp.html +0 -135
- data/doc/Org2Yaml.html +0 -497
- data/doc/_index.html +0 -230
- data/doc/class_list.html +0 -54
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -503
- data/doc/file.README.html +0 -181
- data/doc/file_list.html +0 -59
- data/doc/frames.html +0 -22
- data/doc/index.html +0 -181
- data/doc/js/app.js +0 -344
- data/doc/js/full_list.js +0 -242
- data/doc/js/jquery.js +0 -2
- data/doc/method_list.html +0 -486
- data/doc/top-level-namespace.html +0 -112
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0fd67abb14b0d569344de74e692acd4e7b0fd5c3fdc532b9c21db1ecc43c7505
|
|
4
|
+
data.tar.gz: 02342034d58896f2903b37d2ef77b94269cad1e3039b97bf256243efa113adb3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7113f1321958ad62b3d2214193586d6d3e0e8ded6c4e4a62b4664bf41224007d85fdcedaef965019393fb8182dbc38003b44a7b1f001cccc4c6e8ff485166912
|
|
7
|
+
data.tar.gz: 1e4a6bd0ba7e64574ddde58cb4bd7a8b3177004909ba3f3dbc48ef7e44618e7724b6c2c5e555fb760bfbb41ab12e7f7c32594e4eb489adde2c9cb15838279c61
|
data/lib/my_help/modify.rb
CHANGED
|
@@ -7,8 +7,8 @@ module MyHelp
|
|
|
7
7
|
|
|
8
8
|
def new(help_file)
|
|
9
9
|
target = help_file
|
|
10
|
-
source = File.join(@conf[:template_dir], "
|
|
11
|
-
FileUtils.cp(source, target, verbose:
|
|
10
|
+
source = File.join(@conf[:template_dir], "template#{@ext}")
|
|
11
|
+
FileUtils.cp(source, target, verbose: true)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
def delete(help_file)
|
data/lib/my_help/version.rb
CHANGED
data/lib/templates/kick_off.org
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
#+OPTIONS: ^:{}
|
|
2
2
|
#+STARTUP: indent nolineimages overview num
|
|
3
|
-
* head:
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
最初
|
|
3
|
+
* head:
|
|
4
|
+
最初心者のためのコマンドメモ
|
|
5
|
+
* license: cc by Shigeto R. Nishitani, 2025
|
|
6
|
+
* initial(最初)の操作
|
|
7
7
|
1. cd comp_a_25s
|
|
8
8
|
2. git stash # 変更をgitに無かったことに
|
|
9
9
|
3. git pull origin main # 最新のfilesをgitでpull(引っ張ってくる)
|
|
10
10
|
4. cp bin/kick_off ~/bin # 最新版のkick_offを~/binにcopy
|
|
11
11
|
5. cd ~/my_comp_a/python
|
|
12
12
|
6. cp ~/comp_a_25s/python/hogehoge . # hogehogeファイルを'.'にcp
|
|
13
|
+
* git
|
|
14
|
+
1. git config --global user.name "John Doe"
|
|
15
|
+
1. git config --global user.email johndoe@example.com
|
|
16
|
+
1. git config --global core.editor code
|
|
17
|
+
1. git config pull.rebase true
|
|
18
|
+
1. git stash # 変更をgitに無かったことに
|
|
19
|
+
1. git pull origin main # 最新のfilesをgitでpull(引っ張ってくる)
|
|
20
|
+
|
|
13
21
|
* wsl shell commands
|
|
14
22
|
- cat : catenate # 中身を出力する
|
|
15
23
|
- cat results | pbcopy(clip.exe)
|
|
@@ -23,7 +31,7 @@
|
|
|
23
31
|
- history
|
|
24
32
|
- history -r | tail -20 | clip.exe
|
|
25
33
|
- tree, open, code .,
|
|
26
|
-
* directory(path)
|
|
34
|
+
* directory(path)ディレクトリ
|
|
27
35
|
- pwd : print working directory
|
|
28
36
|
# 今いる絶対path(dir)
|
|
29
37
|
- ls [DIR] : list # defaultは'.'
|
|
@@ -31,7 +39,7 @@
|
|
|
31
39
|
- cd [DIR] : change directory # defaultは'~'
|
|
32
40
|
# '~' tilde, ホームdirectoryを指す
|
|
33
41
|
# '..' 一つ上の相対path
|
|
34
|
-
* file
|
|
42
|
+
* fileファイル
|
|
35
43
|
- mv : move
|
|
36
44
|
- cp : copy
|
|
37
45
|
- mkdir : make directory
|
|
@@ -44,7 +52,7 @@
|
|
|
44
52
|
- c-n(next)
|
|
45
53
|
- c-d(delete), c-k(kill-line), del
|
|
46
54
|
- c-y(yank, paste)
|
|
47
|
-
* capture
|
|
55
|
+
* capture画面捕
|
|
48
56
|
Screen capture
|
|
49
57
|
Mac
|
|
50
58
|
whole : Shift + Command + 3
|
data/lib/templates/template.org
CHANGED
|
@@ -5,5 +5,15 @@
|
|
|
5
5
|
#+EMAIL: (concat "shigeto_nishitani@mac.com")
|
|
6
6
|
#+LANGUAGE: jp
|
|
7
7
|
#+OPTIONS: H:4 toc:t num:2
|
|
8
|
-
#+SETUPFILE: https://fniessen.github.io/org-html-themes/org/theme-readtheorg.setup
|
|
8
|
+
#+SETUPFILE: https://fniessen.github.io/org-html-themes/org/html-theme-readtheorg.setup
|
|
9
|
+
|
|
10
|
+
* head1
|
|
11
|
+
** head2
|
|
12
|
+
- list
|
|
13
|
+
- [[URL][URL-tag]]
|
|
14
|
+
|
|
15
|
+
#+begin_src ruby
|
|
16
|
+
name = ARGV[0] || 'Rudy'
|
|
17
|
+
puts "Hello #{name}."
|
|
18
|
+
#+end_src
|
|
9
19
|
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: my_help
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shigeto R. Nishiani
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: thor
|
|
@@ -68,32 +67,6 @@ files:
|
|
|
68
67
|
- README_e.org
|
|
69
68
|
- Rakefile
|
|
70
69
|
- development_memo.org
|
|
71
|
-
- doc/MyHelp.html
|
|
72
|
-
- doc/MyHelp/CLI.html
|
|
73
|
-
- doc/MyHelp/Config.html
|
|
74
|
-
- doc/MyHelp/Error.html
|
|
75
|
-
- doc/MyHelp/GetConfig.html
|
|
76
|
-
- doc/MyHelp/Git.html
|
|
77
|
-
- doc/MyHelp/Init.html
|
|
78
|
-
- doc/MyHelp/List.html
|
|
79
|
-
- doc/MyHelp/Md2Hash.html
|
|
80
|
-
- doc/MyHelp/Modify.html
|
|
81
|
-
- doc/MyHelp/Org2Hash.html
|
|
82
|
-
- doc/Org2Yaml.html
|
|
83
|
-
- doc/_index.html
|
|
84
|
-
- doc/class_list.html
|
|
85
|
-
- doc/css/common.css
|
|
86
|
-
- doc/css/full_list.css
|
|
87
|
-
- doc/css/style.css
|
|
88
|
-
- doc/file.README.html
|
|
89
|
-
- doc/file_list.html
|
|
90
|
-
- doc/frames.html
|
|
91
|
-
- doc/index.html
|
|
92
|
-
- doc/js/app.js
|
|
93
|
-
- doc/js/full_list.js
|
|
94
|
-
- doc/js/jquery.js
|
|
95
|
-
- doc/method_list.html
|
|
96
|
-
- doc/top-level-namespace.html
|
|
97
70
|
- exe/my_help
|
|
98
71
|
- lib/my_help.rb
|
|
99
72
|
- lib/my_help/cli.rb
|
|
@@ -114,6 +87,7 @@ files:
|
|
|
114
87
|
- lib/templates/kick_off.org
|
|
115
88
|
- lib/templates/my_help_j.org
|
|
116
89
|
- lib/templates/org_j.org
|
|
90
|
+
- lib/templates/template.md
|
|
117
91
|
- lib/templates/template.org
|
|
118
92
|
- my_help.gemspec
|
|
119
93
|
- my_help_install.org
|
|
@@ -121,7 +95,6 @@ homepage: https://github.com/daddygongon/my_help
|
|
|
121
95
|
licenses:
|
|
122
96
|
- MIT
|
|
123
97
|
metadata: {}
|
|
124
|
-
post_install_message:
|
|
125
98
|
rdoc_options: []
|
|
126
99
|
require_paths:
|
|
127
100
|
- lib
|
|
@@ -136,8 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
136
109
|
- !ruby/object:Gem::Version
|
|
137
110
|
version: '0'
|
|
138
111
|
requirements: []
|
|
139
|
-
rubygems_version: 3.
|
|
140
|
-
signing_key:
|
|
112
|
+
rubygems_version: 3.6.7
|
|
141
113
|
specification_version: 4
|
|
142
114
|
summary: user building help
|
|
143
115
|
test_files: []
|