- 2025/02/22 6歳5ヶ月
- 2024/10/20 6歳1ヶ月
- 2024/04/20 5歳8ヶ月
-
2024/04/13(土) 来訪
-
長津田からこどもの国線で。電車は行きも帰りも結構混んでた。
-
子供は5歳7ヶ月
-
入場料大人600円、子供100円
- OwernershipはRust特有。
- slice
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
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>タイトル</title> | |
| </head> | |
| <body> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" > | |
| </script> | |
| <script src="http://documentcloud.github.com/underscore/underscore-min.js"></script> |
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
| #chef-solos to work on ruby-2.0.0-p195 | |
| touch ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/rubygems/format.rb |
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
| # This is the default configuration file with all checking enabled. It is also | |
| # the configuration used to check the rubocop source code. | |
| # Use UTF-8 as the source file encoding. | |
| Encoding: | |
| Enabled: true | |
| # Limit lines to 80 characters. | |
| LineLength: | |
| Enabled: true |
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 -*- | |
| puts "gist.vim test" |
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
| Dir.glob("app/models/*.rb"). | |
| map{|m|m.gsub("app/models/", "")}. | |
| map{|m| m.gsub(".rb", "")}.each do |m| | |
| clazz = m.classify.constantize | |
| next unless clazz.kind_of?(ActiveRecord::Base) | |
| clazz.delete_all | |
| end |
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
| [:action1, :action2].each do |a| | |
| it "should be successfl" do | |
| get a | |
| response.should be_success | |
| end | |
| end |
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 -*- | |
| a= [1, 2, 3] | |
| for v in a | |
| b = 'a' | |
| puts v | |
| end | |
| puts b | |
| a.each do |v| | |
| c = 'a' |