This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1メソッド100行以下 | |
Metrics/MethodLength: | |
Max: 100 | |
# コメントに日本語許可 | |
Style/AsciiComments: | |
Enabled: false | |
# メソッドの戻り値にreturn許可 | |
Style/RedundantReturn: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Rubyスクリプトのテンプレートファイル | |
# | |
require 'optparse' | |
require 'fileutils' | |
# コマンドライン引数の読み込み | |
def parse_args(argv) | |
conf = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# | |
# Geohash encode/decode Test for tmp binary | |
# | |
# | |
LEVEL = 8 | |
LENGTH = LEVEL*5/2 | |
def encode(lon, str, min, max) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" show line number | |
set number | |
" Disable auto indent when type return key | |
autocmd Filetype * set formatoptions-=r | |
" Set comment color scheme to light blue | |
highlight Comment ctermfg=6 | |
" 前回開いた位置で開く |