{"blog_url":"https://obake.hatenadiary.org/","url":"https://obake.hatenadiary.org/entry/20071109/1194580853","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","version":"1.0","width":"100%","height":"190","image_url":null,"categories":["Ruby"],"published":"2007-11-09 13:00:53","title":" \u30ab\u30d6\u3089\u306a\u3044\u6570\u5b57\u30924\u6841\u3060\u3059\u306e\u307e\u3068\u3081","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobake.hatenadiary.org%2Fentry%2F20071109%2F1194580853\" title=\" \u30ab\u30d6\u3089\u306a\u3044\u6570\u5b57\u30924\u6841\u3060\u3059\u306e\u307e\u3068\u3081 - \u304a\u3070\u3051\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30ab\u30d6\u3089\u306a\u3044\u6570\u5b57\u30924\u6841\u3060\u3059\u306e - $ dropdb \u4eba\u751f http://d.hatena.ne.jp/dropdb/20071109/1194535114 \u3072\u3068\u3064\u306e\u4e8b\u3092\u3059\u308b\u306e\u306b\u968f\u5206\u3044\u308d\u3093\u306a\u30d1\u30bf\u30fc\u30f3\u304c\u3042\u308b\u3093\u3060\u306a\u3041\u3002 ary = [] #\u7a7a\u306e\u914d\u5217\u3067\u3059\u3002 4.times{ #4\u56de\u7e70\u308a\u8fd4\u3057\u3066 n = rand 10 #0-9\u307e\u3067\u306e\u4e71\u6570\u3092\u767a\u751f\u3055\u305b\u914d\u5217\u306b\u5165\u308c\u308b\u3002 redo if ary.include? n #\u65e2\u306b\u914d\u5217\u306bn\u304c\u3042\u3063\u305f\u5834\u5408\u306f\u3082\u30461\u5ea6 ary.push n } print ary redo \u306f\u5236\u5fa1\u69cb\u9020\u3067\u30d8\u30eb\u30d7\u306b\u306f \u30eb\u30fc\u30d7\u6761\u4ef6\u306e\u30c1\u30a7\u30c3\u30af\u3092\u884c\u306a\u308f\u305a\u3001\u73fe\u5728\u306e\u7e70\u308a\u8fd4\u3057\u3092\u3084\u308a\u76f4\u3057\u307e\u3059\u3002 \u3068\u3042\u308b\u3002\u5225\u56de\u7b54 nu\u2026","author_url":"https://blog.hatena.ne.jp/obake/","blog_title":"\u304a\u3070\u3051\u65e5\u8a18","author_name":"obake","type":"rich"}