{"id":82,"date":"2015-10-26T21:48:19","date_gmt":"2015-10-26T13:48:19","guid":{"rendered":"http:\/\/dishudishu.com\/?p=82"},"modified":"2015-10-27T15:32:41","modified_gmt":"2015-10-27T07:32:41","slug":"linux-github-notes-habit","status":"publish","type":"post","link":"http:\/\/dishudishu.com\/?p=82","title":{"rendered":"linux + github + notes + habit"},"content":{"rendered":"<p>\u5927\u5bb6\u53ef\u4ee5\u770b\u5230\u6211\u4e0a\u4e00\u7bc7\u6587\u7ae0\u52a0\u4e86\u5bc6\u7801\uff0c\u4e8b\u60c5\u662f\u8fd9\u6837\u7684\uff0c\u542c\u6211\u89e3\u91ca\u3002\u8fd9\u662f\u6211\u4eec\u8bfe\u5185\u7684\u4f5c\u4e1a\uff0c\u8d34\u4e0a\u6765\u7684\u4e1c\u897f\u5206\u5206\u949f\u5c31\u662f\u6211\u81ea\u5df1\u7684\u5b9e\u9a8c\u62a5\u544a\uff0c\u5e76\u4e14deadline\u8fd8\u8fdc\u7740\u3002\u7136\u540e\u6211\u662f\u5f88\u76f8\u4fe1\u6211\u540c\u5b66\u7684\u201c\u6b63\u786e\u4f7f\u7528\u641c\u7d22\u5f15\u64ce\u201d\u7684\u80fd\u529b\u7684\uff0c\u5e76\u4e14\u6211\u4e4b\u524d\u88c5\u4e86\u4e00\u4e2a\u63d2\u4ef6\u53ef\u4ee5\u5e2e\u52a9google\u641c\u7d22\u6293\u53d6\u6211\u7684\u9875\u9762\u4f7f\u4e4b\u66f4\u6613\u88ab\u68c0\u7d22\u5230\uff0c\u6240\u4ee5\uff0c\u8fd9\u53ea\u662f\u4e3a\u4e86\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u60b2\u5267\u53d1\u751f\uff0c\u7b49\u5230deadline\u8fc7\u53bb\u4ee5\u540e\u81ea\u7136\u4f1a\u89e3\u653e\u6743\u9650\u3002\u5bc6\u7801\u662f\uff0c\u6211\u7684\u9ad8\u4e2d\u6821\u540d\u7684\u62fc\u97f3\u3002\u5982\u679c\u4e0d\u77e5\u9053\u662f\u4f17\u591a\u6821\u540d\u79f0\u547c\u7684\u54ea\u4e00\u4e2a\uff0c\u591a\u8bd5\u51e0\u6b21\u5c31\u597d\u4e86\uff0c\u6bd5\u7adf\u6211\u53ea\u8bfb\u8fc7\u4e00\u4e2a\u9ad8\u4e2d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5b5f\u7965\u6b66\u5b5f\u7237\u7237\u8001\u662f\u8bf4\uff1a\u201c\u4f60\u4eec\u4e0d\u80fd\u53ea\u7528\u4e00\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u554a\uff0c\u9664\u4e86windows\uff0c\u8fd8\u5e94\u8be5\u591a\u8bd5\u8bd5\u522b\u7684\u3002\u5982\u679c\u53ea\u7528\u4e00\u4e2a\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4f60\u5c31\u4f1a\u89c9\u5f97windows\u5c31\u662f\u64cd\u4f5c\u7cfb\u7edf\uff0c\u64cd\u4f5c\u7cfb\u7edf\u5c31\u662fwindows\u2014\u2014\u8fd9\u662f\u4e0d\u5bf9\u7684\u3002\u201d<\/p>\n<p>\u7c7b\u4f3c\u7684\uff0c\u5b5f\u7237\u7237\u8fd8\u6709\u201c\u4e0d\u80fd\u53ea\u5b66\u4e00\u95e8\u8bed\u8a00\u554a\u201d\uff0c\u201c\u4e0d\u80fd\u53ea\u7528\u4e00\u79cd\u6d4f\u89c8\u5668\u554a\u201d\u7684\u8c06\u8c06\u6559\u5bfc\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4e8e\u662f\u4e0b\u5b9a\u51b3\u5fc3\u5728\u81ea\u5df1\u7535\u8111\u4e0a\u88c5\u4e86\u4e2a\u865a\u62df\u673a\uff0c\u5148\u88c5\u4e86ubuntu kylin 15.04\uff0c\u4f46\u662f\u89c9\u5f97\u4e0d\u6d41\u7545\uff0c\u7f51\u4e0a\u8bc4\u4ef7\u4e5f\u5f88\u4e00\u822c\uff0c\u4e8e\u662f\u8f6cubuntu kylin 14.04\uff0c\u4f7f\u7528\u81f3\u4eca\u611f\u89c9\u4e0d\u9519\u3002\u4e4b\u6240\u4ee5\u4e0d\u7528\u539f\u7248ubuntu\uff0c\u662f\u56e0\u4e3a\u9e92\u9e9f\u7248\u672c\u5bf9\u4e8e\u4e2d\u6587\u66f4\u52a0\u53cb\u597d\uff0c\u5e76\u4e14\u8ddf\u539f\u7248\u4e5f\u6ca1\u4ec0\u4e48\u5dee\u522b\u3002\u7f51\u4e0a\u6709\u4eba\u5728\u6495\u9e92\u9e9f\u662f\u4e0d\u662f\u56fd\u4ea7\u7684\uff0c\u5176\u5b9e\u660e\u663e\u5b83\u5e76\u4e0d\u662f\u56fd\u4ea7\uff0c\u8bf4\u662f\u8054\u5408\u5f00\u53d1\uff0c\u5b9e\u9645\u4e0akylin\u53ea\u662fubuntu\u4e00\u4e2a\u5b50\u5206\u652f\uff0c\u7528\u8d77\u6765\u4e0d\u7528\u5fc3\u5b58\u82a5\u8482\u3002<\/p>\n<p>\u987a\u624b\u8d34\u4e2a\u5f88\u8457\u540d\u7684\u5f88\u6d17\u8111\u7684\u6587\u7ae0\uff0c<a href=\"http:\/\/www.cnblogs.com\/skyseraph\/archive\/2010\/10\/30\/1865280.html\">\u300a\u5b8c\u5168\u7528Linux\u5de5\u4f5c\u300b<\/a>\u3002\u4e66\u67b6\u4e0a\u8fd8\u6709\u4e00\u672c\u300a\u9e1f\u54e5\u79c1\u623f\u83dc\u300b\u55f7\u55f7\u5f85\u64cd\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u8f6c\u578b\u7684\u8fc7\u7a0b\u603b\u4f53\u8fd8\u7b97\u987a\u5229\uff0c\u88c5codeblocks\u5199c++\uff0c\u7136\u540eg++\u548cgcc\u7cfb\u7edf\u662f\u6ca1\u6709\u81ea\u5e26\u7684\uff0c\u6240\u4ee5\u987a\u624b\u88c5\u4e86\u597d\u591a\u4e1c\u897f\u3002\u6362\u8bed\u8a00\u7684\u65f6\u5019\u51fa\u4e86\u95ee\u9898\uff0c\u51fa\u4e86\u4e00\u4e2a\u201c\u6e90\u5f15\u7528\u201d\u9519\u8bef\uff08\u63d0\u793a\u4fe1\u606f\uff1a &#8220;ubuntu kylin It is impossible to install or remove any software&#8221;\uff09\uff0c\u9700\u8981\u6253\u5f00\u67d0\u4e2a\u5c5e\u6027\u680f\u7136\u540e\u52fe\u9009\u6216\u8005\u662f\u5220\u9664\u67d0\u4e2a\u9009\u9879\u624d\u884c\uff0c\u5177\u4f53\u7684\u8bb0\u4e0d\u6e05\u4e86\uff08\u7ffb\u4e86\u4e00\u4e0b\u5386\u53f2\u8bb0\u5f55\u6ca1\u627e\u5230\uff09\uff0c\u4f3c\u4e4e\u6ca1\u4ec0\u4e48\u9047\u5230\u8ddf\u6211\u4e00\u6837\u7684\u60c5\u51b5\uff1b\u518d\u5c31\u662f\u9009\u62e9\u7b80\u4f53\u4e2d\u6587\u7684\u65f6\u5019\uff0c\u5982\u4e0b\u56fe<\/p>\n<p><a href=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026204344.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-83\" src=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026204344.png\" alt=\"QQ\u56fe\u724720151026204344\" width=\"745\" height=\"571\" srcset=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026204344.png 745w, http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026204344-300x230.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\" \/><\/a><\/p>\n<p>\u4e00\u5f00\u59cb\u90a3\u4e2a\u201c\u6c49\u8bed\uff08\u4e2d\u56fd\uff09\u201d\u7684\u9009\u9879\u662f\u5728\u4e0b\u9762\uff0c\u800c\u4e14\u662f\u6d45\u8272\u7684\uff0c\u5e38\u8bc6\u544a\u8bc9\u6211\u5b83\u4ecd\u4e0d\u80fd\u9009\u3002google\u4e86\u4ee5\u540e\u53d1\u73b0\u6b63\u786e\u7684\u6253\u5f00\u65b9\u5f0f\u662f\uff1a\u70b9\u4f4f\u4ed6\u3001\u62d6\u52a8\u5230\u8bed\u8a00\u680f\u7684\u6700\u4e0a\u65b9\u3002\u592a\u9b54\u6027\uff0c\u522b\u4eba\u4e0d\u8ddf\u6211\u8bf4\u7684\u8bdd\u771f\u662f\u4e00\u8f88\u5b50\u90fd\u627e\u4e0d\u51fa\u6765\u6bdb\u75c5\u3002<\/p>\n<p>eclipse\u81f3\u4eca\u6ca1\u6709\u5efa\u8d77\u6765\uff0c\u539f\u56e0\u662f\u6211\u641c\u7684\u90a3\u4e2a\u529e\u6cd5\u6709\u4e00\u6b65\u662f\u5728shell\u5185\u4f7f\u7528vim\u4fee\u6539\u4e00\u4e2a\u6e90\u6587\u4ef6\uff0c\u5f53\u573a\u6211\u5c31\u840c\u6bd4\u4e86\u3002\u8fd8\u6709github\u7406\u8bba\u4e0a\u662f\u53ef\u4ee5\u76f4\u63a5\u7528shell\u53bbpush\u548cpull\u7684\u7136\u800c\u4e5f\u8fd8\u6ca1\u5b66\u4f1a\uff08\u56e0\u4e3a\u6682\u65f6\u8fd8\u4e0d\u77e5\u9053\u600e\u4e48\u7528shell\u5f80git\u76f4\u63a5\u63d0\u4ea4\uff0c\u6240\u4ee5\u6211\u662f\u5f00\u4e86github\u7684\u7f51\u9875\u7136\u540e\u76f4\u63a5\u7c98\u4e0a\u53bb\u7684\uff09\u3002shell\u547d\u4ee4\u4e5f\u57fa\u672c\u4e0d\u61c2\uff0c\u800c\u8fd9\u624d\u662flinux\u7684\u7cbe\u9ad3\u3002\u4ee5\u4e0a\uff0c\u5217\u5165TODOLIST\u4e86\u3002<\/p>\n<p>linux\u90e8\u5206\u5927\u6982\u5c31\u8fd9\u4e9b\uff0c\u4f7f\u7528\u4e86\u534a\u4e2a\u6708\uff0c\u7528\u6237\u4f53\u9a8c\u975e\u5e38\u597d\u3002\u56e0\u4e3a\u91cc\u9762\u6ca1\u6709qq\u6ca1\u6709qq\u97f3\u4e50\u4e5f\u6ca1\u6709\u5168\u5bb6\u6876\u4eec\u6ca1\u6709\u5f39\u7a97\u4eec\uff0c\u6ca1\u6709\u4efb\u4f55\u53ef\u4ee5\u6253\u6270\u6211\u7684\u4e1c\u897f\uff0c\u505a\u4e8b\u6548\u7387\u9ad8\u4e00\u70b9\uff0c\u5e76\u4e14\u662f\u4e0d\u662f\u80fd\u9a97\u53d6\u8def\u4eba\u4eec\u7684\u4ef0\u6155\uff0c\u65e0\u5f62\u88c5\u903c\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4e4b\u524d\u5728windows\u4e0a\u914d\u597d\u4e86github\u6ca1\u7528\u8fc7\uff0c\u8fd9\u6b21\u5728linux\u4e0a\u4e5f\u914d\u4e86\u4e00\u4e0b\uff08\u4f46\u662f\u8fd8\u4e0d\u61c2\u600e\u4e48push\u548cpull\uff09\uff0c\u7136\u540e\u5199\u4f5c\u4e1a\u7684\u65f6\u5019\u5c31\u771f\u6b63\u7528github\u505a\u7248\u672c\u7ba1\u7406\u4e86\u3002\u653e\u51e0\u5f20\u6548\u679c\u56fe<\/p>\n<p><a href=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205638.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-84\" src=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205638.png\" alt=\"QQ\u56fe\u724720151026205638\" width=\"1016\" height=\"687\" srcset=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205638.png 1016w, http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205638-300x203.png 300w\" sizes=\"(max-width: 1016px) 100vw, 1016px\" \/><\/a><\/p>\n<p>github\u7684\u754c\u9762\u7b80\u6d01\u660e\u4e86<\/p>\n<p><a href=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205529.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-85\" src=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205529.png\" alt=\"QQ\u56fe\u724720151026205529\" width=\"1027\" height=\"495\" srcset=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205529.png 1027w, http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205529-300x145.png 300w, http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205529-1024x494.png 1024w\" sizes=\"(max-width: 1027px) 100vw, 1027px\" \/><\/a><\/p>\n<p>\u4e0a\u56fe\u4e3a\u5404\u4e2a\u7248\u672c<\/p>\n<p><a href=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205744.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-86\" src=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205744.png\" alt=\"QQ\u56fe\u724720151026205744\" width=\"945\" height=\"752\" srcset=\"http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205744.png 945w, http:\/\/dishudishu.com\/wp-content\/uploads\/2015\/10\/QQ\u56fe\u724720151026205744-300x239.png 300w\" sizes=\"(max-width: 945px) 100vw, 945px\" \/><\/a><\/p>\n<p>\u7248\u672c\u7ba1\u7406\u975e\u5e38\u65b9\u4fbf\uff0c\u70b9\u5f00\u4ee5\u540e\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u7248\u672c\u4e0e\u4e0a\u4e00\u7248\u672c\u76f8\u6bd4\u505a\u4e86\u4ec0\u4e48\u4fee\u6539\uff0c\u7ea2\u8272\u884c\u4e3a\u539f\u6765\u7684\u5199\u6cd5\uff0c\u5176\u4e2d\u6df1\u7ea2\u8272\uff08\u6b64\u56fe\u6ca1\u6709\uff09\u662f\u5177\u4f53\u7684\u4fee\u6539\u6216\u5220\u9664\u7684\u5730\u65b9\uff1b\u7eff\u8272\u884c\u4e3a\u8be5\u7248\u672c\u7684\u4fee\u6539\uff0c\u6df1\u7eff\u8272\u6807\u660e\u4e86\u4fee\u6539\u6216\u6dfb\u52a0\u7684\u5730\u65b9\u3002\u6ca1\u6709\u6539\u52a8\u7684\u4ee3\u7801\u6bb5\u81ea\u52a8\u6298\u53e0\u3002\u6700\u5de6\u6709\u65b0\u65e7\u4e24\u7248\u672c\u7684\u884c\u53f7\u5bf9\u7167\u3002\u652f\u6301\u591a\u4eba\u7ba1\u7406\u540c\u4e00\u6587\u6863\uff0c\u6bcf\u4e00\u4e2a\u6539\u52a8\u90fd\u4f1a\u6807\u660e\u4fee\u6539\u8005id\u3001\u4fee\u6539\u5185\u5bb9\u7684\u9898\u76ee\u3001\u4fee\u6539\u5185\u5bb9\u7684\u7b80\u8981\u8bf4\u660e\u7b49\u5173\u952e\u4fe1\u606f\u3002<\/p>\n<p>\u5b9e\u5728\u5f88\u5f3a\u5927\uff0c\u96be\u602a\u7530\u961f\u5e74\u521d\u7684\u65f6\u5019\u51b3\u5fc3\u5728ACM\u6821\u961f\u5185\u666e\u53cagit\u7684\u7528\u6cd5\u3002\u4eca\u5e74\u5317\u90ae\u7684\u6821\u8d5b\u7684\u51fa\u9898\u9a8c\u9898\u5de5\u4f5c\u5c31\u90fd\u662f\u5728git\u4e0a\u5b8c\u6210\u7684\u3002<\/p>\n<p>\u603b\u4e4b\uff0cgithub\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u6700\u540e\u505a\u4e00\u70b9\u4e2a\u4eba\u7684\u8bfb\u4e66\u7b14\u8bb0\u3002<\/p>\n<p>\u5173\u4e8e\u5982\u4f55\u5199\u6ce8\u91ca\u3002<\/p>\n<p>1.\u4e0d\u8981\u4e3a\u90a3\u4e9b\u4ece\u4ee3\u7801\u672c\u8eab\u5c31\u80fd\u5feb\u901f\u63a8\u65ad\u7684\u4e8b\u5b9e\u5199\u6ce8\u91ca\u3002eg:\u6784\u9020\u51fd\u6570\u5c31\u4e0d\u7528\u518d\u5199 \/\/constructor\u4e86<\/p>\n<p>2.\u4e0d\u8981\u7ed9\u4e0d\u597d\u7684\u540d\u5b57\u52a0\u6ce8\u91ca\uff0c\u5373\u6ce8\u91ca\u4e0d\u5e94\u7528\u4e8e\u7c89\u9970\u4e0d\u597d\u7684\u540d\u5b57\u3002\u4e00\u4e2a\u597d\u7684\u540d\u5b57\u6bd4\u4e00\u4e2a\u597d\u7684\u6ce8\u91ca\u66f4\u91cd\u8981\uff0c\u56e0\u4e3a\u5728\u4efb\u4f55\u7528\u5230\u8fd9\u4e2a\u51fd\u6570\u7684\u5730\u65b9\u90fd\u80fd\u770b\u89c1\u5b83\u3002\u597d\u4ee3\u7801 &gt; \u574f\u4ee3\u7801 + \u597d\u6ce8\u91ca\u3002<\/p>\n<p>3.\u4e0d\u8981\u5199\u5e9f\u8bdd\u3002\u5982\u679c\u4e00\u5b9a\u8981\u89e3\u91ca\u4e00\u4e2a\u51fd\u6570\uff0c\u8bf7\u5c1d\u8bd5\u7ed9\u51fa\u5b83\u7684\u903b\u8f91\u7ec6\u8282\u3002<\/p>\n<p>4.\u8bb0\u5f55\u4f60\u7684\u601d\u60f3\uff0c\u514b\u670d\u201c\u4f5c\u8005\u5fc3\u7406\u963b\u503c\u201d\u3002\u4f8b\u5982\uff0c\u5047\u5982\u4f60\u6b63\u5728\u5199\u4e00\u4e2a\u51fd\u6570\uff0c\u7136\u540e\u5fc3\u60f3\uff1a\u201c\u54e6\uff0c\u5929\u554a\uff0c\u5982\u679c\u4e00\u65e6\u8fd9\u4e1c\u897f\u5728\u5217\u8868\u4e2d\u6709\u91cd\u590d\u7684\u8bdd\u4f1a\u53d8\u5f97\u5f88\u96be\u5904\u7406\u7684\u201d\uff0c\u4e0d\u5982\u628a\u5b83\u5199\u4e0b\u6765\uff1a<\/p>\n<pre class=\"lang:c decode:true\">\/\/\u54e6\uff0c\u5929\u554a\uff0c\u5982\u679c\u4e00\u65e6\u8fd9\u4e1c\u897f\u5728\u5217\u8868\u4e2d\u6709\u91cd\u590d\u7684\u8bdd\u4f1a\u53d8\u5f97\u5f88\u96be\u5904\u7406\u7684<\/pre>\n<p>It does help. \u5e76\u4e14\u6700\u540ereview\u7684\u65f6\u5019\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u6539\u4e00\u4e0b\u8fd9\u53e5\u8bdd\uff0c\u628a\u5177\u4f53\u95ee\u9898\u89e3\u91ca\u5f97\u66f4\u6e05\u695a\u4e00\u70b9\u3002<\/p>\n<p>5.\u5728\u4ee3\u7801\u4e2d\u52a0\u5165\u6ce8\u91ca\u8bb0\u5f55\u4f60\u5bf9\u4ee3\u7801\u6709\u4ef7\u503c\u7684\u89c1\u89e3\u3002\u4f8b\u5982\uff0c<\/p>\n<pre class=\"lang:c decode:true\">\/\/\u51fa\u4e4e\u610f\u6599\u7684\u662f\uff0c\u5bf9\u4e8e\u8fd9\u4e9b\u6570\u636e\u7528\u4e8c\u53c9\u6811\u6bd4\u54c8\u5e0c\u8868\u5feb40%\r\n\r\n\/\/\u4f5c\u4e3a\u6574\u4f53\u53ef\u80fd\u4f1a\u4e22\u6389\u51e0\u4e2a\u8bcd\u3002\u4f46\u8fd9\u4e0d\u662f\u95ee\u9898\uff0c\u5b9e\u9645\u4e0a\u8981100%\u89e3\u51b3\u592a\u96be\u4e86\r\n\r\n...<\/pre>\n<p>6.\u4e3a\u4ee3\u7801\u4e2d\u7684\u7455\u75b5\u5199\u6ce8\u91ca\u3002<\/p>\n<pre class=\"lang:c decode:true \">\/\/TODO: \u91c7\u7528\u66f4\u5feb\u7684\u7b97\u6cd5\r\n\r\n\/\/TODO\uff1a\u5904\u7406\u9664JPEG\u4ee5\u5916\u7684\u56fe\u50cf\u683c\u5f0f\r\n\r\n...<\/pre>\n<p>\u5c1d\u8bd5\u4f7f\u7528\u6807\u8bb0\u3002\u4e66\u91cc\u7ed9\u51fa\u4e00\u79cd\u6d41\u884c\u7684\u5199\u6cd5\u3002\u201cTODO\u201d\uff1a\u6211\u8fd8\u6ca1\u6709\u5904\u7406\u7684\u4e8b\u60c5\u3002\u201cFIXME\u201d\uff1a\u5df2\u77e5\u7684\u65e0\u6cd5\u8fd0\u884c\u7684\u4ee3\u7801\u3002\u201cHACK\u201d\uff1a\u5bf9\u4e8e\u4e00\u4e2a\u95ee\u9898\u4e0d\u5f97\u4e0d\u91c7\u7528\u7684\u6bd4\u8f83\u7c97\u7cd9\u7684\u89e3\u51b3\u65b9\u6848\u3002\u201cXXX\u201d\uff1a\u5371\u9669\uff01\u8fd9\u91cc\u6709\u91cd\u8981\u7684\u95ee\u9898\u3002<\/p>\n<p>7.\u5f53\u5b9a\u4e49\u5e38\u91cf\u65f6\uff0c\u901a\u5e38\u80cc\u540e\u6709\u4e00\u4e2a\u5173\u4e8e\u5b83\u662f\u4ec0\u4e48\u6216\u8005\u4e3a\u4ec0\u4e48\u5b83\u662f\u8fd9\u4e2a\u503c\u7684\u201c\u6545\u4e8b\u201d\u3002<\/p>\n<pre class=\"lang:c decode:true\">NUM_THREADS = 8 # as long as it's &gt;= 2 * num_processors, that's good enough\r\n\r\nimage_quality = 0.72; \/\/ users thought 0.72 gave the best size\/quality tradeoff\r\n\r\n...<\/pre>\n<p>\u8fd9\u53ef\u4ee5\u8ba9\u8bfb\u4ee3\u7801\u7684\u4eba\u6709\u4e86\u8c03\u6574\u8fd9\u4e2a\u503c\u7684\u6307\u5357\u3002\u7ecf\u9a8c\u544a\u8bc9\u6211\u4eec\uff0c\u5f88\u591a\u5e38\u91cf\u53ef\u4ee5\u901a\u8fc7\u52a0\u6ce8\u91ca\u5f97\u5230\u6539\u8fdb\uff0c\u800c\u8fd9\u53ea\u4e0d\u8fc7\u662f\u5306\u5306\u8bb0\u4e0b\u4f60\u5728\u51b3\u5b9a\u8fd9\u4e2a\u5e38\u91cf\u503c\u65f6\u7684\u60f3\u6cd5\u800c\u5df2\u3002<\/p>\n<p>8.\u53ef\u80fd\u9700\u8981\u4e00\u4e9b\u9ad8\u7ea7\u522b\u7684\u6ce8\u91ca\uff0c\u6bd4\u5982\u6587\u4ef6\u7ea7\u522b\u7684\uff1a<\/p>\n<pre class=\"lang:c decode:true \">\/\/\u8fd9\u4e2a\u6587\u4ef6\u5305\u542b\u4e86\u4e00\u4e9b\u8f85\u52a9\u51fd\u6570\uff0c\u4e3a\u6211\u4eec\u7684\u6587\u4ef6\u7cfb\u7edf\u63d0\u4f9b\u4e86\u66f4\u4fbf\u5229\u7684\u63a5\u53e3\r\n\/\/\u5b83\u5904\u7406\u4e86\u6587\u4ef6\u6743\u9650\u53ca\u5176\u4ed6\u57fa\u672c\u7684\u7ec6\u8282<\/pre>\n<p>\u2014\u2014\u4ee5\u4e0a\u6458\u81eaDB &amp; TF \u7684&lt;The Art of Readable Code&gt;<\/p>\n<p>&nbsp;<\/p>\n<p>45\u4e2a\u4e60\u60ef\u3002<\/p>\n<p>7.\u61c2\u5f97\u4e22\u5f03\u3002\u654f\u6377\u7684\u6839\u672c\u4e4b\u4e00\u5c31\u662f\u62e5\u62b1\u53d8\u5316\u3002\u5728\u5b66\u4e60\u4e00\u95e8\u65b0\u6280\u672f\u7684\u65f6\u5019\uff0c\u591a\u95ee\u95ee\u81ea\u5df1\uff0c\u662f\u5426\u628a\u592a\u591a\u65e7\u7684\u6001\u5ea6\u548c\u65b9\u6cd5\u7528\u5728\u4e86\u65b0\u6280\u672f\u4e0a\u3002\u4f8b\u5982\uff0c\u5b66\u4e60\u4e00\u95e8\u65b0\u7684\u7f16\u7a0b\u8bed\u8a00\u65f6\uff0c\u5e94\u8be5\u4f7f\u7528\u63a8\u8350\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u800c\u4e0d\u662f\u4f60\u8fc7\u53bb\u5f00\u53d1\u65f6\u7528\u7684\u5de5\u5177\u63d2\u4ef6\u3002\u8f6c\u6362\u7684\u65f6\u5019\uff0c\u5b8c\u5168\u4e0d\u8981\u4f7f\u7528\u8fc7\u53bb\u7684\u8bed\u8a00\u5f00\u53d1\u5de5\u5177\u3002\u53ea\u6709\u66f4\u5c11\u88ab\u65e7\u4e60\u60ef\u7275\u7eca\uff0c\u624d\u66f4\u5bb9\u6613\u517b\u6210\u65b0\u4e60\u60ef\u3002\u5bf9\u65e7\u4e60\u60ef\u4e0d\u662f\u5b8c\u5168\u6452\u5f03\uff0c\u5982\u679c\u73af\u5883\u5408\u9002\uff0c\u53ef\u4ee5\u4e3e\u4e00\u53cd\u4e09\u5730\u7075\u6d3b\u5e94\u7528\u3002<\/p>\n<p>9.\u628a\u6211\u5f00\u53d1\u8282\u594f\u3002\u4ee5\u56fa\u5b9a\u3001\u6709\u89c4\u5f8b\u7684\u957f\u5ea6\u8fd0\u884c\u8fed\u4ee3\u3002<\/p>\n<p>14.\u63d0\u65e9\u96c6\u6210\uff0c\u9891\u7e41\u96c6\u6210\u3002\u5728\u4ea7\u54c1\u7684\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u96c6\u6210\u662f\u4e00\u4e2a\u4e3b\u8981\u7684\u98ce\u9669\u533a\u57df\u3002\u8ba9\u4f60\u7684\u5b50\u7cfb\u7edf\u4e0d\u505c\u5730\u589e\u957f\uff0c\u4e0d\u53bb\u505a\u7cfb\u7edf\u96c6\u6210\uff0c\u5c31\u7b49\u4e8e\u4e00\u6b65\u4e00\u6b65\u628a\u81ea\u5df1\u7f6e\u4e8e\u8d8a\u6765\u8d8a\u5927\u7684\u98ce\u9669\u4e2d\u3002\u800c\u82e5\u5728\u65e9\u671f\u5c31\u8fdb\u884c\u96c6\u6210\uff0c\u4f60\u4f1a\u66f4\u6e05\u6670\u5730\u770b\u5230\u5b50\u7cfb\u7edf\u4e4b\u95f4\u7684\u4ea4\u4e92\u548c\u5f71\u54cd\uff0c\u5c31\u53ef\u4ee5\u4f30\u7b97\u5b83\u4eec\u4e4b\u95f4\u7684\u901a\u4fe1\u548c\u5171\u4eab\u7684\u6570\u636e\u4fe1\u606f\u3002\u5982\u679c\u843d\u5b9e\u5f97\u597d\uff0c\u96c6\u6210\u5c31\u4e0d\u518d\u4f1a\u662f\u4e00\u4e2a\u7e41\u91cd\u7684\u4efb\u52a1\u3002\u5b83\u53ea\u662f\u7f16\u5199\u4ee3\u7801\u5468\u671f\u4e2d\u7684\u4e00\u90e8\u5206\uff0c\u96c6\u6210\u65f6\u4ea7\u751f\u7684\u95ee\u9898\u90fd\u4f1a\u662f\u5c0f\u95ee\u9898\u5e76\u4e14\u5bb9\u6613\u89e3\u51b3<\/p>\n<p>\u2014\u2014\u4ee5\u4e0a\u6458\u81eaVS &amp; AH \u7684 &lt;Practices of an Agile Developer&gt;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u53ef\u4ee5\u770b\u5230\u6211\u4e0a\u4e00\u7bc7\u6587\u7ae0\u52a0\u4e86\u5bc6\u7801\uff0c\u4e8b\u60c5\u662f\u8fd9\u6837\u7684\uff0c\u542c\u6211\u89e3\u91ca\u3002\u8fd9\u662f\u6211\u4eec\u8bfe\u5185\u7684\u4f5c\u4e1a\uff0c\u8d34\u4e0a\u6765\u7684\u4e1c\u897f\u5206\u5206\u949f\u5c31\u662f\u6211\u81ea\u5df1\u7684\u5b9e &hellip; <a href=\"http:\/\/dishudishu.com\/?p=82\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">linux + github + notes + habit<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":[],"categories":[1,6],"tags":[],"views":624,"_links":{"self":[{"href":"http:\/\/dishudishu.com\/index.php?rest_route=\/wp\/v2\/posts\/82"}],"collection":[{"href":"http:\/\/dishudishu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dishudishu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dishudishu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/dishudishu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=82"}],"version-history":[{"count":3,"href":"http:\/\/dishudishu.com\/index.php?rest_route=\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":89,"href":"http:\/\/dishudishu.com\/index.php?rest_route=\/wp\/v2\/posts\/82\/revisions\/89"}],"wp:attachment":[{"href":"http:\/\/dishudishu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dishudishu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dishudishu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}