Linux中国
1.73K subscribers
777 photos
6.34K links
Linux 中国官方 Telegram 频道
Download Telegram
一种新的安全检测的方法

&#19981;&#35201;&#21482;&#27979;&#35797;&#24050;&#26377;&#31995;&#32479;&#65292;&#24378;&#23433;&#20840;&#35201;&#27714;&#26356;&#31215;&#26497;&#20027;&#21160;&#30340;&#31574;&#30053;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/14/123745dk16klj99jpkjw2w.png">Media</a>&#25105;&#20204;&#24403;&#20013;&#26377;&#22810;&#23569;&#20154;&#26366;&#35828;&#20986;&#36807;&#19979;&#38754;&#36825;&#21477;&#35805;&#65306;“&#25105;&#24076;&#26395;&#36825;&#33021;&#36215;&#21040;&#20316;&#29992;&#65281;”&#65311;&#27627;&#26080;&#30097;&#38382;&#65292;&#25105;&#20204;&#20013;&#30340;&#22823;&#22810;&#25968;&#20154;&#21487;&#33021;&#37117;&#19981;&#27490;&#19968;&#27425;&#22320;&#35828;&#36807;&#36825;&#21477;&#35805;&#12290;&#36825;&#21477;&#35805;&#19981;&#26159;&#29992;&#26469;&#28608;&#21457;&#20449;&#24515;&#30340;&#65292;&#30456;&#21453;&#23427;&#25581;&#31034;&#20102;&#25105;&#20204;&#23545;&#33258;&#36523;&#33021;&#21147;&#21644;&#24403;&#21069;&#27491;&#22312;&#27979;&#35797;&#30340;&#21151;&#33021;&#30340;&#24576;&#30097;&#12290;&#19981;&#24184;&#30340;&#26159;&#65292;&#36825;&#21477;&#35805;&#38750;&#24120;&#22909;&#22320;&#25551;&#36848;&#20102;&#25105;&#20204;&#20256;&#32479;&#30340;&#23433;&#20840;&#27169;&#22411;&#12290;&#25105;&#20204;&#30340;&#36816;&#33829;&#22522;&#20110;&#36825;&#26679;&#30340;&#20551;&#35774;&#65292;&#24182;&#24076;&#26395;&#25105;&#20204;&#23454;&#26045;&#30340;&#25511;&#21046;&#25514;&#26045; —— &#20174; web &#24212;&#29992;&#30340;&#28431;&#25195;&#21040;&#32456;&#31471;&#19978;&#30340;&#26432;&#27602;&#36719;&#20214; —— &#38450;&#27490;&#24694;&#24847;&#30340;&#30149;&#27602;&#21644;&#36719;&#20214;&#36827;&#20837;&#25105;&#20204;&#30340;&#31995;&#32479;&#65292;&#25439;&#22351;&#25110;&#20599;&#21462;&#25105;&#20204;&#30340;&#20449;&#24687;&#12290;&#28183;&#36879;&#27979;&#35797;&#36890;&#36807;&#31215;&#26497;&#22320;&#23581;&#35797;&#20405;&#20837;&#32593;&#32476;&#12289;&#21521; web &#24212;&#29992;&#27880;&#20837;&#24694;&#24847;&#20195;&#30721;&#25110;&#32773;&#36890;&#36807;&#21457;&#36865;&#38035;&#40060;&#37038;&#20214;&#26469;&#20256;&#25773;&#30149;&#27602;&#31561;&#31561;&#36825;&#20123;&#27493;&#39588;&#26469;&#36991;&#20813;&#25105;&#20204;&#23545;&#20551;&#35774;&#30340;&#20381;&#36182;&#12290;&#30001;&#20110;&#25105;&#20204;&#22312;&#19981;&#21516;&#30340;&#23433;&#20840;&#23618;&#38754;&#19978;&#26469;&#21457;&#29616;&#21644;&#28183;&#36879;&#28431;&#27934;&#65292;&#25163;&#21160;&#27979;&#35797;&#26080;&#27861;&#35299;&#20915;&#28431;&#27934;&#34987;&#20027;&#21160;&#25171;&#24320;&#30340;&#24773;&#20917;&#12290;&#22312;&#23433;&#20840;&#23454;&#39564;&#20013;&#65292;&#25105;&#20204;&#25925;&#24847;&#22312;&#21463;&#25511;&#30340;&#24773;&#24418;&#19979;&#21019;&#36896;&#28151;&#20081;&#65292;&#27169;&#25311;&#20107;&#25925;&#30340;&#24773;&#24418;&#65292;&#26469;&#23458;&#35266;&#22320;&#26816;&#27979;&#25105;&#20204;&#26816;&#27979;&#12289;&#38459;&#27490;&#36825;&#31867;&#38382;&#39064;&#30340;&#33021;&#21147;&#12290;“&#23433;&#20840;&#23454;&#39564;&#20026;&#20998;&#24067;&#24335;&#31995;&#32479;&#30340;&#23433;&#20840;&#24615;&#23454;&#39564;&#25552;&#20379;&#20102;&#19968;&#31181;&#26041;&#27861;&#65292;&#20197;&#24314;&#31435;&#23545;&#25239;&#24694;&#24847;&#25915;&#20987;&#30340;&#33021;&#21147;&#30340;&#20449;&#24515;&#12290;”&#22312;&#20998;&#24067;&#24335;&#31995;&#32479;&#30340;&#23433;&#20840;&#24615;&#21644;&#22797;&#26434;&#24615;&#26041;&#38754;&#65292;&#38656;&#35201;&#21453;&#22797;&#22320;&#37325;&#30003;&#28151;&#27788;&#24037;&#31243;&#30028;&#30340;&#19968;&#21477;&#21517;&#35328;&#65292;“&#24076;&#26395;&#19981;&#26159;&#19968;&#31181;&#26377;&#25928;&#30340;&#31574;&#30053;”&#12290;&#25105;&#20204;&#22810;&#20037;&#20250;&#20027;&#21160;&#27979;&#35797;&#19968;&#27425;&#25105;&#20204;&#35774;&#35745;&#25110;&#26500;&#24314;&#30340;&#31995;&#324…
在 Linux 命令行上拥有一头奶牛

使用 cowsay 实用程序将牛的话语带到你的终端输出。Media

via https://linux.cn/article-10346-1.html
&#22312; Linux &#21629;&#20196;&#34892;&#19978;&#25317;&#26377;&#19968;&#22836;&#22902;&#29275;

&#20351;&#29992; cowsay &#23454;&#29992;&#31243;&#24207;&#23558;&#29275;&#30340;&#35805;&#35821;&#24102;&#21040;&#20320;&#30340;&#32456;&#31471;&#36755;&#20986;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/14/132737a4vjqeyp1ndm41vw.png">Media</a>&#27426;&#36814;&#26469;&#21040; Linux &#21629;&#20196;&#34892;&#29609;&#20855;&#31532;&#22235;&#22825;&#12290;&#22914;&#26524;&#36825;&#26159;&#20320;&#31532;&#19968;&#27425;&#35775;&#38382;&#36825;&#20010;&#31995;&#21015;&#65292;&#20320;&#21487;&#33021;&#20250;&#38382;&#33258;&#24049;&#65292;&#20160;&#20040;&#26159;&#21629;&#20196;&#34892;&#29609;&#20855;&#12290;&#25105;&#20204;&#20063;&#22312;&#32771;&#34385;&#36825;&#19968;&#28857;&#65292;&#20294;&#26159;&#19968;&#33324;&#26469;&#35828;&#65292;&#36825;&#21487;&#33021;&#26159;&#19968;&#20010;&#28216;&#25103;&#65292;&#25110;&#32773;&#20219;&#20309;&#31616;&#21333;&#30340;&#23089;&#20048;&#65292;&#21487;&#20197;&#24110;&#21161;&#20320;&#22312;&#32456;&#31471;&#29609;&#24471;&#24320;&#24515;&#12290;&#20320;&#20204;&#20013;&#30340;&#19968;&#20123;&#20154;&#20250;&#35265;&#36807;&#25105;&#20204;&#20043;&#21069;&#30340;&#36873;&#20013;&#30340;&#21508;&#31181;&#29609;&#20855;&#65292;&#20294;&#26159;&#25105;&#20204;&#24076;&#26395;&#33267;&#23569;&#26377;&#19968;&#20010;&#23545;&#27599;&#20010;&#20154;&#26469;&#35828;&#37117;&#26159;&#26032;&#30340;&#12290;&#22240;&#20026;&#20960;&#20046;&#25152;&#26377;&#25105;&#21578;&#35785;&#20182;&#36825;&#20010;&#31995;&#21015;&#30340;&#20154;&#37117;&#24050;&#32463;&#38382;&#36807;&#23427;&#20102;&#65292;&#25152;&#20197;&#20170;&#22825;&#30340;&#36873;&#20013;&#30340;&#29609;&#20855;&#26159;&#24517;&#39035;&#25552;&#21450;&#30340;&#12290;&#20320;&#20063;&#19981;&#20250;&#35748;&#20026;&#25105;&#20204;&#20250;&#22312;&#19981;&#25552;&#21450; cowsay &#30340;&#24773;&#20917;&#19979;&#23436;&#25104;&#36825;&#20010;&#31995;&#21015;&#65292;&#23545;&#21543;&#65311;cowsay &#26159;&#19968;&#20010;&#31070;&#22855;&#30340;&#23454;&#29992;&#31243;&#24207;&#65292;&#23427;&#23558;&#25991;&#26412;&#20316;&#20026; ASCII &#33402;&#26415;&#29275;&#30340;&#35762;&#35805;&#25991;&#26412;&#36755;&#20986;&#12290;&#20320;&#21487;&#33021;&#20250;&#21457;&#29616; cowsey &#25171;&#21253;&#22312;&#20320;&#30340;&#40664;&#35748;&#23384;&#20648;&#24211;&#20013;&#65292;&#29978;&#33267;&#21487;&#33021;&#24050;&#32463;&#23433;&#35013;&#20102;&#12290;&#23545;&#25105;&#26469;&#35828;&#65292;&#22312; Fedora&#65292;&#20687;&#36825;&#26679;&#23433;&#35013;:<pre class="prettyprint linenums">$ sudo dnf install -y cowsay</pre>&#28982;&#21518;&#65292;&#29992; cowsey &#35843;&#29992;&#23427;&#65292;&#28982;&#21518;&#26159;&#20320;&#30340;&#28040;&#24687;&#12290;&#20063;&#35768;&#20320;&#24819;&#21040;&#26152;&#22825;&#25105;&#20204;&#35848;&#21040;&#30340; <a href="https://opensource.com/article/18/12/linux-toy-fortune">fortune &#24212;&#29992;</a> &#36830;&#25509;&#36215;&#26469;&#12290;<pre class="prettyprint linenums">$ fortune | cowsay _________________________________________/ If at first you do succeed, try to hide \\ your astonishment. / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||</pre>&#23601;&#36825;&#26679;&#65281;cowsay &#36824;&#26377;&#28857;&#23567;&#21464;&#20307;&#65292;&#31216;&#20026; cow &#25991;&#20214;&#65292;&#36890;&#24120;&#21487;&#20197;&#22312; /usr/share/cowsay &#25214;&#21040; &#65292;&#35201;&#26597;&#30475;&#31995;&#32479;&#19978;&#21487;&#29992;&#30340; cow &#25991;&#20214;&#65292;&#35831;&#22312; cowsay &#20043;&#21518;&#20351;&#29992; -l &#12290;&#28982;&#21518;&#65292;&#29992; -f &#35797;&#35797;&#20854;&#20013;&#20043;&#19968;&#12290;<pre class="prettyprint linenums">$ cowsay -f dragon "Run for cover, I feel a sneeze coming on." _______________________________________/ Run for cover, I feel a sneeze coming \\ on. / -----------------------…
你所不知道的知识共享(CC)

知识共享为艺术家提供访问权限和原始素材。大公司也从中受益。Media

via https://linux.cn/article-10347-1.html
&#20320;&#25152;&#19981;&#30693;&#36947;&#30340;&#30693;&#35782;&#20849;&#20139;&#65288;CC&#65289;

&#30693;&#35782;&#20849;&#20139;&#20026;&#33402;&#26415;&#23478;&#25552;&#20379;&#35775;&#38382;&#26435;&#38480;&#21644;&#21407;&#22987;&#32032;&#26448;&#12290;&#22823;&#20844;&#21496;&#20063;&#20174;&#20013;&#21463;&#30410;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/14/182859vzilqpgm4bvdktck.png">Media</a>&#25105;&#27605;&#19994;&#20110;&#30005;&#24433;&#23398;&#38498;&#65292;&#27605;&#19994;&#21518;&#22312;&#19968;&#25152;&#30005;&#24433;&#23398;&#26657;&#25945;&#20070;&#65292;&#20043;&#21518;&#36827;&#20837;&#19968;&#23478;&#20027;&#27969;&#30005;&#24433;&#24037;&#20316;&#23460;&#65292;&#25105;&#19968;&#30452;&#22312;&#20174;&#20107;&#30005;&#24433;&#30456;&#20851;&#30340;&#24037;&#20316;&#12290;&#21019;&#24847;&#20135;&#19994;&#30340;&#26041;&#26041;&#38754;&#38754;&#38754;&#20020;&#30528;&#21516;&#19968;&#20010;&#38382;&#39064;&#65306;&#21019;&#20316;&#32773;&#38656;&#35201;&#21407;&#26448;&#26009;&#12290;&#26377;&#36259;&#30340;&#26159;&#65292;&#33258;&#30001;&#25991;&#21270;&#36816;&#21160;&#25552;&#20986;&#20102;&#35299;&#20915;&#26041;&#26696;&#65292;&#20855;&#20307;&#26469;&#35828;&#26159;&#22312;&#33258;&#30001;&#25991;&#21270;&#36816;&#21160;&#20013;&#20986;&#29616;&#30340;&#30693;&#35782;&#20849;&#20139;Creative Commons&#32452;&#32455;&#12290;&#30693;&#35782;&#20849;&#20139;&#33021;&#22815;&#20026;&#25105;&#20204;&#25552;&#20379;&#23637;&#31034;&#29255;&#27573;&#21644;&#23567;&#26679;&#21644;&#20854;&#20182;&#20107;&#24773;&#19968;&#26679;&#65292;&#21019;&#36896;&#21147;&#20063;&#38656;&#35201;&#21453;&#22797;&#32451;&#20064;&#12290;&#24184;&#36816;&#30340;&#26159;&#65292;&#22312;&#25105;&#21018;&#24320;&#22987;&#25509;&#35302;&#30005;&#33041;&#26102;&#65292;&#23601;&#22312;&#19968;&#26412;&#20851;&#20110;&#28210;&#26579;&#24037;&#22330;&#30340;&#19987;&#19994;&#26434;&#24535;&#20013;&#25509;&#35302;&#21040;&#20102;&#24320;&#28304;&#36825;&#20010;&#23384;&#22312;&#12290;&#24403;&#26102;&#25105;&#24182;&#19981;&#29702;&#35299;&#25152;&#35859;&#30340;“&#24320;&#28304;”&#26159;&#20160;&#20040;&#65292;&#20294;&#25105;&#30693;&#36947;&#21482;&#26377;&#24320;&#28304;&#24037;&#20855;&#33021;&#24110;&#21161;&#25105;&#22312;&#39046;&#22495;&#20869;&#31283;&#23450;&#21457;&#23637;&#12290;&#23545;&#25105;&#26469;&#35828;&#65292;&#30693;&#35782;&#20849;&#20139;&#20063;&#26159;&#22914;&#27492;&#12290;&#30693;&#35782;&#20849;&#20139;&#21487;&#20197;&#20026;&#33402;&#26415;&#23478;&#20204;&#25552;&#20379;&#20805;&#28385;&#20016;&#23500;&#33402;&#26415;&#36164;&#28304;&#30340;&#24037;&#20316;&#23460;&#12290;&#25105;&#22312;&#30005;&#24433;&#23398;&#38498;&#20219;&#25945;&#26102;&#65292;&#32463;&#24120;&#38656;&#35201;&#32473;&#23398;&#29983;&#20204;&#20934;&#22791;&#32451;&#20064;&#32534;&#36753;&#12289;&#24405;&#38899;&#12289;&#25311;&#38899;&#12289;&#20998;&#32423;&#12289;&#35780;&#20998;&#30340;&#31034;&#20363;&#24405;&#20687;&#12290;&#22312; Jim Munroe &#30340;&#29420;&#31435;&#20316;&#21697; <a href="http://infestwisely.com">Infest Wisely</a> &#20013;&#21644; <a href="https://vimeo.com/creativecommons">Vimeo</a> &#19978;&#30340;&#30693;&#35782;&#20849;&#20139;&#20869;&#23481;&#37324;&#25105;&#24635;&#33021;&#25214;&#21040;&#25105;&#24819;&#35201;&#30340;&#12290;&#36825;&#20123;&#36924;&#30495;&#30340;&#38236;&#22836;&#35206;&#30422;&#20869;&#23481;&#21313;&#20998;&#24191;&#27867;&#65292;&#20174;&#29420;&#31435;&#21046;&#20316;&#21040;&#26114;&#36149;&#30340;&#39640;&#21697;&#36136;&#30340;&#21319;&#38477;&#38236;&#22836;&#65288;&#19968;&#33324;&#37117;&#20250;&#29992;&#26080;&#20154;&#26426;&#20195;&#26367;&#65289;&#37117;&#26377;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/14/182902ijudjzfjd4r5pncp.png">Media</a>&#23545;&#23454;&#39564;&#20027;&#20041;&#33402;&#26415;&#26469;&#35828;&#65292;&#30830;&#26377;&#26080;&#23613;&#21487;&#33021;&#12290;&#30693;&#35782;&#20849;…
&#20351;&#29992; gorilla/mux &#36827;&#34892; HTTP &#35831;&#27714;&#36335;&#30001;&#21644;&#39564;&#35777;

gorilla/mux &#21253;&#20197;&#30452;&#35266;&#30340; API &#25552;&#20379;&#20102; HTTP &#35831;&#27714;&#36335;&#30001;&#12289;&#39564;&#35777;&#21644;&#20854;&#23427;&#26381;&#21153;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/15/091045efoxfuuutxkos2xo.png">MediaGo &#32593;&#32476;&#24211;&#21253;&#25324; http.ServeMux &#32467;&#26500;&#31867;&#22411;&#65292;&#23427;&#25903;&#25345; HTTP &#35831;&#27714;&#22810;&#36335;&#22797;&#29992;&#65288;&#36335;&#30001;&#65289;&#65306;Web &#26381;&#21153;&#22120;&#23558;&#25176;&#31649;&#36164;&#28304;&#30340; HTTP &#35831;&#27714;&#19982;&#35832;&#22914; /sales4today &#20043;&#31867;&#30340; URI &#36335;&#30001;&#21040;&#20195;&#30721;&#22788;&#29702;&#31243;&#24207;&#65307;&#22788;&#29702;&#31243;&#24207;&#22312;&#21457;&#36865; HTTP &#21709;&#24212;&#65288;&#36890;&#24120;&#26159; HTML &#39029;&#38754;&#65289;&#20043;&#21069;&#25191;&#34892;&#36866;&#24403;&#30340;&#36923;&#36753;&#12290; &#36825;&#26159;&#35813;&#20307;&#31995;&#30340;&#33609;&#22270;&#65306;<pre class="prettyprint linenums"> +-----------+ +--------+ +---------+HTTP &#35831;&#27714;---->| web &#26381;&#21153;&#22120; |---->| &#36335;&#30001; |---->| &#22788;&#29702;&#31243;&#24207; | +-----------+ +--------+ +---------+</pre>&#35843;&#29992; ListenAndServe &#26041;&#27861;&#21518;&#21551;&#21160; HTTP &#26381;&#21153;&#22120;&#65306;<pre class="prettyprint linenums">http.ListenAndServe(":8888", nil) // args: port & router</pre>&#31532;&#20108;&#20010;&#21442;&#25968; nil &#24847;&#21619;&#30528; DefaultServeMux &#29992;&#20110;&#35831;&#27714;&#36335;&#30001;&#12290;gorilla/mux &#24211;&#21253;&#21547; mux.Router &#31867;&#22411;&#65292;&#21487;&#26367;&#20195; DefaultServeMux &#25110;&#33258;&#23450;&#20041;&#35831;&#27714;&#22810;&#36335;&#22797;&#29992;&#22120;&#12290; &#22312; ListenAndServe &#35843;&#29992;&#20013;&#65292;mux.Router &#23454;&#20363;&#23558;&#20195;&#26367; nil &#20316;&#20026;&#31532;&#20108;&#20010;&#21442;&#25968;&#12290; &#19979;&#38754;&#30340;&#31034;&#20363;&#20195;&#30721;&#24456;&#22909;&#30340;&#35828;&#26126;&#20102;&#20026;&#20160;&#20040; mux.Router&#22914;&#27492;&#21560;&#24341;&#20154;&#65306;1&#12289;&#19968;&#20010;&#31616;&#21333;&#30340; CRUD web &#24212;&#29992;&#31243;&#24207;crud web &#24212;&#29992;&#31243;&#24207;&#65288;&#35265;&#19979;&#25991;&#65289;&#25903;&#25345;&#22235;&#31181; CRUD&#65288;&#21019;&#24314;/&#35835;&#21462;/&#26356;&#26032;/&#21024;&#38500;&#65289;&#25805;&#20316;&#65292;&#23427;&#20204;&#20998;&#21035;&#23545;&#24212;&#22235;&#31181; HTTP &#35831;&#27714;&#26041;&#27861;&#65306;POST&#12289;GET&#12289;PUT &#21644; DELETE&#12290; &#22312;&#36825;&#20010; CRUD &#24212;&#29992;&#31243;&#24207;&#20013;&#65292;&#25152;&#31649;&#29702;&#30340;&#36164;&#28304;&#26159;&#22871;&#35805;&#19982;&#21453;&#22871;&#35805;&#30340;&#21015;&#34920;&#65292;&#27599;&#20010;&#37117;&#26159;&#22871;&#35805;&#21450;&#20854;&#21453;&#38754;&#30340;&#30340;&#22871;&#35805;&#65292;&#20363;&#22914;&#36825;&#23545;&#65306;<pre class="prettyprint linenums">Out of sight, out of mind. Absence makes the heart grow fonder.</pre>&#21487;&#20197;&#28155;&#21152;&#26032;&#30340;&#22871;&#35805;&#23545;&#65292;&#21487;&#20197;&#32534;&#36753;&#25110;&#21024;&#38500;&#29616;&#26377;&#30340;&#22871;&#35805;&#23545;&#12290;CRUD web &#24212;&#29992;&#31243;&#24207;&#65306;<pre class="prettyprint linenums">package mainimport ( "gorilla/mux" "net/http" "fmt" "strconv")const GETALL string = "GETALL"const GETONE string = "GETONE"const POST string = "POST"const PUT string = "PUT"const DELETE string = "DELETE"type clichePair struct { Id int Cliche string Counter string}// Message sent to goroutine that accesses the requested resource.type crudRequest struct { verb string cp *clichePair id int cliche string counter string confirm chan string}var clichesList =…
创建一个容器化的机器学习模型

数据科学家在创建机器学习模型后,必须将其部署到生产中。要在不同的基础架构上运行它,使用容器并通过 REST API 公开模型是部署机器学习模型的常用方法。Media

via https://linux.cn/article-10349-1.html
&#21019;&#24314;&#19968;&#20010;&#23481;&#22120;&#21270;&#30340;&#26426;&#22120;&#23398;&#20064;&#27169;&#22411;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/15/091829w45rgg1peoawzce7.jpg">Media</a>&#25968;&#25454;&#31185;&#23398;&#23478;&#22312;&#21019;&#24314;&#26426;&#22120;&#23398;&#20064;&#27169;&#22411;&#21518;&#65292;&#24517;&#39035;&#23558;&#20854;&#37096;&#32626;&#21040;&#29983;&#20135;&#20013;&#12290;&#35201;&#22312;&#19981;&#21516;&#30340;&#22522;&#30784;&#26550;&#26500;&#19978;&#36816;&#34892;&#23427;&#65292;&#20351;&#29992;&#23481;&#22120;&#24182;&#36890;&#36807; REST API &#20844;&#24320;&#27169;&#22411;&#26159;&#37096;&#32626;&#26426;&#22120;&#23398;&#20064;&#27169;&#22411;&#30340;&#24120;&#29992;&#26041;&#27861;&#12290;&#26412;&#25991;&#28436;&#31034;&#20102;&#22914;&#20309;&#22312; <a href="https://fedoramagazine.org/running-containers-with-podman/">Podman</a> &#23481;&#22120;&#20013;&#20351;&#29992; <a href="https://connexion.readthedocs.io/en/latest/">Connexion</a> &#25512;&#20986;&#20351;&#29992; REST API &#30340; <a href="https://www.tensorflow.org">TensorFlow</a> &#26426;&#22120;&#23398;&#20064;&#27169;&#22411;&#12290;&#20934;&#22791;&#39318;&#20808;&#65292;&#20351;&#29992;&#20197;&#19979;&#21629;&#20196;&#23433;&#35013; Podman&#65306;<pre class="prettyprint linenums">sudo dnf -y install podman</pre>&#25509;&#19979;&#26469;&#65292;&#20026;&#23481;&#22120;&#21019;&#24314;&#19968;&#20010;&#26032;&#25991;&#20214;&#22841;&#24182;&#20999;&#25442;&#21040;&#35813;&#30446;&#24405;&#12290;<pre class="prettyprint linenums">mkdir deployment_container && cd deployment_container</pre>TensorFlow &#27169;&#22411;&#30340; REST API&#19979;&#19968;&#27493;&#26159;&#20026;&#26426;&#22120;&#23398;&#20064;&#27169;&#22411;&#21019;&#24314; REST API&#12290;&#36825;&#20010; <a href="https://github.com/svenboesiger/titanic_tf_ml_model">github &#20179;&#24211;</a>&#21253;&#21547;&#19968;&#20010;&#39044;&#35757;&#32451;&#27169;&#22411;&#65292;&#20197;&#21450;&#33021;&#35753; REST API &#24037;&#20316;&#30340;&#35774;&#32622;&#12290;&#20351;&#29992;&#20197;&#19979;&#21629;&#20196;&#22312; deployment_container &#30446;&#24405;&#20013;&#20811;&#38534;&#23427;&#65306;<pre class="prettyprint linenums">git clone https://github.com/svenboesiger/titanic_tf_ml_model.git</pre>prediction.py &#21644; ml_model/<a href="https://github.com/svenboesiger/titanic_tf_ml_model/blob/master/prediction.py">prediction.py</a> &#33021;&#36827;&#34892; Tensorflow &#39044;&#27979;&#65292;&#32780; 20x20x20 &#31070;&#32463;&#32593;&#32476;&#30340;&#26435;&#37325;&#20301;&#20110;&#25991;&#20214;&#22841; <a href="https://github.com/svenboesiger/titanic_tf_ml_model/tree/master/ml_model/titanic">ml_model/</a> &#20013;&#12290;swagger.yaml<a href="https://github.com/svenboesiger/titanic_tf_ml_model/blob/master/swagger.yaml">swagger.yaml</a> &#20351;&#29992; <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md">Swagger&#35268;&#33539;</a> &#23450;&#20041; Connexion &#24211;&#30340; API&#12290;&#27492;&#25991;&#20214;&#21253;&#21547;&#35753;&#20320;&#30340;&#26381;&#21153;&#22120;&#25552;&#20379;&#36755;&#20837;&#21442;&#25968;&#39564;&#35777;&#12289;&#36755;&#20986;&#21709;&#24212;&#25968;&#25454;&#39564;&#35777;&#12289;URL &#31471;&#28857;&#23450;&#20041;&#25152;&#38656;&#30340;&#25152;&#26377;&#20449;&#24687;&#12290;&#39069;&#22806;&#22320;&#65292;Connexion &#36824;&#23558;&#32473;&#20320;&#25552;&#20379;&#19968;&#20010;&#31616;&#21333;&#20294;&#26377;&#29992;&#30340;&#21333;&#39029; Web &#24212;&#29992;&#65292;&#23427;&#28436;&#31034;&#20102;&#22914;&#20309;&#20351;&#29992; Javascript &#35843;&#29992; API &#21644;&#26356;&#26032; DOM&#12290;<pre class="prettyprint linenums">swagger: "2.0"info: description: This is the swagger file that goes with our server code version: "1.0.0" title: Tensorflow Podman Articleconsumes: - "application/json"produces: - "application/json"basePath: "/"paths: /survival_probability: post: operationId:…
在 Linux 中使用 SoundConverter 轻松转换音频文件格式

如果你正在寻找将音频文件格式转换为 wav、mp3、ogg 或任何其他格式,SoundConverter 是你在 Linux 中需要的工具。Media

via https://linux.cn/article-10350-1.html
&#22312; Linux &#20013;&#20351;&#29992; SoundConverter &#36731;&#26494;&#36716;&#25442;&#38899;&#39057;&#25991;&#20214;&#26684;&#24335;

&#22914;&#26524;&#20320;&#27491;&#22312;&#23547;&#25214;&#23558;&#38899;&#39057;&#25991;&#20214;&#26684;&#24335;&#36716;&#25442;&#20026; wav&#12289;mp3&#12289;ogg &#25110;&#20219;&#20309;&#20854;&#20182;&#26684;&#24335;&#65292;SoundConverter &#26159;&#20320;&#22312; Linux &#20013;&#38656;&#35201;&#30340;&#24037;&#20855;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/15/150512n4pw4zibi0mnciwo.png">Audio Converter in Linux</a>&#26368;&#36817;&#25105;&#36141;&#20080;&#20102;&#19968;&#20123;&#27809;&#26377; DRM &#30340;&#38899;&#20048;&#12290;&#25105;&#26159;&#20174; <a href="https://en.wikipedia.org/wiki/Saregama">SaReGaMa</a> &#37027;&#37324;&#20080;&#30340;&#65292;&#36825;&#26159;&#19968;&#23478;&#21360;&#24230;&#21382;&#21490;&#26368;&#24736;&#20037;&#65292;&#35268;&#27169;&#26368;&#22823;&#30340;&#38899;&#20048;&#21697;&#29260;&#12290;&#19979;&#36733;&#30340;&#25991;&#20214;&#37319;&#29992;&#39640;&#28165;&#36136;&#37327;&#30340; WAV &#26684;&#24335;&#12290;&#19981;&#24184;&#30340;&#26159;&#65292;Rhythmbox &#26080;&#27861;&#25773;&#25918; WAV&#12290;&#26368;&#37325;&#35201;&#30340;&#26159;&#65292;&#21333;&#20010;&#25991;&#20214;&#22823;&#23567;&#32422;&#20026; 70MB&#12290;&#24819;&#35937;&#19968;&#19979;&#65292;&#23558;&#36825;&#20040;&#22823;&#30340;&#38899;&#20048;&#20256;&#36755;&#21040;&#26234;&#33021;&#25163;&#26426;&#12290;&#23427;&#20250;&#19981;&#24517;&#35201;&#22320;&#21344;&#29992;&#22823;&#37327;&#31354;&#38388;&#12290;&#25152;&#20197;&#25105;&#35748;&#20026;&#26159;&#26102;&#20505;&#23558; WAV &#25991;&#20214;&#36716;&#25442;&#20026; MP3 —— &#36825;&#20010;&#38271;&#38738;&#19988;&#26368;&#27969;&#34892;&#30340;&#38899;&#20048;&#25991;&#20214;&#26684;&#24335;&#12290;&#20026;&#27492;&#65292;&#25105;&#38656;&#35201;&#19968;&#20010;&#22312; Linux &#20013;&#30340;&#38899;&#39057;&#36716;&#25442;&#22120;&#12290;&#22312;&#36825;&#20010;&#25945;&#31243;&#20013;&#65292;&#25105;&#23558;&#21521;&#20320;&#23637;&#31034;&#22914;&#20309;&#20351;&#29992;&#21517;&#20026; SoundCoverter &#30340; GUI &#24037;&#20855;&#36731;&#26494;&#22320;&#23558;&#38899;&#39057;&#25991;&#20214;&#20174;&#19968;&#31181;&#26684;&#24335;&#36716;&#25442;&#20026;&#21478;&#19968;&#31181;&#26684;&#24335;&#12290;&#22312; Linux &#20013;&#23433;&#35013; SoundConverter<a href="http://soundconverter.org/">SoundConverter</a> &#26159;&#19968;&#27454;&#27969;&#34892;&#30340;&#33258;&#30001;&#24320;&#28304;&#36719;&#20214;&#12290;&#23427;&#24212;&#35813;&#21487;&#20197;&#22312;&#22823;&#22810;&#25968; Linux &#21457;&#34892;&#29256;&#30340;&#23448;&#26041;&#20179;&#24211;&#20013;&#25214;&#21040;&#12290;Ubuntu/Linux Mint &#29992;&#25143;&#21482;&#38656;&#22312;&#36719;&#20214;&#20013;&#24515;&#25628;&#32034; SoundConverter &#24182;&#20174;&#37027;&#37324;&#23433;&#35013;&#21363;&#21487;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/15/150513ulebo0bf63e3e9wf.png">SoundConverter application in Software Center of Ubuntu</a><em>SoundConverter &#21487;&#20197;&#20174;&#36719;&#20214;&#20013;&#24515;&#23433;&#35013;</em>&#25110;&#32773;&#65292;&#20320;&#21487;&#20197;&#20351;&#29992;&#21629;&#20196;&#34892;&#26041;&#24335;&#12290;&#22312;&#22522;&#20110; Debian &#21644; Ubuntu &#30340;&#31995;&#32479;&#20013;&#65292;&#20320;&#21487;&#20197;&#20351;&#29992;&#20197;&#19979;&#21629;&#20196;&#65306;<pre class="prettyprint linenums">sudo apt install soundconverter</pre>&#22312; Arch&#12289;Fedora &#21644;&#20854;&#20182;&#38750;&#22522;&#20110; Debian &#30340;&#21457;&#34892;&#29256;&#20013;&#65292;&#20320;&#21487;&#20197;&#20351;&#29992;&#20320;&#30340;&#21457;&#34892;&#29256;&#30340;&#36719;&#20214;&#20013;&#24515;&#25110;&#36719;&#20214;&#21253;&#31649;&#29702;&#22120;&#12290;&#22312; Linux &#20013;&#20351;&#29992; SoundConverter &#36716;&#25442;&#38899;&#39057;&#25991;&#20214;&#26684;&#…
Caffeinated 6.828:实验 4:抢占式多任务处理

在本实验中,你将在多个同时活动的用户模式环境之间实现抢占式多任务处理。Media

via https://linux.cn/article-10351-1.html
Caffeinated 6.828&#65306;&#23454;&#39564; 4&#65306;&#25250;&#21344;&#24335;&#22810;&#20219;&#21153;&#22788;&#29702;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/16/125727xit7uuvtt0r7j715.jpg">Media&#31616;&#20171;&#22312;&#26412;&#23454;&#39564;&#20013;&#65292;&#20320;&#23558;&#22312;&#22810;&#20010;&#21516;&#26102;&#27963;&#21160;&#30340;&#29992;&#25143;&#27169;&#24335;&#29615;&#22659;&#20043;&#38388;&#23454;&#29616;&#25250;&#21344;&#24335;&#22810;&#20219;&#21153;&#22788;&#29702;&#12290;&#22312; Part A &#20013;&#65292;&#20320;&#23558;&#22312; JOS &#20013;&#28155;&#21152;&#23545;&#22810;&#22788;&#29702;&#22120;&#30340;&#25903;&#25345;&#65292;&#20197;&#23454;&#29616;&#24490;&#29615;&#35843;&#24230;&#12290;&#24182;&#19988;&#28155;&#21152;&#22522;&#26412;&#30340;&#29615;&#22659;&#31649;&#29702;&#26041;&#38754;&#30340;&#31995;&#32479;&#35843;&#29992;&#65288;&#21019;&#24314;&#21644;&#38144;&#27585;&#29615;&#22659;&#30340;&#31995;&#32479;&#35843;&#29992;&#12289;&#20197;&#21450;&#20998;&#37197;/&#26144;&#23556;&#20869;&#23384;&#65289;&#12290;&#22312; Part B &#20013;&#65292;&#20320;&#23558;&#35201;&#23454;&#29616;&#19968;&#20010;&#31867; Unix &#30340; fork()&#65292;&#23427;&#23558;&#20801;&#35768;&#19968;&#20010;&#29992;&#25143;&#27169;&#24335;&#20013;&#30340;&#29615;&#22659;&#21435;&#21019;&#24314;&#19968;&#20010;&#23427;&#33258;&#24050;&#30340;&#21103;&#26412;&#12290;&#26368;&#21518;&#65292;&#22312; Part C &#20013;&#65292;&#20320;&#23558;&#22312; JOS &#20013;&#28155;&#21152;&#23545;&#36827;&#31243;&#38388;&#36890;&#35759;&#65288;IPC&#65289;&#30340;&#25903;&#25345;&#65292;&#20197;&#20801;&#35768;&#19981;&#21516;&#29992;&#25143;&#27169;&#24335;&#29615;&#22659;&#20043;&#38388;&#36827;&#34892;&#26174;&#24335;&#36890;&#35759;&#21644;&#21516;&#27493;&#12290;&#20320;&#20063;&#23558;&#35201;&#21435;&#28155;&#21152;&#23545;&#30828;&#20214;&#26102;&#38047;&#20013;&#26029;&#21644;&#20248;&#20808;&#26435;&#30340;&#25903;&#25345;&#12290;&#39044;&#22791;&#30693;&#35782;&#20351;&#29992; git &#21435;&#25552;&#20132;&#20320;&#30340;&#23454;&#39564; 3 &#30340;&#28304;&#20195;&#30721;&#65292;&#24182;&#33719;&#21462;&#35838;&#31243;&#20179;&#24211;&#30340;&#26368;&#26032;&#29256;&#26412;&#65292;&#28982;&#21518;&#21019;&#24314;&#19968;&#20010;&#21517;&#20026; lab4 &#30340;&#26412;&#22320;&#20998;&#25903;&#65292;&#23427;&#36319;&#36394;&#25105;&#20204;&#30340;&#21517;&#20026; origin/lab4 &#30340;&#36828;&#31243; lab4 &#20998;&#25903;&#65306;<pre class="prettyprint linenums"> athena% cd ~/6.828/lab athena% add git athena% git pull Already up-to-date. athena% git checkout -b lab4 origin/lab4 Branch lab4 set up to track remote branch refs/remotes/origin/lab4. Switched to a new branch "lab4" athena% git merge lab3 Merge made by recursive. ... athena%</pre>&#23454;&#39564; 4 &#21253;&#21547;&#20102;&#19968;&#20123;&#26032;&#30340;&#28304;&#25991;&#20214;&#65292;&#22312;&#24320;&#22987;&#20043;&#21069;&#20320;&#24212;&#35813;&#21435;&#27983;&#35272;&#19968;&#36941;&#65306;<pre class="prettyprint linenums">kern/cpu.h Kernel-private definitions for multiprocessor supportkern/mpconfig.c Code to read the multiprocessor configuration kern/lapic.c Kernel code driving the local APIC unit in each processorkern/mpentry.S Assembly-language entry code for non-boot CPUskern/spinlock.h Kernel-private definitions for spin locks, including the big kernel lock kern/spinlock.c Kernel code implementing spin lockskern/sched.c Code skeleton of the scheduler that you are about to implement</pre>&#23454;&#39564;&#35201;&#27714;&#26412;&#23454;&#39564;&#20998;&#20026;&#19977;&#37096;&#20998;&#65306;Part A&#12289;Part B &#21644; Part C&#12290;&#25105;&#20204;&#35745;&#21010;&#20026;&#27599;&#20010;&#37096;&#20998;&#20998;&#37197;&#19968;&#21608;&#30340;&#26102;&#38388;&#12290;&#21644;&#20197;&#21069;&#19968;&#26679;&#65292;&#20320;&#38656;&#35201;&#23436;&#25104;&#23454;&#39564;&#20013;&#20986;&#29616;&#30340;&#12289;&#25152;&#26377;&#24120;&#35268;&#32451;&#2006…
神奇的 Linux 命令行字符形状工具 boxes

本文将教你如何在 Linux 命令行终端中使用 boxes 工具绘制字符形状图形来包装你的文字让其更突出。Media

via https://linux.cn/article-10352-1.html
&#31070;&#22855;&#30340; Linux &#21629;&#20196;&#34892;&#23383;&#31526;&#24418;&#29366;&#24037;&#20855; boxes

&#26412;&#25991;&#23558;&#25945;&#20320;&#22914;&#20309;&#22312; Linux &#21629;&#20196;&#34892;&#32456;&#31471;&#20013;&#20351;&#29992; boxes &#24037;&#20855;&#32472;&#21046;&#23383;&#31526;&#24418;&#29366;&#22270;&#24418;&#26469;&#21253;&#35013;&#20320;&#30340;&#25991;&#23383;&#35753;&#20854;&#26356;&#31361;&#20986;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/16/193631nj5mt5htxujjcjeh.png">Media</a>&#29616;&#22312;&#27491;&#20540;&#20551;&#26399;&#65292;&#27599;&#20010; Linux &#32456;&#31471;&#29992;&#25143;&#37117;&#35813;&#24471;&#21040;&#19968;&#28857;&#31036;&#29289;&#12290;&#26080;&#35770;&#20320;&#26159;&#24198;&#31069;&#22307;&#35806;&#33410;&#36824;&#26159;&#24198;&#31069;&#20854;&#20182;&#33410;&#26085;&#65292;&#25110;&#32773;&#20160;&#20040;&#33410;&#26085;&#20063;&#27809;&#26377;&#65292;&#37117;&#27809;&#26377;&#20851;&#31995;&#12290;&#25105;&#23558;&#22312;&#25509;&#19979;&#26469;&#30340;&#20960;&#21608;&#20869;&#20171;&#32461; 24 &#20010; Linux &#21629;&#20196;&#34892;&#23567;&#29609;&#20855;&#65292;&#20379;&#20320;&#25226;&#29609;&#25110;&#32773;&#19982;&#26379;&#21451;&#20998;&#20139;&#12290;&#35753;&#25105;&#20204;&#20139;&#21463;&#20048;&#36259;&#65292;&#35753;&#36825;&#20010;&#26376;&#36807;&#24471;&#24555;&#20048;&#19968;&#28857;&#65292;&#22240;&#20026;&#23545;&#20110;&#21271;&#21322;&#29699;&#26469;&#35828;&#65292;&#36825;&#20010;&#26376;&#26377;&#28857;&#20919;&#24182;&#19988;&#27785;&#38391;&#12290;&#23545;&#20110;&#25105;&#35201;&#35762;&#36848;&#30340;&#20869;&#23481;&#65292;&#21487;&#33021;&#20320;&#20043;&#21069;&#23601;&#26377;&#20123;&#20102;&#35299;&#12290;&#20294;&#26159;&#65292;&#25105;&#36824;&#26159;&#24076;&#26395;&#25105;&#20204;&#37117;&#26377;&#26426;&#20250;&#23398;&#21040;&#19968;&#20123;&#26032;&#30340;&#19996;&#35199;&#65288;&#25105;&#20570;&#20102;&#19968;&#28857;&#30740;&#31350;&#65292;&#30830;&#20445;&#21487;&#20197;&#20998;&#20139; 24 &#20010;&#23567;&#29609;&#20855;&#65289;&#12290;24 &#20010; Linux &#32456;&#31471;&#23567;&#29609;&#20855;&#20013;&#30340;&#31532;&#19968;&#20010;&#26159;&#21483;&#20570; boxes &#30340;&#23567;&#31243;&#24207;&#12290;&#20026;&#20309;&#20174; boxes &#35828;&#36215;&#21602;&#65311;&#22240;&#20026;&#22312;&#27809;&#26377;&#23427;&#30340;&#24773;&#20917;&#19979;&#24456;&#38590;&#23558;&#25152;&#26377;&#20854;&#20182;&#21629;&#20196;&#31036;&#29289;&#21253;&#35013;&#36215;&#26469;&#65281;&#22312;&#25105;&#30340; Fedora &#26426;&#22120;&#19978;&#65292;&#40664;&#35748;&#27809;&#26377;&#23433;&#35013; boxes &#31243;&#24207;&#65292;&#20294;&#23427;&#22312;&#25105;&#30340;&#26222;&#36890;&#20179;&#24211;&#20013;&#21487;&#20197;&#33719;&#21462;&#21040;&#65292;&#25152;&#20197;&#29992;&#22914;&#19979;&#21629;&#20196;&#23601;&#21487;&#23433;&#35013;&#65306;<pre class="prettyprint linenums">$ sudo dnf install boxes -y</pre>&#22914;&#26524;&#20320;&#22312;&#20351;&#29992;&#20854;&#20182; Linux &#21457;&#34892;&#29256;&#65292;&#19968;&#33324;&#20063;&#37117;&#21487;&#20197;&#22312;&#40664;&#35748;&#20179;&#24211;&#20013;&#25214;&#21040; boxes&#12290;boxes &#26159;&#25105;&#30495;&#27491;&#24076;&#26395;&#22312;&#39640;&#20013;&#21644;&#22823;&#23398;&#35745;&#31639;&#26426;&#35838;&#31243;&#20013;&#23601;&#20351;&#29992;&#30340;&#23454;&#29992;&#31243;&#24207;&#65292;&#22240;&#20026;&#21892;&#24847;&#30340;&#32769;&#24072;&#35201;&#27714;&#25105;&#22312;&#27599;&#20010;&#28304;&#25991;&#20214;&#12289;&#20989;&#25968;&#12289;&#20195;&#30721;&#22359;&#31561;&#24320;&#22836;&#28155;&#21152;&#19968;&#20123;&#29305;&#23450;&#22806;&#35266;&#30340;&#22791;&#27880;&#20449;&#24687;&#12290;<pre class="prettyprint linenums">/***************//* Hello World *//***************/</pre>&#20107;&#23454;&#35777;&#26126;&#65292;&#19968;&#26086;&#20320;&#38656;&#35201;&#22312;&#26694;&#20869;&#28155;&#21152;&#20960;&#34892;&#25991;&#23383;&#65292;&#24…
从 Linux 终端查看笔记本电池状态和等级的 5 个方法

在 Linux 上有很多这样的实用工具,而且可以在命令行使用。Media

via https://linux.cn/article-10353-1.html
&#20174; Linux &#32456;&#31471;&#26597;&#30475;&#31508;&#35760;&#26412;&#30005;&#27744;&#29366;&#24577;&#21644;&#31561;&#32423;&#30340; 5 &#20010;&#26041;&#27861;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/16/201147imjo55telvtievof.jpg">Media</a>&#25105;&#20204;&#21487;&#20197;&#36731;&#26494;&#22320;&#36890;&#36807;&#22270;&#24418;&#21270;&#30028;&#38754;&#26597;&#30475;&#24403;&#21069;&#30005;&#37327;&#30334;&#20998;&#27604;&#12289;&#26159;&#21542;&#22312;&#20805;&#30005;&#20197;&#21450;&#24403;&#21069;&#30005;&#37327;&#36824;&#21487;&#20197;&#20351;&#29992;&#22810;&#38271;&#26102;&#38388;&#31561;&#30005;&#27744;&#29366;&#24577;&#65292;&#20294;&#26159;&#21364;&#26080;&#27861;&#26597;&#30475;&#30005;&#27744;&#20581;&#24247;&#24230;&#31561;&#30456;&#20851;&#20449;&#24687;&#12290;&#22312;&#36825;&#31687;&#25991;&#31456;&#23601;&#26159;&#20026;&#20102;&#35299;&#20915;&#36825;&#20123;&#38382;&#39064;&#12290;&#22312; Linux &#19978;&#26377;&#24456;&#22810;&#36825;&#26679;&#30340;&#23454;&#29992;&#24037;&#20855;&#65292;&#32780;&#19988;&#21487;&#20197;&#22312;&#21629;&#20196;&#34892;&#20351;&#29992;&#12290;&#36825;&#31687;&#25991;&#31456;&#20170;&#22825;&#23601;&#35201;&#25506;&#35752;&#36825;&#20010;&#20027;&#39064;&#65292;&#25105;&#20250;&#23613;&#25105;&#25152;&#33021;&#30340;&#35206;&#30422;&#23613;&#21487;&#33021;&#22810;&#30340;&#20449;&#24687;&#12290;&#27599;&#26376;&#26816;&#26597;&#19968;&#27425;&#20320;&#30340;&#30005;&#27744;&#20581;&#24247;&#24230;&#26159;&#19968;&#20010;&#24456;&#22909;&#30340;&#24819;&#27861;&#12290;&#23427;&#21487;&#20197;&#24110;&#20320;&#26816;&#26597;&#20320;&#24403;&#21069;&#36935;&#21040;&#30340;&#38382;&#39064;&#26159;&#21542;&#19982;&#30005;&#27744;&#25110;&#32773;&#20805;&#30005;&#30456;&#20851;&#12290;&#21516;&#26102;&#65292;&#25105;&#20204;&#20063;&#21487;&#20197;&#26597;&#30475;&#30005;&#27744;&#27169;&#32452;&#21517;&#31216;&#12289;&#30005;&#28304;&#12289;&#21378;&#21830;&#20197;&#21450;&#30005;&#27744;&#35268;&#26684;&#31561;&#12290;&#30005;&#28304;&#31649;&#29702;&#26159;&#22312;&#19981;&#20351;&#29992;&#26102;&#20851;&#38381;&#30005;&#28304;&#25110;&#32773;&#20999;&#25442;&#31995;&#32479;&#30340;&#32452;&#20214;&#21040;&#20302;&#32791;&#27169;&#24335;&#30340;&#19968;&#31181;&#21151;&#33021;&#12290;&#20960;&#31181;&#22312; Linux &#19979;&#26816;&#26597;&#30005;&#27744;&#29366;&#24577;&#30340;&#23454;&#29992;&#24037;&#20855;upower&#65306;&#26159;&#19968;&#20010;&#21629;&#20196;&#34892;&#24037;&#20855;&#65292;&#20854;&#25552;&#20379;&#20102;&#32599;&#21015;&#31995;&#32479;&#20013;&#30005;&#28304;&#30340;&#25509;&#21475;&#12290;acpi&#65306;&#26174;&#31034;&#26469;&#33258; /proc &#25110;&#32773; /sys &#25991;&#20214;&#31995;&#32479;&#20013;&#30340;&#19968;&#20123;&#20449;&#24687;&#65292;&#20363;&#22914;&#30005;&#27744;&#29366;&#24577;&#25110;&#32773;&#28909;&#37327;&#20449;&#24687;&#12290;batstat&#65306;&#26159;&#19968;&#20010;&#20026; Linux &#25171;&#21360;&#30005;&#27744;&#29366;&#24577;&#30340;&#21629;&#20196;&#34892;&#24037;&#20855;&#12290;tlp&#65306;&#21487;&#20197;&#20026;&#20320;&#24102;&#26469;&#26356;&#39640;&#32423;&#30340;&#30005;&#28304;&#31649;&#29702;&#65292;&#32780;&#26080;&#38656;&#20462;&#25913;&#20219;&#20309;&#37197;&#32622;&#12290;class file&#65306;&#36825;&#20010; sysfs &#25991;&#20214;&#31995;&#32479;&#26159;&#19968;&#20010;&#25552;&#20379;&#20102;&#20869;&#26680;&#25968;&#25454;&#32467;&#26500;&#25509;&#21475;&#30340;&#20266;&#25991;&#20214;&#31995;&#32479;&#12290;&#22914;&#20309;&#20351;&#29992; upower &#21629;&#20196;&#26816;&#26597;&#31508;&#35760;&#26412;&#30005;&#27744;&#29366;&#24577;<a href="https://upower.freedesktop.org/">upower</a> &#26159;&#19968;&#20010;&#21629;&#20196;&#34892;&#24037;&#20855;&#65292;&#20854;&#25552;&#20379;&#20102;&#32599;&#21015;&#31995;&#32479;&#20013;&#30005;&#28304;&#30340;&#25509;&#21475;&#12290;&#23427;&#22312;&#20320;&#30340;&#30005;&#33041;&#19978;&#21487;&#20197;&#25511;&#21046;&#19981;&#21516;&#25805;&#20316…
制定开源战略的免费指南

了解如何使用 TODO Group 的成熟实践,使您的组织的开源软件目标与您的业务目标保持一致。Media

via https://linux.cn/article-10354-1.html
&#21046;&#23450;&#24320;&#28304;&#25112;&#30053;&#30340;&#20813;&#36153;&#25351;&#21335;

&#20102;&#35299;&#22914;&#20309;&#20351;&#29992; TODO Group &#30340;&#25104;&#29087;&#23454;&#36341;&#65292;&#20351;&#24744;&#30340;&#32452;&#32455;&#30340;&#24320;&#28304;&#36719;&#20214;&#30446;&#26631;&#19982;&#24744;&#30340;&#19994;&#21153;&#30446;&#26631;&#20445;&#25345;&#19968;&#33268;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/16/203806ezd0j0tcatkjukkt.jpg">Media</a>&#22823;&#22810;&#25968;&#20351;&#29992;&#24320;&#28304;&#30340;&#20844;&#21496;&#37117;&#20102;&#35299;&#20854;&#21830;&#19994;&#20215;&#20540;&#65292;&#20294;&#20182;&#20204;&#21487;&#33021;&#32570;&#20047;&#25112;&#30053;&#24615;&#22320;&#23454;&#26045;&#24320;&#28304;&#35745;&#21010;&#21644;&#33719;&#24471;&#20840;&#37096;&#22238;&#25253;&#30340;&#24037;&#20855;&#12290;&#26681;&#25454; <a href="https://thenewstack.io/open-source-culture-starts-with-programs-and-policies/">The New Stack</a> &#26368;&#36817;&#30340;&#19968;&#39033;&#35843;&#26597;&#65292;“&#24320;&#28304;&#35745;&#21010;&#30340;&#19977;&#22823;&#22909;&#22788;&#26159; 1&#65289;&#25552;&#39640;&#20102;&#23545;&#24320;&#28304;&#30340;&#35748;&#35782;&#65292;2&#65289;&#25552;&#39640;&#20102;&#24320;&#21457;&#21608;&#26399;&#30340;&#36895;&#24230;&#21644;&#28789;&#27963;&#24615;&#65292;&#20197;&#21450; 3&#65289;&#26356;&#22909;&#30340;&#35768;&#21487;&#35777;&#21512;&#35268;&#24615;&#12290;”&#36816;&#20316;&#19968;&#20010;&#24320;&#28304;&#35745;&#21010;&#21150;&#20844;&#23460;&#28041;&#21450;&#21040;&#21019;&#24314;&#31574;&#30053;&#26469;&#24110;&#21161;&#20320;&#23450;&#20041;&#21644;&#23454;&#26045;&#20320;&#30340;&#26041;&#27861;&#65292;&#24182;&#34913;&#37327;&#20320;&#30340;&#36827;&#24230;&#12290;&#30001; Linux &#22522;&#37329;&#20250;&#19982; TODO Group &#21512;&#20316;&#24320;&#21457;&#30340;<a href="https://www.linuxfoundation.org/resources/open-source-guides/">&#20225;&#19994;&#24320;&#28304;&#25351;&#21335;</a>&#22522;&#20110;&#22810;&#24180;&#30340;&#32463;&#39564;&#21644;&#23454;&#36341;&#25552;&#20379;&#20102;&#19987;&#19994;&#24320;&#28304;&#30693;&#35782;&#12290;&#26368;&#26032;&#30340;&#25351;&#21335;&#20013;&#65292;<a href="https://www.linuxfoundation.org/resources/open-source-guides/setting-an-open-source-strategy/">&#35774;&#32622;&#24320;&#28304;&#25112;&#30053;</a>&#35814;&#32454;&#20171;&#32461;&#20102;&#21046;&#23450;&#25112;&#30053;&#21644;&#30830;&#20445;&#25104;&#21151;&#20043;&#36335;&#30340;&#22522;&#26412;&#27493;&#39588;&#12290;&#26681;&#25454;&#35813;&#25351;&#21335;&#65292;“&#20320;&#30340;&#24320;&#28304;&#25112;&#30053;&#23558;&#31649;&#29702;&#12289;&#21442;&#19982;&#21644;&#21019;&#24314;&#24320;&#28304;&#36719;&#20214;&#30340;&#35745;&#21010;&#19982;&#35745;&#21010;&#25152;&#26381;&#21153;&#30340;&#19994;&#21153;&#30446;&#26631;&#32852;&#31995;&#36215;&#26469;&#12290;&#36825;&#21487;&#20197;&#24320;&#36767;&#35768;&#22810;&#26426;&#20250;&#24182;&#20419;&#36827;&#21019;&#26032;&#12290;”&#35813;&#25351;&#21335;&#28085;&#30422;&#20197;&#19979;&#20027;&#39064;&#65306;&#20026;&#20160;&#20040;&#21046;&#23450;&#25112;&#30053;&#65311;&#20320;&#30340;&#25112;&#30053;&#25991;&#20214;&#25112;&#30053;&#26041;&#27861;&#20851;&#38190;&#32771;&#34385;&#22240;&#32032;&#20854;&#20182;&#32452;&#25104;&#30830;&#23450;&#25237;&#36164;&#22238;&#25253;&#29575;&#25237;&#36164;&#30446;&#26631;&#36825;&#37324;&#20851;&#38190;&#30340;&#31532;&#19968;&#27493;&#26159;&#21019;&#24314;&#21644;&#23558;&#20320;&#30340;&#24320;&#28304;&#31574;&#30053;&#24418;&#25104;&#25991;&#23383;&#65292;&#35813;&#31574;&#30053;&#23558;“&#24110;&#21161;&#20320;&#26368;&#22823;&#38480;&#24230;&#22320;&#25552;&#39640;&#32452;&#32455;&#20174;&#24320;&#28304;&#20013;&#33719;&#24471;&#30340;&#21033;&#30410;&#12290;”&#21516;&#26102;&#65292;&#20320;&#35814;&#32454;&#30340;&#31574;&#30053;&#21487;&#20197;&#24110;&#21161;&#20320;&#36991;&#20813;&#22240;&#38169;&#35823;&#32780;&#23548;&#33268;…
TLDR 页:Linux 手册页的简化替代品

有时候,当你在寻找命令的基本信息时,man 就会显得有点庞杂。为了解决这个问题,人们创建了TLDR 页。Media

via https://linux.cn/article-10355-1.html
TLDR &#39029;&#65306;Linux &#25163;&#20876;&#39029;&#30340;&#31616;&#21270;&#26367;&#20195;&#21697;

<a href="https://fossbytes.com/wp-content/uploads/2017/11/tldr-page-ubuntu.jpg">tldr page ubuntu</a>&#22312;&#32456;&#31471;&#19978;&#20351;&#29992;&#21508;&#31181;&#21629;&#20196;&#25191;&#34892;&#37325;&#35201;&#20219;&#21153;&#26159; Linux &#26700;&#38754;&#20307;&#39564;&#20013;&#19981;&#21487;&#25110;&#32570;&#30340;&#19968;&#37096;&#20998;&#12290;Linux &#36825;&#20010;&#24320;&#28304;&#25805;&#20316;&#31995;&#32479;&#25317;&#26377;<a href="https://fossbytes.com/a-z-list-linux-command-line-reference/">&#20016;&#23500;&#30340;&#21629;&#20196;</a>&#65292;&#20219;&#20309;&#29992;&#25143;&#37117;&#26080;&#27861;&#20840;&#37096;&#35760;&#20303;&#25152;&#26377;&#36825;&#20123;&#21629;&#20196;&#12290;&#32780;&#20351;&#20107;&#24773;&#21464;&#24471;&#26356;&#22797;&#26434;&#30340;&#26159;&#65292;&#27599;&#20010;&#21629;&#20196;&#37117;&#26377;&#33258;&#24049;&#30340;&#19968;&#32452;&#24102;&#26469;&#20016;&#23500;&#30340;&#21151;&#33021;&#30340;&#36873;&#39033;&#12290;&#20026;&#20102;&#35299;&#20915;&#36825;&#20010;&#38382;&#39064;&#65292;&#20154;&#20204;&#21019;&#24314;&#20102;<a href="https://fossbytes.com/linux-lexicon-man-pages-navigation/">&#25163;&#20876;&#39029;</a>man page&#65292;&#65288;&#25163;&#20876; —— man &#26159; manual &#30340;&#32553;&#20889;&#65289;&#12290;&#39318;&#20808;&#65292;&#23427;&#26159;&#29992;&#33521;&#25991;&#20889;&#25104;&#30340;&#65292;&#21253;&#21547;&#20102;&#22823;&#37327;&#20851;&#20110;&#19981;&#21516;&#21629;&#20196;&#30340;&#28145;&#20837;&#20449;&#24687;&#12290;&#26377;&#26102;&#20505;&#65292;&#24403;&#20320;&#22312;&#23547;&#25214;&#21629;&#20196;&#30340;&#22522;&#26412;&#20449;&#24687;&#26102;&#65292;&#23427;&#23601;&#20250;&#26174;&#24471;&#26377;&#28857;&#24222;&#26434;&#12290;&#20026;&#20102;&#35299;&#20915;&#36825;&#20010;&#38382;&#39064;&#65292;&#20154;&#20204;&#21019;&#24314;&#20102;<a href="https://github.com/tldr-pages/tldr">TLDR &#39029;</a>&#12290;&#20160;&#20040;&#26159; TLDR &#39029;&#65311;TLDR &#39029;&#30340; GitHub &#20179;&#24211;&#23558;&#20854;&#25551;&#36848;&#20026;&#31616;&#21270;&#30340;&#12289;&#31038;&#21306;&#39537;&#21160;&#30340;&#25163;&#20876;&#39029;&#38598;&#21512;&#12290;&#22312;&#23454;&#38469;&#31034;&#20363;&#30340;&#24110;&#21161;&#19979;&#65292;&#21162;&#21147;&#35753;&#20351;&#29992;&#25163;&#20876;&#39029;&#30340;&#20307;&#39564;&#21464;&#24471;&#26356;&#31616;&#21333;&#12290;&#22914;&#26524;&#36824;&#19981;&#30693;&#36947;&#65292;TLDR &#21462;&#33258;&#20114;&#32852;&#32593;&#30340;&#24120;&#35265;&#20442;&#35821;&#65306;&#22826;&#38271;&#27809;&#35835;Too Long Didn’t Read&#12290;&#22914;&#26524;&#20320;&#24819;&#27604;&#36739;&#19968;&#19979;&#65292;&#35753;&#25105;&#20204;&#20197; tar &#21629;&#20196;&#20026;&#20363;&#12290; &#36890;&#24120;&#65292;&#25163;&#20876;&#39029;&#30340;&#31687;&#24133;&#20250;&#36229;&#36807; 1000 &#34892;&#12290;tar &#26159;&#19968;&#20010;&#24402;&#26723;&#23454;&#29992;&#31243;&#24207;&#65292;&#32463;&#24120;&#19982; bzip &#25110; gzip &#31561;&#21387;&#32553;&#26041;&#27861;&#32467;&#21512;&#20351;&#29992;&#12290;&#30475;&#19968;&#19979;&#23427;&#30340;&#25163;&#20876;&#39029;&#65306;<a href="https://fossbytes.com/wp-content/uploads/2017/11/tar-man-page.jpg">tar man page</a>&#32780;&#21478;&#19968;&#26041;&#38754;&#65292;TLDR &#39029;&#38754;&#35753;&#20320;&#21482;&#26159;&#27983;&#35272;&#19968;&#19979;&#21629;&#20196;&#65292;&#30475;&#30475;&#23427;&#26159;&#22914;&#20309;&#24037;&#20316;&#30340;&#12290; tar &#30340; TLDR &#39029;&#38754;&#30475;&#36215;&#26469;&#20687;&#36825;&#26679;&#65292;&#24182;&#24102;&#26377;&#19968;&#20123;&#26041;&#20415;&#30340;&#20363;&#23376; —— &#20320;&#21487;&#20197;&#20351;&#29992;&#27492;&#23454;&#29992;&#31243;&#24207;&#23436;&#25104;&#30340;&#26368;&#24120;&#35265;&#20219;&#21153;&#65306;<a href="https://fossbytes.com/wp-content/uploads/2017/11/tar-tldr-page.jpg">tar tldr pag…
学习人工智能如何入门

在你开始从事人工智能之前,你需要先了解人类的智能。Media

via https://linux.cn/article-10356-1.html