{"id":6178,"date":"2017-03-12T10:07:35","date_gmt":"2017-03-12T02:07:35","guid":{"rendered":"https:\/\/kyle.ai\/blog\/?p=6178"},"modified":"2017-03-12T10:07:35","modified_gmt":"2017-03-12T02:07:35","slug":"%e4%b8%ba%e4%bb%80%e4%b9%88%e6%96%87%e4%bb%b6%e5%90%8d%e8%a6%81%e5%b0%8f%e5%86%99%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/kyle.ai\/blog\/6178.html","title":{"rendered":"\u4e3a\u4ec0\u4e48\u6587\u4ef6\u540d\u8981\u5c0f\u5199\uff1f"},"content":{"rendered":"<h1>\u4e00\u3001\u53ef\u79fb\u690d\u6027<\/h1>\n<p>Linux \u7cfb\u7edf\u662f\u5927\u5c0f\u5199\u654f\u611f\u7684\uff0c\u800c Windows \u7cfb\u7edf\u548c Mac \u7cfb\u7edf\u6b63\u597d\u76f8\u53cd\uff0c\u5927\u5c0f\u5199\u4e0d\u654f\u611f\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u8fd9\u4e0d\u662f\u5927\u95ee\u9898\u3002<\/p>\n<p>\u4f46\u662f\uff0c\u5982\u679c\u4e24\u4e2a\u6587\u4ef6\u540d\u53ea\u6709\u5927\u5c0f\u5199\u4e0d\u540c\uff0c\u5176\u4ed6\u90fd\u76f8\u540c\uff0c\u8de8\u5e73\u53f0\u5c31\u4f1a\u51fa\u95ee\u9898\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfoobar\r\nFoobar\r\nFOOBAR\r\nfOObAr\r\n<\/pre>\n<p>\u4e0a\u9762\u56db\u4e2a\u6587\u4ef6\u540d\uff0cWindows \u7cfb\u7edf\u4f1a\u628a\u5b83\u4eec\u90fd\u5f53\u4f5cfoobar\u3002\u5982\u679c\u5b83\u4eec\u540c\u65f6\u5b58\u5728\uff0c\u4f60\u53ef\u80fd\u6ca1\u529e\u6cd5\u6253\u5f00\u540e\u9762\u4e09\u4e2a\u6587\u4ef6\u3002<\/p>\n<p>\u53e6\u4e00\u65b9\u9762\uff0c\u5728 Mac \u7cfb\u7edf\u4e0a\u5f00\u53d1\u65f6\uff0c\u6709\u65f6\u4f1a\u758f\u5ffd\uff0c\u5199\u9519\u5927\u5c0f\u5199\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\/\/ \u6b63\u786e\u6587\u4ef6\u540d\u662f MyModule.js\r\nconst module = require('.\/myModule');\r\n<\/pre>\n<p>\u4e0a\u9762\u7684\u4ee3\u7801\u5728 Mac \u4e0a\u9762\u53ef\u4ee5\u8fd0\u884c\uff0c\u56e0\u4e3a Mac \u8ba4\u4e3aMyModule.js\u548cmyModule.js\u662f\u540c\u4e00\u4e2a\u6587\u4ef6\u3002\u4f46\u662f\uff0c\u4e00\u65e6\u4ee3\u7801\u5230\u670d\u52a1\u5668\u8fd0\u884c\u5c31\u4f1a\u62a5\u9519\uff0c\u56e0\u4e3a Linux \u7cfb\u7edf\u627e\u4e0d\u5230myModule.js\u3002<\/p>\n<p>\u5982\u679c\u6240\u6709\u7684\u6587\u4ef6\u540d\u90fd\u91c7\u7528\u5c0f\u5199\uff0c\u5c31\u4e0d\u4f1a\u51fa\u73b0\u4e0a\u9762\u7684\u95ee\u9898\uff0c\u53ef\u4ee5\u4fdd\u8bc1\u9879\u76ee\u6709\u826f\u597d\u7684\u53ef\u79fb\u690d\u6027\u3002<\/p>\n<h1>\u4e8c\u3001\u6613\u8bfb\u6027<\/h1>\n<p>\u5c0f\u5199\u6587\u4ef6\u540d\u901a\u5e38\u6bd4\u5927\u5199\u6587\u4ef6\u540d\u66f4\u6613\u8bfb\uff0c\u6bd4\u5982accessibility.txt\u5c31\u6bd4ACCESSIBILITY.TXT\u6613\u8bfb\u3002<\/p>\n<p>\u6709\u4eba\u4e60\u60ef\u4f7f\u7528\u9a7c\u5cf0\u547d\u540d\u6cd5\uff0c\u5355\u8bcd\u7684\u7b2c\u4e00\u4e2a\u5b57\u6bcd\u5927\u5199\uff0c\u5176\u4ed6\u5b57\u6bcd\u5c0f\u5199\u3002\u8fd9\u79cd\u65b9\u6cd5\u7684\u95ee\u9898\u662f\uff0c\u5982\u679c\u9047\u5230\u5168\u90e8\u662f\u5927\u5199\u7684\u7f29\u7565\u8bcd\uff0c\u5c31\u4f1a\u4e0d\u9002\u7528\u3002<\/p>\n<p>\u6bd4\u5982\uff0c\u4e00\u4e2a\u59d3\u674e\u7684\u7ebd\u7ea6\u7279\u8b66\uff0c\u65e0\u8bba\u5199\u6210NYPoliceSWATLee\u8fd8\u662fNyPoliceSwatlee\uff0c\u90fd\u602a\u602a\u7684\uff0c\u8fd8\u662f\u5199\u6210ny-police-swat-lee\u6bd4\u8f83\u5bb9\u6613\u63a5\u53d7\u3002<\/p>\n<h1>\u4e09\u3001\u6613\u7528\u6027<\/h1>\n<p>\u67d0\u4e9b\u7cfb\u7edf\u4f1a\u751f\u6210\u4e00\u4e9b\u9884\u7f6e\u7684\u7528\u6237\u76ee\u5f55\uff0c\u91c7\u7528\u9996\u5b57\u6bcd\u5927\u5199\u7684\u76ee\u5f55\u540d\u3002\u6bd4\u5982\uff0cUbuntu \u5728\u7528\u6237\u4e3b\u76ee\u5f55\u4f1a\u9ed8\u8ba4\u751f\u6210Downloads\u3001 Pictures\u3001Documents\u7b49\u76ee\u5f55\u3002<\/p>\n<p>Mac \u7cfb\u7edf\u66f4\u8fc7\u5206\uff0c\u4e00\u90e8\u5206\u7cfb\u7edf\u76ee\u5f55\u4e5f\u662f\u5927\u5199\u7684\uff0c\u6bd4\u5982\/Library\/Audio\/Apple Loops\/\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u67d0\u4e9b\u5e38\u89c1\u7684\u914d\u7f6e\u6587\u4ef6\u6216\u8bf4\u660e\u6587\u4ef6\uff0c\u4e5f\u91c7\u7528\u5927\u5199\u7684\u6587\u4ef6\u540d\uff0c\u6bd4\u5982Makefile\u3001INSTALL\u3001CHANGELOG\u3001.Xclients\u548c.Xauthority\u7b49\u7b49\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u7528\u6237\u7684\u6587\u4ef6\u90fd\u91c7\u7528\u5c0f\u5199\u6587\u4ef6\u540d\uff0c\u5c31\u5f88\u65b9\u4fbf\u4e0e\u4e0a\u9762\u8fd9\u4e9b\u76ee\u5f55\u6216\u6587\u4ef6\u76f8\u533a\u5206\u3002<\/p>\n<p>\u5982\u679c\u4f60\u6253\u7834\u7802\u9505\u95ee\u5230\u5e95\uff0c\u4e3a\u4ec0\u4e48\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u91c7\u7528\u8fd9\u6837\u7684\u5927\u5199\u6587\u4ef6\u540d\uff1f\u539f\u56e0\u4e5f\u5f88\u7b80\u5355\uff0c\u56e0\u4e3a\u65e9\u671f Unix \u7cfb\u7edf\u4e0a\uff0cls\u547d\u4ee4\u5148\u5217\u51fa\u5927\u5199\u5b57\u6bcd\uff0c\u518d\u5217\u51fa\u5c0f\u5199\u5b57\u6bcd\uff0c\u5927\u5199\u7684\u8def\u5f84\u4f1a\u6392\u5728\u524d\u9762\u3002\u56e0\u6b64\uff0c\u5982\u679c\u76ee\u5f55\u540d\u6216\u6587\u4ef6\u540d\u662f\u5927\u5199\u7684\uff0c\u5c31\u6bd4\u8f83\u5bb9\u6613\u88ab\u7528\u6237\u9996\u5148\u770b\u5230\u3002<\/p>\n<h1>\u56db\u3001\u4fbf\u6377\u6027<\/h1>\n<p>\u6587\u4ef6\u540d\u5168\u90e8\u5c0f\u5199\uff0c\u8fd8\u6709\u5229\u4e8e\u547d\u4ee4\u884c\u64cd\u4f5c\u3002\u6bd4\u5982\uff0c\u67d0\u4e9b\u547d\u4ee4\u53ef\u4ee5\u4e0d\u4f7f\u7528-i\u53c2\u6570\u4e86\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# \u5927\u5c0f\u5199\u654f\u611f\u7684\u641c\u7d22\r\n$ find . -name abc\r\n$ locate &quot;*.htmL&quot;\r\n\r\n# \u5927\u5c0f\u5199\u4e0d\u654f\u611f\u7684\u641c\u7d22\r\n$ find . -iname abc\r\n$ locate -i &quot;*.HtmL&quot;\r\n<\/pre>\n<p>\u53e6\u5916\uff0c\u5927\u5199\u5b57\u6bcd\u9700\u8981\u6309\u4e0b Shift \u952e\uff0c\u591a\u591a\u5c11\u5c11\u6709\u4e9b\u9ebb\u70e6\u3002\u5982\u679c\u6587\u4ef6\u540d\u5c0f\u5199\uff0c\u5c31\u4e0d\u7528\u78b0\u8fd9\u4e2a\u952e\u4e86\uff0c\u4e0d\u4ec5\u7701\u4e8b\uff0c\u8fd8\u53ef\u4ee5\u63d0\u9ad8\u6253\u5b57\u901f\u5ea6\u3002<\/p>\n<p>\u7a0b\u5e8f\u5458\u957f\u65f6\u95f4\u4f7f\u7528\u952e\u76d8\uff0c\u6bcf\u5206\u949f\u5c11\u6309\u51e0\u6b21 Shift\uff0c\u4e00\u5929\u4e0b\u6765\u5c31\u53ef\u4ee5\u7701\u6389\u5f88\u591a\u624b\u6307\u52a8\u4f5c\u3002\u957f\u5e74\u7d2f\u6708\uff0c\u4e5f\u662f\u5bf9\u81ea\u5df1\u8eab\u4f53\u7684\u4e00\u79cd\u4fdd\u62a4\u3002<\/p>\n<p>\u7efc\u4e0a\u6240\u8ff0\uff0c\u6587\u4ef6\u540d\u5168\u90e8\u4f7f\u7528\u5c0f\u5199\u5b57\u6bcd\u548c\u8fde\u8bcd\u7ebf\uff08all-lowercase-with-dashes\uff09\uff0c\u662f\u4e00\u79cd\u503c\u5f97\u63a8\u5e7f\u7684\u6b63\u786e\u505a\u6cd5\u3002<\/p>\n<p>\u539f\u6587\uff1ahttp:\/\/www.ruanyifeng.com\/blog\/2017\/02\/filename-should-be-lowercase.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u53ef\u79fb\u690d\u6027 Linux \u7cfb\u7edf\u662f\u5927\u5c0f\u5199\u654f\u611f\u7684\uff0c\u800c Windows \u7cfb\u7edf\u548c Mac \u7cfb\u7edf\u6b63\u597d\u76f8\u53cd\uff0c\u5927\u5c0f\u5199\u4e0d\u654f\u611f\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-6178","post","type-post","status-publish","format-standard","hentry","category-skill"],"_links":{"self":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/6178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/comments?post=6178"}],"version-history":[{"count":1,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/6178\/revisions"}],"predecessor-version":[{"id":6179,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/6178\/revisions\/6179"}],"wp:attachment":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/media?parent=6178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/categories?post=6178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/tags?post=6178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}