{"id":21662,"date":"2014-07-26T12:14:55","date_gmt":"2014-07-26T03:14:55","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=21662"},"modified":"2014-07-26T12:17:27","modified_gmt":"2014-07-26T03:17:27","slug":"hydra-1-0-released","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/hydra-1-0-released\/","title":{"rendered":"\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u81ea\u7531\u81ea\u5728\u306b\u64cd\u4f5c\u3067\u304d\u308bMac\u7528\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u300cHydra\u300d\u3092\u4f7f\u3063\u3066\u307f\u305f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/07\/blogHydra.jpg\" alt=\"Hydra\" title=\"Hydra.jpg\" border=\"0\" width=\"546\" height=\"283\" \/><\/p>\n<p>Mac\u7528\u306e\u9ad8\u6a5f\u80fd\u306a\u30a6\u30a3\u30f3\u30c9\u30a6\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u300c<a href=\"http:\/\/hackhydra.com\/\">Hydra 1.0<\/a>\u300d\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f(<a href=\"https:\/\/github.com\/sdegutis\/hydra\">GitHub<\/a>)\u3002<\/p>\n<p>MIT\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3059\u304c\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u3082\u8ca9\u58f2\u3055\u308c\u3066\u3044\u3066\u73fe\u5728\u306e\u4fa1\u683c\u306f\u65e5\u672c\u5186\u30671,578\u5186\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<a href=\"https:\/\/news.ycombinator.com\/item?id=8085829\">Hacker News<\/a>\u306b\u3088\u308b\u3068\u30e9\u30a4\u30bb\u30f3\u30b9\u3092\u8cfc\u5165\u3057\u306a\u3044\u3053\u3068\u306e\u5236\u9650\u306f\u300cIt'll show a window periodically (without stealing key focus) to remind you to buy a license.\u300d(\u5b9a\u671f\u7684\u306b\u30e9\u30a4\u30bb\u30f3\u30b9\u8cfc\u5165\u3092\u8981\u6c42\u3059\u308b(\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u30d5\u30a9\u30fc\u30ab\u30b9\u306f\u76d7\u307e\u306a\u3044=\u90aa\u9b54\u306b\u306a\u3089\u306a\u3044)\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u8868\u793a\u3055\u308c\u308b)\u3053\u3068\u3060\u3051\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/07\/bloghydra.png\" alt=\"hydra\" title=\"hydra.png\"\nborder=\"0\" width=\"546\" height=\"307\" \/><\/p>\n<p>Hydra\u306e\u4e3b\u306a\u6a5f\u80fd\u306f\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30ea\u30b5\u30a4\u30ba\u3084\u79fb\u52d5\u3092\u884c\u3046\u3053\u3068\u3067\u3059\u3002\u540c\u7a2e\u306e\u30bd\u30d5\u30c8\u306b<a href=\"http:\/\/www.irradiatedsoftware.com\/sizeup\/\">SizeUp<\/a>\u3084<a href=\"https:\/\/github.com\/jigish\/slate\">Slate<\/a>\u304c\u3042\u308a\u3001\u3053\u308c\u3089\u306e\u30bd\u30d5\u30c8\u3092\u4f7f\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u306a\u3089\u3070\u30a4\u30e1\u30fc\u30b8\u3057\u3084\u3059\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>Hydra\u306e\u7279\u5fb4\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304cLua\u3067\u8a18\u8ff0\u3067\u304d\u308b\u67d4\u8edf\u6027\u3001\u8efd\u91cf\u3067\u9ad8\u901f\u306a\u3053\u3068\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u547c\u3073\u51fa\u3059\u3053\u3068\u3082\u3067\u304d\u308b\u30d1\u30ef\u30d5\u30eb\u306aAPI\u6e96\u5099\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u306a\u3069\u3067\u3057\u3087\u3046\u304b\u3002Mac\u3092\u81ea\u7531\u81ea\u5728\u306b\u64cd\u4f5c\u3057\u305f\u3044\u30d1\u30ef\u30fc\u7cfb\u30e6\u30fc\u30b6\u30fc\u306a\u3089\u3070\u8a66\u3057\u3066\u307f\u308b\u4fa1\u5024\u306f\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002<!--more--><\/p>\n<h3>Hydra\u3092\u4f7f\u3046: \u6e96\u5099\u7de8<\/h3>\n<p>Hydra\u3092\u8d77\u52d5\u3059\u308b\u3068\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u8a31\u53ef\u3092\u4e0e\u3048\u308b\u3088\u3046\u8981\u6c42\u3055\u308c\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u753b\u9762\u3067\u30c1\u30a7\u30c3\u30af\u3092\u3044\u308c\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/07\/blogsecurity.jpg\" alt=\"Security\" title=\"security.jpg\" border=\"0\" width=\"546\" height=\"433\" \/><\/p>\n<p>\u521d\u671f\u72b6\u614b\u3067\u306f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u306e\u3067\u3001\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300cOpen Sample Inifile\u300d\u3092\u9078\u3093\u3067\u30b5\u30f3\u30d7\u30eb\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u5185\u5bb9\u3092\u300c~\/.hydra\/init.lua\u300d\u306b\u4fdd\u5b58\u3057\u307e\u3059(\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082\u306a\u3051\u308c\u3070\u4f5c\u308a\u307e\u3059)\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/07\/blogsample-1.jpg\" alt=\"Sample 1\" title=\"sample-1.jpg\" border=\"0\" width=\"525\" height=\"207\" \/><\/p>\n<p>init.lua\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u540c\u3058\u304f\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300cReload Config\u300d\u3092\u5b9f\u884c\u3057\u3066\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u76f4\u3057\u307e\u3059\u3002\u3053\u308c\u3067\u6e96\u5099\u5b8c\u4e86\u3002<\/p>\n<h3>Hydra\u3092\u4f7f\u3046: \u5b9f\u8df5\u7de8<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/07\/blogmove.jpg\" alt=\"Move\" title=\"move.jpg\" border=\"0\" width=\"546\" height=\"306\" \/><\/p>\n<p>\u3044\u3088\u3044\u3088Hydra\u3092\u4f7f\u3063\u3066\u307f\u307e\u3059\u3002\u4f55\u304b\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3057\u3066\u300cCommand-Control-Option L\u300d\u3092\u62bc\u3059\u3068\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u306e\u53f3\u534a\u5206\u306b\u30ea\u30b5\u30a4\u30ba\uff06\u79fb\u52d5\u3059\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<pre>\n-- move the window to the right half of the screen\nfunction movewindow_righthalf()\n  local win = window.focusedwindow()\n  local newframe = win:screen():frame_without_dock_or_menu()\n  newframe.w = newframe.w \/ 2\n  newframe.x = newframe.x + newframe.w -- comment out this line to push it to left half of screen\n  win:setframe(newframe)\nend\n\n-- bind your custom function to a convenient hotkey\n-- note: it's good practice to keep hotkey-bindings separate from their functions, like we're doing here\nhotkey.new({\"cmd\", \"ctrl\", \"alt\"}, \"L\", movewindow_righthalf):enable()\n\n<\/pre>\n<p>\u4eca\u547c\u3073\u51fa\u3055\u308c\u305f\u6a5f\u80fd\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u300cmovewindow_righthalf\u300d\u3067\u3059\u3002\u3053\u306e\u90e8\u5206\u3092\u81ea\u5206\u3067\u597d\u304d\u306a\u3088\u3046\u306b\u5909\u66f4\u3059\u308c\u3070\u81ea\u7531\u81ea\u5728\u306b\u30a6\u30a3\u30f3\u30c9\u30a6\u30b5\u30a4\u30ba\u3084\u4f4d\u7f6e\u3092\u5909\u66f4\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u306f\u30b5\u30f3\u30d7\u30eb\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3067\u304d\u308b\u3053\u3068\u304c\u3068\u3066\u3082\u5c11\u306a\u304f\u5b9f\u7528\u7684\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u81ea\u5206\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u3053\u3093\u3067\u3044\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002GitHub\u30b5\u30a4\u30c8\u304b\u3089\u30b0\u30ea\u30c3\u30c9\u72b6\u306b\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u79fb\u52d5\u3055\u305b\u308b\u305f\u3081\u306e<a href=\"https:\/\/github.com\/sdegutis\/hydra-grid\">hydra-grid<\/a>\u306e\u3088\u3046\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u3082\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308b\u306e\u3067\u5229\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<a href=\"http:\/\/hackhydra.com\/docs\/\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3082\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u4e0d\u89aa\u5207\u3060\u3051\u3069\u3067\u304d\u308b\u3053\u3068\u306f\u591a\u305d\u3046<\/h3>\n<p>\u4f7f\u3044\u306f\u3058\u3081\u308b\u307e\u3067\u306b\u624b\u9593\u304c\u304b\u304b\u308b\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u4e0d\u89aa\u5207\u306a\u611f\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u5206\u67d4\u8edf\u6027\u306f\u9ad8\u304f\u3001\u81ea\u5206\u3067\u3044\u308d\u3044\u308d\u3084\u308a\u305f\u3044\u4eba\u306b\u306f\u5411\u3044\u3066\u3044\u305d\u3046\u3067\u3059\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u6d3e\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210\u306e\u624b\u9593\u3092\u60dc\u3057\u307e\u306a\u3044\u65b9\u306f\u8a66\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mac\u7528\u306e\u9ad8\u6a5f\u80fd\u306a\u30a6\u30a3\u30f3\u30c9\u30a6\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u300cHydra 1.0\u300d\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f(GitHub)\u3002 MIT\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3059\u304c\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u3082\u8ca9\u58f2\u3055\u308c\u3066\u3044\u3066\u73fe\u5728\u306e\u4fa1\u683c\u306f\u65e5\u672c\u5186\u30671,578\u5186\u306b\u8a2d\u5b9a\u3055 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":21657,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[4,75],"tags":[2565],"class_list":["post-21662","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mac","category-software","tag-hydra"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/21662","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=21662"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/21662\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/21657"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=21662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=21662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=21662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}