{"id":28664,"date":"2015-03-23T10:22:48","date_gmt":"2015-03-23T01:22:48","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=28664"},"modified":"2015-03-23T10:22:48","modified_gmt":"2015-03-23T01:22:48","slug":"sleep-nw-js","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/sleep-nw-js\/","title":{"rendered":"Sleep - Mac\u306e\u30b9\u30ea\u30fc\u30d7\u6642\u9593\u3092\u78ba\u8a8d\u3067\u304d\u308bNW.js\u88fd\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u30a2\u30d7\u30ea"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/03\/Isleep.jpg\" alt=\"Sleep\" title=\"sleep.jpg\" border=\"0\" width=\"545\" height=\"363\" \/><\/p>\n<p>Mac\u306e\u30b9\u30ea\u30fc\u30d7\u6642\u9593\u3084\u30b9\u30ea\u30fc\u30d7\u3057\u305f\u7406\u7531\u306a\u3069\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30a2\u30d7\u30ea\u300c<a href=\"http:\/\/sleep.gordn.org\/\">Sleep<\/a>\u300d\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059(<a href=\"https:\/\/github.com\/capablemonkey\/sleep\">GitHub<\/a>)\u3002<\/p>\n<p>Sleep\u3092\u5e38\u99d0\u3055\u305b\u3066\u304a\u304f\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001Mac\u306e\u30b9\u30ea\u30fc\u30d7\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u304b\u3089\u7d20\u65e9\u304f\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5e38\u306bMacBook\u3092\u4f7f\u3063\u3066\u3044\u308b\u4eba\u306a\u3089\u3070\u3001\u81ea\u5206\u304c\u3044\u3064\u7720\u3063\u305f\u306e\u304b\u3001\u5341\u5206\u306a\u7761\u7720\u6642\u9593\u3092\u3068\u3063\u3066\u3044\u308b\u306e\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3082\u5f79\u7acb\u3064\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/03\/I-2015-03-23-9.58.21.png\" alt=\"2015 03 23 9 58 21\" title=\" 2015-03-23 9.58.21.png\" border=\"0\" width=\"544\" height=\"325\" \/><\/p>\n<p>\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u5404\u60c5\u5831\u306e\u610f\u5473\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>fell asleep: \u30b9\u30ea\u30fc\u30d7\u306b\u5165\u3063\u305f\u6642\u523b<\/li>\n<li>awoke: \u30b9\u30ea\u30fc\u30d7\u304b\u3089\u623b\u3063\u305f\u6642\u523b<\/li>\n<li>slept: \u30b9\u30ea\u30fc\u30d7\u3057\u3066\u3044\u305f\u6642\u9593<\/li>\n<li>reason for sleep: \u30b9\u30ea\u30fc\u30d7\u3057\u305f\u7406\u7531<\/li>\n<\/ul>\n<p>\u6a5f\u80fd\u7684\u306b\u306f<a href=\"https:\/\/news.ycombinator.com\/item?id=9247534\">Hacker News<\/a>\u3067\u3001\u300e\u305d\u308c\u300cpmset -g log|grep -e \" Sleep  \" -e \" Wake  \"\u300d\u3067\u3067\u304d\u308b\u3088\u300f\u3068\u6307\u6458\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u5358\u306bMac\u306b\u8a18\u9332\u3055\u308c\u3066\u3044\u308b\u30b9\u30ea\u30fc\u30d7\u60c5\u5831\u3092\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306b\u5206\u304b\u308a\u3084\u3059\u304f\u8868\u793a\u3057\u3066\u3044\u308b\u30a2\u30d7\u30ea\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u305f\u3060\u3057<a href=\"https:\/\/github.com\/nwjs\/nw.js\/\">NW.js(\u4ee5\u524d\u306e\u540d\u524d\u306fnode-webkit)<\/a>\u3092\u4f7f\u3063\u305fMac\u7528\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u306e\u5b9f\u88c5\u3068\u3057\u3066\u8208\u5473\u6df1\u3044\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001JavaScript\u3067Mac\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3057\u305f\u3044\u65b9\u306f\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mac\u306e\u30b9\u30ea\u30fc\u30d7\u6642\u9593\u3084\u30b9\u30ea\u30fc\u30d7\u3057\u305f\u7406\u7531\u306a\u3069\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30a2\u30d7\u30ea\u300cSleep\u300d\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059(GitHub)\u3002 Sleep\u3092\u5e38\u99d0\u3055\u305b\u3066\u304a\u304f\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001Mac\u306e\u30b9\u30ea\u30fc\u30d7\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":28662,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[4,75,24],"tags":[3299,2892],"class_list":["post-28664","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mac","category-software","category-hard","tag-mac","tag-sleep"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/28664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=28664"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/28664\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/28662"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=28664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=28664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=28664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}