{"id":1267,"date":"2019-01-04T18:32:24","date_gmt":"2019-01-04T09:32:24","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=1267"},"modified":"2021-10-17T18:21:05","modified_gmt":"2021-10-17T09:21:05","slug":"%e3%83%96%e3%83%ad%e3%82%b0%e3%81%ae%e5%86%99%e7%9c%9f%e8%b2%bc%e3%82%8a%e4%bb%98%e3%81%91%e3%82%92%e7%a9%b6%e6%a5%b5%e7%9a%84%e3%81%ab%e6%a5%bd%e3%81%ab%e3%81%99%e3%82%8bwsl-bash%e3%82%b9%e3%82%af","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=1267","title":{"rendered":"\u30d6\u30ed\u30b0\u306e\u753b\u50cf\u6dfb\u4ed8\u3092\u52b9\u7387\u5316\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3068ShareX\u306e\u6d3b\u7528"},"content":{"rendered":"<p>\u30d6\u30ed\u30b0\u306e\u5199\u771f\u8cbc\u308a\u4ed8\u3051\u3001\u753b\u50cf\u8cbc\u308a\u4ed8\u3051\u3001\u3064\u307e\u308a\u753b\u50cf\u306e\u6dfb\u4ed8\u3092\u3081\u3061\u3083\u304f\u3061\u3083\u697d\u306b\u3057\u305f\u3044\u3001\u52b9\u7387\u5316\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3001Windows\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u74b0\u5883\u3001WSL Linux Bash\u3067Bash\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8272\u3005\u8003\u5bdf\u3057\u307e\u3057\u305f\u3002ShareX\u3068\u3044\u3046\u30b9\u30af\u30ea\u30fc\u30f3\u30ad\u30e3\u30d7\u30c1\u30e3\u30fb\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u4e00\u7dd2\u306b\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30d6\u30ed\u30b0\u306e\u753b\u50cf\u6dfb\u4ed8\u3092\u6700\u901f\u3067\u3053\u306a\u3057\u3001SEO\u5bfe\u7b56\u3082\u30d0\u30c3\u30c1\u30ea\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u50d5\u306f\u57fa\u672c\u7684\u306b\u30d6\u30ed\u30b0\u306b\u753b\u50cf\u306f\u8cbc\u308a\u307e\u305b\u3093\u3002\u9762\u5012\u3060\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u30d6\u30ed\u30b0\u3067\u4e00\u756a\u9762\u5012\u306a\u4f5c\u696d\u306f\u3001\u753b\u50cf\u306e\u8cbc\u308a\u4ed8\u3051\u3067\u3057\u3087\u3046\u3002\u30d6\u30ed\u30ac\u30fc\u7d4c\u9a13\u8005\u306a\u3089\u8ab0\u3082\u304c\u3001\u6587\u5b57\u66f8\u304f\u3088\u308a\u753b\u50cf\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u8cbc\u308a\u4ed8\u3051\u3057\u3066\u3084\u308b\u4f5c\u696d\u306e\u304c\u9762\u5012\u3060\u3068\u3044\u3046\u3053\u3068\u306f\u3054\u5b58\u77e5\u304b\u3068\u601d\u3046\u3002<\/p>\n<p>\u3068\u3001\u3044\u3046\u3053\u3068\u306f\u611a\u304b\u306b\u3082\u3001\u50d5\u304c\u307e\u3060\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8\u3067\u66ae\u3089\u3057\u3066\u3044\u3053\u3046\u3068\u6c7a\u610f\u3057\u3066\u3044\u305f\u82e5\u304d\u65e5\u3001\u3059\u3067\u306b\u5bfe\u7b56\u3092\u8b1b\u3058\u3066\u3044\u305f\u3002<br \/>\n\u3053\u306e\u30d6\u30ed\u30b0\u3092\u898b\u3066\u304f\u308c\u305f\u3053\u3068\u304c\u3042\u308b\u65b9\u306a\u3089\u6c17\u3065\u3044\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001\u50d5\u306e\u30d6\u30ed\u30b0\u306e\u753b\u50cf\u306f\u4ed6\u306e\u30b5\u30a4\u30c8\u306e\u305d\u308c\u3068\u306f\u3061\u3087\u3063\u3068\u9055\u3046\u3002<\/p>\n<p>\u666e\u901a\u30ef\u30fc\u30c9\u30d7\u30ec\u30b9\u30b5\u30a4\u30c8\u3068\u8a00\u3046\u3068\u3001\u753b\u50cf\u306f\u5927\u4f53\u3001<code>\/wp-content\/<\/code>\u306b\u5165\u308b\u3002\u306e\u3067\u3001\u753b\u50cf\u3092\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u3044\u3066URL\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068\u3001\u305d\u3046\u306a\u3063\u3066\u308b\u3053\u3068\u304c\u307b\u3068\u3093\u3069\u3060\u3002<\/p>\n<p>\u3057\u304b\u3057\u50d5\u306f\u3001shareX\u3092\u7528\u3044\u3066\u3001\u753b\u50cf\u30b5\u30fc\u30d0\u30fc\u3092\u7528\u610f\u3057\u3066\u305d\u3053\u306b\u81ea\u52d5\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3001\u305d\u306eURL\u3092markdown\u5f62\u5f0f\u3067\u8cbc\u308a\u4ed8\u3051\u3001wordpress\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3044\u3046\u624b\u9593\u3092\u7701\u304f\u3053\u3068\u306b\u6210\u529f\u3057\u305f\u3002<\/p>\n<p>\u901f\u5ea6\u306b\u3064\u3044\u3066\u306f\u3001\u30a8\u30c3\u30af\u30b9\u30b5\u30fc\u30d0\u30fc\u306e\u540c\u4e00\u30b5\u30fc\u30d0\u30fc\u4e0a\u306a\u306e\u3067\u554f\u984c\u306b\u306f\u306a\u3089\u306a\u3044\u3002\u73fe\u306b\u3001\u30da\u30fc\u30b8\u8aad\u307f\u8fbc\u307f\u901f\u5ea6\u306f\u5feb\u8abf\u3067\u3042\u308b\u3002<\/p>\n<p>\u3067\u3001\u3057\u304b\u3057\u3002\u305d\u308c\u3067\u3082\u3001sharex\u306f\u6b20\u70b9\u304c\u3042\u308b\u3002<br \/>\n\u666e\u901a\u81ea\u52d5\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u8cbc\u4ed8\u3051\u3055\u308c\u308bURL\u304c\u8cbc\u4ed8\u3051\u3055\u308c\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u3002\u307e\u3041\u30d0\u30b0\u3001\u307e\u305f\u306f\u7af6\u5408\u3060\u308d\u3046\u3002<\/p>\n<p>\u305d\u308c\u306b\u3001\u307e\u3060\u52b9\u7387\u5316\u3067\u304d\u305d\u3046\u306a\u70b9\u306f\u3042\u308b\u3002\u2026\u305d\u308c\u3089\u306e\u70b9\u3092\u307e\u3068\u3081\u3066\uff11\u30b3\u30de\u30f3\u30c9\u3067\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u306e\u304c\u3001\u4ee5\u4e0b\u3067\u3042\u308b\u3002<\/p>\n<pre><code>getSharexs(){\n\n  ARG1=${1:-1}\n\n  find \"\/mnt\/c\/Users\/user\/OneDrive\/\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\/ShareX\/Screenshots\/\" -printf \"%T+ %p\\n\" |\\\n   sort -r |\\\n    sed -Ee \"s\/^.*(\\\/mnt.*\\.(jpg|png|gif|mp4))\/\\1\/g\" |\\\n     sed -Ee \"s\/^[0-9]{4}-[0-9]{1,2}-[0-9]{1,2}.*(\\\/|[0-9]{1,2})$\/\/g\" |\\\n      sed -r '\/^\\s*$\/d' |\\\n        head -n $ARG1 |\\\n          sed -Ee \"s\/.*$(date +\"%Y\")-$(date +\"%m\").(.*)\/https:\\\/\\\/yuis.xsrv.jp\\\/images\\\/ss\\\/\\1\/g\" |\\\n            tac |\\\n              if [ -z ${2+x} ]; then\n                sed -Ee \"s\/^(.*)$\/\\!\\[\\1\\]\\(\\1\\)\/g\"\n              else\n                sed -Ee \"s\/^(.*)$\/\\!\\[$2\\]\\(\\1\\)\/g\"\n              fi\n\n}\n<\/code><\/pre>\n<p><img src=\"https:\/\/yuis.xsrv.jp\/images\/ss\/ShareX_ScreenShot_c4441713-49a9-4401-bebf-6b983baf302c.png\" alt=\"https:\/\/yuis.xsrv.jp\/images\/ss\/ShareX_ScreenShot_c4441713-49a9-4401-bebf-6b983baf302c.png\"><\/p>\n<p>\u3053\u308c\u304c\u4f55\u304c\u3067\u304d\u308b\u304b\u3068\u3044\u3046\u3068\u3001\u8907\u6570\u679a\u306e\u753b\u50cf\u3092\u3068\u3063\u3066\u3082\u3001\u305d\u308c\u3092\u64ae\u5f71\u9806\u306b\u3057\u3066markdown\u3068\u3057\u3066\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u3068\u3044\u3046\u3082\u306e\u3002<\/p>\n<p>\u4f8b\u3048\u3070,&#8221;windows 10\u306epython3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5&#8221;\u3068\u3044\u3046\u8a18\u4e8b\u3092\u66f8\u304f\u3068\u3057\u3066\u3001\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3092\uff18\u679a\u64ae\u5f71\u3057\u305f\u3068\u3059\u308b\u3002<br \/>\n\u666e\u901a\u306b\u3084\u308b\u306a\u3089\u3001\u305d\u306e\uff18\u679a\u3092\u9806\u756a\u306batom\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u3001markdown\u306b\u3057\u3066\u3001\u6587\u7ae0\u3092\u633f\u5165\u3057\u3066\u3044\u304f\u308f\u3051\u3060\u304c\u2026<\/p>\n<p>\u305d\u308c\u306a\u3089\u3001<code>getSharexs 8 \"how-to-install-python3-on-windows10\" | clip<\/code>\u306a\u3069\u3068\u3059\u308c\u3070\u3044\u3044\u308f\u3051\u3002<\/p>\n<p>\u7c21\u5358\u3067\u3059\u306d\u3002<\/p>\n<p>\u753b\u50cf\u3063\u3066\u5b9f\u306f\u3081\u3063\u3061\u3083SEO\u306e\u8981\u306a\u306e\u3067\u3001\u305d\u306e\u753b\u50cf\u3092\u3069\u308c\u3060\u3051\u30b9\u30c8\u30ec\u30b9\u30d5\u30ea\u30fc\u306b\u51e6\u7406\u3067\u304d\u308b\u304b\u3063\u3066\u3001\u7d50\u69cb\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>\u86c7\u8db3\u3067\u3059\u304c\u3001sharex\u3063\u3066\u52d5\u753b\u30ad\u30e3\u30d7\u30c1\u30e3\u30fc\u3082\u3067\u304d\u308b\u3093\u3067\u3059\u3088\u306d\u3002\u5148\u65e5\u77e5\u3063\u305f\u306e\u3067\u3059\u304c\u3002\u753b\u8cea\u3082\u81ea\u7531\u81ea\u5728\u3060\u3057\u3002\u30db\u30c3\u30c8\u30ad\u30fc\u3042\u308b\u3057\u3002\u900f\u304b\u3057\u3082\u306a\u3044\u3057\u3002<br \/>\n50\u30c9\u30eb\u6255\u308f\u306a\u304f\u3066\u3088\u304b\u3063\u305f\u3002<\/p>\n<h2>\u8ffd\u8a18<\/h2>\n<p>\u534a\u5e74\u4ee5\u4e0a\u524d\u306b\u516c\u958b\u3057\u3066\u305f\u3064\u3082\u308a\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u516c\u958b\u3057\u307e\u3057\u305f\u3002\u73fe\u5728\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30bf\u30a4\u30c8\u30eb\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3067\u304d\u308b\u306e\u3068\u3001\u6700\u65b0n\u500b\u3092\u53d6\u5f97\u3059\u308b\u3068\u3044\u3046\u3088\u3046\u306b\u53d6\u5f97\u6570\u3092\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u307e\u3059\u3002<\/p>\n<pre><code>getSharexes(){\n\n  : getSharex [number headn] [string title]\n\n  ARG1=${1:-1}\n\n  find \"\/mnt\/c\/_sharex\/Screenshots\/\" -printf \"%T+ %p\\n\" |\\\n   sort -r |\\\n    sed -Ee \"s\/^.*(\\\/mnt.*\\.(jpg|png|gif|mp4))\/\\1\/g\" |\\\n     sed -Ee \"s\/^[0-9]{4}-[0-9]{1,2}-[0-9]{1,2}.*(\\\/|[0-9]{1,2})$\/\/g\" |\\\n      sed -r '\/^\\s*$\/d' |\\\n        head -n $ARG1 |\\\n          sed -Ee \"s\/.*$(date +\"%Y\")-$(date +\"%m\").(.*)\/https:\\\/\\\/yuis.xsrv.jp\\\/images\\\/ss\\\/\\1\/g\" |\\\n            tac |\\\n              if [ -z ${2+x} ]; then\n                sed -Ee \"s\/^(.*)$\/\\!\\[\\1\\]\\(\\1\\)\/g\"\n              else\n                sed -Ee \"s\/^(.*)$\/\\!\\[$2\\]\\(\\1\\)\/g\"\n              fi\n\n\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30d6\u30ed\u30b0\u306e\u5199\u771f\u8cbc\u308a\u4ed8\u3051\u3001\u753b\u50cf\u8cbc\u308a\u4ed8\u3051\u3001\u3064\u307e\u308a\u753b\u50cf\u306e\u6dfb\u4ed8\u3092\u3081\u3061\u3083\u304f\u3061\u3083\u697d\u306b\u3057\u305f\u3044\u3001\u52b9\u7387\u5316\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3001Wi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-kr","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/1267"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1267"}],"version-history":[{"count":4,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/1267\/revisions"}],"predecessor-version":[{"id":3053,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/1267\/revisions\/3053"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}