{"id":50871,"date":"2017-07-03T07:56:19","date_gmt":"2017-07-02T22:56:19","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=50871"},"modified":"2017-07-03T07:56:19","modified_gmt":"2017-07-02T22:56:19","slug":"bash-snippets","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/bash-snippets\/","title":{"rendered":"Bash-Snippets - Web API\u3092\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u5229\u7528\u3067\u304d\u308b\u4eca\u6642\u306e\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u96c6"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2017\/06\/Is_20170628_201005.jpg\" alt=\"S 20170628 201005\" title=\"s_20170628_201005.jpg\" border=\"0\" width=\"993\" height=\"632\" \/><\/p>\n<p>UNIX\u30d9\u30fc\u30b9\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u306f\u901a\u5e38\u3001\u3055\u307e\u3056\u307e\u306a\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3001\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\/\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u591a\u6570\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/alexanderepstein\/Bash-Snippets\">Bash-Snippets<\/a>\u300d\u3082\u305d\u306e\u3088\u3046\u306a\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u5929\u6c17\u4e88\u5831\u3084\u3001\u901a\u8ca8\u306e\u5909\u63db\u30ec\u30fc\u30c8\u3001\u682a\u4fa1\u3001\u6620\u753b\u60c5\u5831\u3092\u8868\u793a\u3067\u304d\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u304c\u3001\u4f1d\u7d71\u7684\u306a\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u306f\u7570\u306a\u308a\u3001Web\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308bAPI\u3092\u7a4d\u6975\u7684\u306b\u5229\u7528\u3059\u308b\u4eca\u6642\u306e\u30c4\u30fc\u30eb\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u4f7f\u7528\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>Bash-Snippets\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>Bash-Snippets\u306fmacOS\u3084Linux\u3068\u3044\u3063\u305fUNIX\u4e92\u63db\u74b0\u5883\u3067\u30c6\u30b9\u30c8\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001Windows\u74b0\u5883\u3067\u306e\u4f7f\u7528\u306f\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u4ee5\u4e0b\u306fmacOS\u3067\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a<a href=\"https:\/\/github.com\/alexanderepstein\/Bash-Snippets\">GitHub<\/a>\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002<\/p>\n<pre>\ngit clone https:\/\/github.com\/alexanderepstein\/Bash-Snippets\n<\/pre>\n<p>\u672c\u683c\u7684\u306b\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u542b\u307e\u308c\u308b\u300cinstall.sh\u300d\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\n.\/install.sh\n<\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u542b\u307e\u308c\u308b\u5404\u30b3\u30de\u30f3\u30c9\u304c\/usr\/local\u4ee5\u4e0b\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002\u5358\u306b\u8a66\u3057\u305f\u3044\u5834\u5408\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u7701\u7565\u3057\u3001\u305d\u308c\u305e\u308c\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u3067\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u5404\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u7528\u6cd5\u3067\u3059\u3002<\/p>\n<h2>weather<\/h2>\n<p>\u5929\u6c17\u4e88\u5831\u3092\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2017\/06\/Is_20170628_201005-1.jpg\" alt=\"S 20170628 201005\" title=\"s_20170628_201005.jpg\" border=\"0\" width=\"993\" height=\"632\" \/><\/p>\n<p>IP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3001\u305d\u306e\u4f4d\u7f6e\u60c5\u5831\u304b\u3089\u5929\u6c17\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>currency<\/h2>\n<p>\u901a\u8ca8\u306e\u8fd4\u9084\u30ec\u30fc\u30c8\u3092\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2017\/06\/Is_20170628_202229.jpg\" alt=\"S 20170628 202229\" title=\"s_20170628_202229.jpg\" border=\"0\" width=\"812\" height=\"460\" \/><\/p>\n<p>\u30d9\u30fc\u30b9\u3068\u306a\u308b\u901a\u8ca8\u3001\u5909\u63db\u5148\u306e\u901a\u8ca8\u3001\u5024\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<h2>crypt<\/h2>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u6697\u53f7\u5316\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2017\/06\/Is_20170628_201716.jpg\" alt=\"S 20170628 201716\" title=\"s_20170628_201716.jpg\" border=\"0\" width=\"807\" height=\"468\" \/><\/p>\n<p>openssl\u306e\u30e9\u30c3\u30d1\u30fc\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre>\ncrypt -e [\u30aa\u30ea\u30b8\u30ca\u30eb\u30d5\u30a1\u30a4\u30eb] [\u6697\u53f7\u5316\u30d5\u30a1\u30a4\u30eb] # \u30d5\u30a1\u30a4\u30eb\u3092\u6697\u53f7\u5316\u3059\u308b\ncrypt -d [\u6697\u53f7\u5316\u30d5\u30a1\u30a4\u30eb] [\u30aa\u30ea\u30b8\u30ca\u30eb\u30d5\u30a1\u30a4\u30eb] # \u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u3092\u89e3\u9664\u3059\u308b\n<\/pre>\n<h2>movies<\/h2>\n<p>\u6620\u753b\u306e\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2017\/06\/Is_20170628_202253.jpg\" alt=\"S 20170628 202253\" title=\"s_20170628_202253.jpg\" border=\"0\" width=\"800\" height=\"443\" \/><\/p>\n<p>\u4f8b\u3048\u3070\u300c.\/movies Inception\u300d\u3068\u5165\u529b\u3059\u308b\u3068\u3001\u6620\u753b\u300c\u30a4\u30f3\u30bb\u30d7\u30b7\u30e7\u30f3\u300d\u306e\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Bash-Snippets\u306f\u4ee5\u4e0b\u306eAPI\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u305d\u3046\u3067\u3059\u3002<\/p>\n<ul>\n<li>IP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u4f4d\u7f6e\u60c5\u5831\u306e\u53d6\u5f97: <a href=\"\/alexanderepstein\/Bash-Snippets\/blob\/master\/ipinfo.io\">ipinfo.io<\/a><\/li>\n<li>\u4f4d\u7f6e\u60c5\u5831\u304b\u3089\u5929\u6c17\u60c5\u5831\u306e\u8868\u793a: <a href=\"\/alexanderepstein\/Bash-Snippets\/blob\/master\/wttr.in\">wttr.in<\/a><\/li>\n<li>JSON\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u682a\u4fa1\u60c5\u5831\u3092\u53d6\u5f97: <a href=\"https:\/\/www.alphavantage.co\">alphavantage.co<\/a><\/li>\n<li>\u901a\u8ca8\u5909\u63db\u30ec\u30fc\u30c8\u3092\u53d6\u5f97: <a href=\"http:\/\/api.fixer.io\">api.fixer.io<\/a><\/li>\n<li>\u6620\u753b\u60c5\u5831\u3092\u53d6\u5f97: <a href=\"http:\/\/www.omdbapi.com\/\">omdbapi.com<\/a><\/li>\n<\/ul>\n<p>\u307e\u305f<a href=\"https:\/\/github.com\/jakewmeyer\/Ruby-Scripts\">Ruby-Scripts<\/a>\u306b\u30a4\u30f3\u30b9\u30d1\u30a4\u30a2\u3055\u308c\u305f\u3068\u3082\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5358\u306b\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u95a2\u9023\u60c5\u5831\u3092\u8abf\u67fb\u3057\u81ea\u5206\u306a\u308a\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u4f7f\u3046\u5834\u5408\u306b\u3082\u4fbf\u5229\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UNIX\u30d9\u30fc\u30b9\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u306f\u901a\u5e38\u3001\u3055\u307e\u3056\u307e\u306a\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3001\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\/\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u591a\u6570\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300cBash-Snippets\u300d\u3082\u305d\u306e\u3088\u3046\u306a\u30b7\u30a7\u30eb [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":50976,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[3610,2920],"class_list":["post-50871","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-bashonwindows","tag-script"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/50871","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=50871"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/50871\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/50976"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=50871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=50871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=50871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}