Skip to content

Instantly share code, notes, and snippets.

@voluntas
voluntas / gist:73efe2f36ac1513c02a8
Created August 5, 2012 16:13
レビューのススメ?

レビューのススメ?

typo 死ぬほど多いので突っ込みまってます

バージョン:0.2.3
作者:@voluntas

考え方はコロコロ変わるタイプなのですが、最近はレビューが実はとても大事でとにもかくにもレビューなのでは?と思い始めてきています。

"------------------------------------
" vim-rails.vim
"------------------------------------
""{{{
"有効化
let g:rails_some_option = 1
let g:rails_level = 4
let g:rails_syntax = 1
let g:rails_statusline = 1
let g:rails_url='http://localhost:3000'
"----------------------------------------
" vim-ref
"----------------------------------------
"{{{
let g:ref_use_vimproc = 1
let g:ref_open = 'split'
let g:ref_cache_dir = expand('~/.Trash')
" PATHを設定する
let g:ref_refe_cmd = expand('~/.vim/ref/ruby-ref1.9.2/refe-1_9_2')
@swieton
swieton / stylesheets_spec.rb
Created September 11, 2012 22:00
An acceptance test to make sure that all CSS files contain fewer than 4096 rules
feature 'Stylesheets' do
scenario 'are all smaller than the Internet Explorer maximum' do
stylesheets = []
#### This will examine the HTML at the given URL and check the stylesheets
#### linked therein. Add similar calls as needed to visit pages that expose
#### all of your site's CSS
stylesheets += stylesheets_at_url('/')
@Gab-km
Gab-km / github-flow.ja.md
Last active June 22, 2026 09:04 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)
" カーソル下のgemのrdocを開く
function! OpenYard(...)
let gem = a:1 == "" ? "" : a:1
if gem == ""
call OpenBrowser("http://localhost:8808/")
else
let url = "http://localhost:8808/docs/" . tolower(gem) . "/frames/"
call OpenBrowser(url)
endif
endfunction
@juno
juno / cloudinary-faq.md
Created October 19, 2012 07:35
Cloudinary FAQ
@hayajo
hayajo / changelog_en.md
Last active September 29, 2026 09:18
ChangeLog を支える英語

ChangeLog を支える英語

ChangeLog を書く際によく使われる英語をまとめました。

ほとんど引用です。

基本形

@juno
juno / using-ruby-1.9.3-p327.md
Created November 10, 2012 11:28
Using ruby-1.9.3-p327 with ruby-env and ruby-build

Using ruby-1.9.3-p327 with ruby-env and ruby-build

Prerequisite

  • Mac OS X Mountain Lion (10.8.2)
  • Homebrew
  • readline
  • rbenv

Install or update ruby-build

@jugyo
jugyo / gist:4071551
Created November 14, 2012 11:07
how to import ekidata for rails

駅データ.jp から以下のようなファイルをダウンロードし、 db/seeds/ekidata とか適当な場所に置く:

  • station20121102free.csv
  • line20121030free.csv
  • company20121010.csv

マイグレーション:

# db/migrate/XXXXXXXXXXXXXX_create_ekidata_stations.rb