{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Futadaq.hatenadiary.org%2Fentry%2F20070321%2F1174478350\" title=\"script/generate\u306a\u3069\u3067\u751f\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u62ec\u3067\u306bsvn add\u3059\u308b - \u306e\u30ee\u306e\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["rails","svn"],"height":"190","version":"1.0","author_name":"utadaq","provider_name":"Hatena Blog","type":"rich","provider_url":"https://hatena.blog","blog_url":"https://utadaq.hatenadiary.org/","image_url":null,"url":"https://utadaq.hatenadiary.org/entry/20070321/1174478350","width":"100%","published":"2007-03-21 20:59:10","description":"1 tmpFilePath = 'tmp/svn.tmp' 2 3 system(\"svn st > #{tmpFilePath}\") 4 data = open(tmpFilePath) 5 data.each do |e| 6 system(\"svn add #{e[5..e.size].strip}\") unless e.include?(tmpFilePath) 7 end 8 data.close 9 File.delete(tmpFilePath) svnall.rb\u306a\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u4fdd\u5b58\u3057\u3066\u304a\u3044\u3066\u3001rails\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u304a\u3044\u3066ruby svnall.rb\u306a\u3093\u304b\u3042\u307e\u308a\u3044\u3044\u2026","author_url":"https://blog.hatena.ne.jp/utadaq/","title":"script/generate\u306a\u3069\u3067\u751f\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u62ec\u3067\u306bsvn add\u3059\u308b","blog_title":"\u306e\u30ee\u306e"}