- rebar のリポジトリは clone/pull 済と仮定する
補完スクリプトを置く場所を作る :
cd ~ mkdir -p .zsh.d/comp
パスはどこでもいいけど、分かりやすいところに。
_rebar
をコピーする :
use strict; | |
use warnings; | |
use Digest::SHA; | |
# Using sha256 algorism | |
our $ctx = Digest::SHA->new(256); | |
sub bit_to_digest { | |
my ($bits) = @_; |
#!/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" | |
;; | |
*) |
try: | |
import sphinxjp.themecore | |
extensions.append('sphinxjp.themecore') | |
except ImportError: | |
extensions = [] | |
try: | |
import sphinxjp.themes.bizstyle | |
html_theme = 'bizstyle' |
This completion script of zsh was adopted by rebar. |
補完スクリプトを置く場所を作る :
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 = { |
Using Unicode in Erlang
STDLIB User's Guide Version 1.19.1
http://www.erlang.org/documentation/doc-5.10.1/lib/stdlib-1.19.1/doc/html/unicode_usage.html
#!/usr/bin/env python | |
# -*- mode: python; coding: utf-8 -*- | |
""" | |
modulesetup - setup script for python module skelton | |
usage: | |
# execute script like this, | |
$ python modulesetup foo.bar.buz |
Build version go 1.1.1