{"provider_url":"https://hatena.blog","blog_title":"k\u306a\u3093\u3068\u304b\u306e\u65e5\u8a18","title":" \u30d5\u30a1\u30a4\u30eb\u3092 unlock \u3057\u3066\u554f\u984c\u306b\u306a\u308b\u304f\u3089\u3044\u306a\u3089\u3001OS \u4efb\u305b\u306b\u3059\u308b\u307b\u3046\u304c\u3088\u3044","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20080318%2F1205811694\" title=\" \u30d5\u30a1\u30a4\u30eb\u3092 unlock \u3057\u3066\u554f\u984c\u306b\u306a\u308b\u304f\u3089\u3044\u306a\u3089\u3001OS \u4efb\u305b\u306b\u3059\u308b\u307b\u3046\u304c\u3088\u3044 - k\u306a\u3093\u3068\u304b\u306e\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>","categories":["tech","python"],"author_name":"kwatch","url":"https://kwatch.hatenadiary.org/entry/20080318/1205811694","type":"rich","version":"1.0","image_url":null,"blog_url":"https://kwatch.hatenadiary.org/","width":"100%","height":"190","description":"476 \u540d\u524d: \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u540d\u7121\u3057\u3055\u3093 Mail: sage \u6295\u7a3f\u65e5: 2008/03/05(\u6c34) 23:48:04 \u30d5\u30a1\u30a4\u30eb\u306e\u6392\u4ed6\u5236\u5fa1\u306e\u30c6\u30b9\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u3044\u307e\u3059\u3002 \u305f\u3060\u5358\u306b\uff11\u3064\u306e\u30ab\u30a6\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\uff11\uff10\uff10\u4e07\u56de\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0 #!/usr/bin/env python for i in range(1000000) : f = open(\"count-file\", \"r+\") fcntl.flock(f.fileno(), fcntl.LOCK_EX) cnt = f.readline() cnt = int(cnt) + 1 f.seek(0) f.write(\"%d\\n\"\u2026","published":"2008-03-18 12:41:34","author_url":"https://blog.hatena.ne.jp/kwatch/"}