- rebar のリポジトリは clone/pull 済と仮定する
補完スクリプトを置く場所を作る
cd ~ mkdir -p .zsh.d/comp
パスはどこでもいいけど、分かりやすいところに。
_rebarをコピーする
| # -- Options for HTML output --------------------------------------------------- | |
| # The theme to use for HTML and HTML Help pages. See the documentation for | |
| # a list of builtin themes. | |
| html_theme = 'bizstyle' | |
| # Theme options are theme-specific and customize the look and feel of a theme | |
| # further. For a list of options available for each theme, see the | |
| # documentation. | |
| html_theme_options = { |
補完スクリプトを置く場所を作る
cd ~ mkdir -p .zsh.d/comp
パスはどこでもいいけど、分かりやすいところに。
_rebar をコピーする
| This completion script of zsh was adopted by rebar. |
| try: | |
| import sphinxjp.themecore | |
| extensions.append('sphinxjp.themecore') | |
| except ImportError: | |
| extensions = [] | |
| try: | |
| import sphinxjp.themes.bizstyle | |
| html_theme = 'bizstyle' |
| #!/bin/sh | |
| case $1 in | |
| [1-9]) | |
| echo "Less than 10: $1" | |
| ;; | |
| [1-9][0-9]) | |
| echo "Greater than equal 10, and Less than 100: $1" | |
| ;; | |
| *) |
| use strict; | |
| use warnings; | |
| use Digest::SHA; | |
| # Using sha256 algorism | |
| our $ctx = Digest::SHA->new(256); | |
| sub bit_to_digest { | |
| my ($bits) = @_; |