{"id":52690,"date":"2017-10-15T13:13:14","date_gmt":"2017-10-15T04:13:14","guid":{"rendered":"http:\/\/hitoriblog.com\/?p=52690"},"modified":"2017-10-15T14:50:04","modified_gmt":"2017-10-15T05:50:04","slug":"read-the-price-of-the-virtual-currency-once-per-minute-with-macos","status":"publish","type":"post","link":"http:\/\/hitoriblog.com\/?p=52690","title":{"rendered":"macOS\u30671\u5206\u306b1\u56de\u4eee\u60f3\u901a\u8ca8\u306e\u4fa1\u683c\u3092\u8aad\u307f\u4e0a\u3052\u308b"},"content":{"rendered":"<p><img loading=\"lazy\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2017\/10\/read-the-price-of-the-virtual-currency-once-per-minute-with-macos-00000.jpg\" alt=\"Read the price of the virtual currency once per minute with macos 00000\" title=\"read-the-price-of-the-virtual-currency-once-per-minute-with-macos-00000.jpg\" border=\"0\" width=\"728\" height=\"410\" \/><noscript><img loading=\"lazy\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2017\/10\/read-the-price-of-the-virtual-currency-once-per-minute-with-macos-00000.jpg\" alt=\"Read the price of the virtual currency once per minute with macos 00000\" title=\"read-the-price-of-the-virtual-currency-once-per-minute-with-macos-00000.jpg\" border=\"0\" width=\"728\" height=\"410\" \/><\/noscript><\/p>\n<p>\u6700\u8fd1Amazon Echo\u3092\u5165\u624b\u3057\u307e\u3057\u3066\u3001\u30b9\u30de\u30fc\u30c8\u30b9\u30d4\u30fc\u30ab\u30fc\u754c\u9688\u306b\u8208\u5473\u6d25\u3005\u3067\u3059\u3002<\/p>\n<p>Amazon Echo\u306f\u307e\u3060\u65e5\u672c\u8a9e\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u552f\u4e00\u81ea\u5206\u3067\u62e1\u5f35\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u4eca\u306e\u3068\u3053\u308dGoogle Home\u3088\u308a\u306fAmazon Echo\u306b\u52a0\u62c5\u3057\u3088\u3046\u304b\u306a\u3068\u601d\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>Amazon Echo\uff08Alexa\uff09\u306eSkill\u3092\u4f5c\u308b\u524d\u306b\u3001\u624b\u5143\u306emacOS\u3067\u4f3c\u305f\u3088\u3046\u306a\u3053\u3068\u3092\u3084\u3063\u3066\u307f\u305f\u304f\u306a\u308a\u3001\u4eee\u60f3\u901a\u8ca8\u306e\u4fa1\u683c\u306e\u8aad\u307f\u4e0a\u3052\u3092\u5b9f\u73fe\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u300c\/\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\/\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\/\u30bf\u30fc\u30df\u30ca\u30eb\u300d\u3092\u8d77\u52d5\u3057\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6253\u3061\u8fbc\u307f\u3001crontab\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncrontab -e\r\n<\/pre>\n<p>\u300cj\u300d\u3092\u9023\u6253\u3057\u3066\u6700\u7d42\u884c\u307e\u3067\u79fb\u52d5\u3057\u305f\u5f8c\u300co\u300d\uff08\u5c0f\u6587\u5b57\u306e\u30aa\u30fc\uff09\u3092\u62bc\u3057\u3001\u4ee5\u4e0b\u306e\u30ef\u30f3\u30e9\u30a4\u30ca\u30fc\u3092Command + V\u3067\u30da\u30fc\u30b9\u30c8\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n*\/1 * * * * \/usr\/bin\/ruby -Ku -rjson -ropen-uri -e 'system(&quot;say \u30d3\u30c3\u30c8\u30b3\u30a4\u30f3\u306f\u73fe\u5728&quot; + JSON.parse(open(&quot;https:\/\/coincheck.com\/api\/rate\/btc_jpy&quot;).read)[&quot;rate&quot;].to_f.round(2).to_s + &quot;\u5186&quot;)'\r\n<\/pre>\n<p>\u300c[esc]:wq[enter]\u300d\uff08[esc]\u3001[enter]\u306f\u305d\u308c\u305e\u308c\u30ad\u30fc\u3092\u8868\u3059\uff09\u3067\u7d42\u4e86\u3059\u308c\u3070\u3001\u6bce\u52061\u56deCoincheck\u306eBTC\u306eJPY\u4fa1\u683c\u3092\u8aad\u307f\u4e0a\u3052\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>XRP\u306e\u5834\u5408\u306f\u4ee5\u4e0b\u3002\u300cxrp_jpy\u300d\u3068\u300c\u30ea\u30c3\u30d7\u30eb\u306f\u300d\u306e\u90e8\u5206\u3060\u3051\u9055\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n*\/1 * * * * \/usr\/bin\/ruby -Ku -rjson -ropen-uri -e 'system(&quot;say \u30ea\u30c3\u30d7\u30eb\u306f\u73fe\u5728&quot; + JSON.parse(open(&quot;https:\/\/coincheck.com\/api\/rate\/xrp_jpy&quot;).read)[&quot;rate&quot;].to_f.round(2).to_s + &quot;\u5186&quot;)'\r\n<\/pre>\n<p>\u3084\u3081\u308b\u5834\u5408\u306f\u300cj\u300d\u3092\u9023\u6253\u3057\u3066\u5f53\u8a72\u306e\u884c\u307e\u3067\u79fb\u52d5\u3057\u305f\u3089\u300cdd\u300d\u3067\u524a\u9664\u3002\u300c:wq[enter]\u300d\u3067\u7d42\u4e86\u3067\u3059\u3002<\/p>\n<p>\u8aad\u307f\u4e0a\u3052\u306e\u9593\u9694\u306f\u300c*\/1 * * * *\u300d\u306e1\u3092\u9069\u5f53\u306a\u5206\u6570\u306b\u3059\u308c\u3070\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f7f\u3048\u308b\u901a\u8ca8\u30da\u30a2\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002\u300cxrp_jpy\u300d\u306e\u90e8\u5206\u3092\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\npair \u901a\u8ca8\u30da\u30a2 ( &quot;btc_jpy&quot; &quot;eth_jpy&quot; &quot;etc_jpy&quot; &quot;dao_jpy&quot; &quot;lsk_jpy&quot; &quot;fct_jpy&quot; &quot;xmr_jpy&quot; &quot;rep_jpy&quot; &quot;xrp_jpy&quot; &quot;zec_jpy&quot; &quot;xem_jpy&quot; &quot;ltc_jpy&quot; &quot;dash_jpy&quot; &quot;bch_jpy&quot; &quot;eth_btc&quot; &quot;etc_btc&quot; &quot;lsk_btc&quot; &quot;fct_btc&quot; &quot;xmr_btc&quot; &quot;rep_btc&quot; &quot;xrp_btc&quot; &quot;zec_btc&quot; &quot;xem_btc&quot; &quot;ltc_btc&quot; &quot;dash_btc&quot; &quot;bch_btc&quot; )\r\n<\/pre>\n<p>\u4f7f\u3063\u3066\u307f\u308b\u3068\u4fbf\u5229\u3067\u3001\u5225\u306b\u3053\u3061\u3089\u304b\u3089\u58f0\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u3059\u308b\u5fc5\u8981\u306a\u304f\u81ea\u52d5\u7684\u306b\u8aad\u307f\u4e0a\u3052\u3066\u304f\u308c\u305f\u65b9\u304c\u3044\u3044\u305f\u3081\u3001Amazon Echo\u3092\u6301\u3061\u51fa\u3059\u307e\u3067\u3082\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u304c\u56f0\u308a\u3069\u3053\u308d\u3067\u3059\uff08\u7b11\uff09\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1Amazon Echo\u3092\u5165\u624b\u3057\u307e\u3057\u3066\u3001\u30b9\u30de\u30fc\u30c8\u30b9\u30d4\u30fc\u30ab\u30fc\u754c\u9688\u306b\u8208\u5473\u6d25\u3005\u3067\u3059\u3002 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":52692,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[147],"tags":[],"jetpack_featured_media_url":"http:\/\/hitoriblog.com\/wp-content\/uploads\/2017\/10\/read-the-price-of-the-virtual-currency-once-per-minute-with-macos-00000.jpg","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6Z3gA-dHQ","_links":{"self":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/posts\/52690"}],"collection":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=52690"}],"version-history":[{"count":0,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/posts\/52690\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/media\/52692"}],"wp:attachment":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=52690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=52690"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=52690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}