- 宿に21:30くらいに付く予定だけど晩御飯だしてもらえるか確認
- コメント要確認↓
- 9/4金:夜20時東京駅(銀の鈴)集合、新幹線のチケット(20:26発 こだま687号(N700系)(名古屋行)
#!/usr/bin/env ruby | |
spec_hits = [] | |
checks = { | |
'_spec\.rb$' => ['focus:[:space:]*true'], | |
'\.rb$' => ['binding\.pry', 'debugger'] | |
} | |
# Find the names of all the filenames that have been (A)dded (C)opied or (M)odified | |
filenames = `git diff --cached --name-only --diff-filter=ACM`.split("\n") |
// This is a manifest file that'll be compiled into application.js, which will include all the files | |
// listed below. | |
// | |
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, | |
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. | |
// | |
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | |
// compiled file. | |
// | |
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD |
<% repo = Grit::Repo.new(Rails.root).head.name rescue nil %> | |
development: | |
adapter: mysql2 | |
encoding: utf8 | |
database: hoge_development<%= "_#{repo}" %> |
javascript:var d=document,t=d.title,u=d.URL,i=d.createElement('input');i.value='['+t+']('+u+' )';d.body.appendChild(i);i.focus();i.select(); |
require "csv" | |
MAX = 50 | |
EXISTING = 18 | |
EMAILCOLNUM = 5 | |
DUPLICATE = 1 | |
def create_data | |
result = [] | |
#csv取得 |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<select id="select1"> | |
<option value="">-----</option> | |
<option value="00110">親さくらい</option> |
# blank project | |
rails new app_name -T -J -d mysql | |
cd app_name | |
bundle | |
# rails g jquery:install #3.1、3.2から不要? | |
rails g rspec:install | |
rails g controller sample index | |
rails g model book name:string hoge:integer user:references | |
rake db:migrate |
people[:name] ||= 'sakurai' | |
unless people[:name] | |
people[:name] = 'sakurai' | |
end |