_.mixin({ "eachSlice": function(obj, size, iterator, context) {
for (var i = 0, l = obj.length; i < l; i += size) {
iterator.call(context, obj.slice(i, i + size), i, obj);
}
}});
This file contains 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
Gem::Specification.new do |spec| | |
spec.name = "gist_gem" | |
spec.version = "0.0.2" | |
spec.authors = ["-"] | |
spec.email = ["-"] | |
spec.summary = "-" | |
spec.files = ["gist_gem.rb"] | |
spec.require_path = "." | |
end |
ActiveRecord::Base.connection.execute('SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED')
app_root
├── pom.xml
└── src
├── main
│ ├── java
│ │ └── jp....
│ ├── resources
│ │ ├── META-INF
│ │ │ ├── jp...
git grep -l '# coding: utf-8' spec | xargs -L 1 ruby -e 'puts gets(nil).gsub(/#\W*coding:\W*utf-8\W*\n+/, "")' -i
git grep -l '# -\*- coding: utf-8 -*-' spec/ | xargs -L 1 ruby -e 'puts gets(nil).gsub("# -*- coding: utf-8 -*-\n", "")' -i
OlderNewer