锘??xml version="1.0" encoding="utf-8" standalone="yes"?>C++鍗氬-alantop's blog http://www.kffa.tw/alantop/閲忓寲瓒嬪娍浜ゆ槗zh-cnSun, 25 Aug 2019 20:40:17 GMTSun, 25 Aug 2019 20:40:17 GMT60mongodb妯$硦鏌?#29831;?/title><link>http://www.kffa.tw/alantop/archive/2019/08/23/216734.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Fri, 23 Aug 2019 15:10:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2019/08/23/216734.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216734.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/08/23/216734.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216734.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216734.html</trackback:ping><description><![CDATA[<br /><div>db.sites.find(</div><div>{ "name": {$regex:/鐢典俊/}</div><div>    }</div><div>)</div><img src ="http://www.kffa.tw/alantop/aggbug/216734.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-08-23 23:10 <a href="http://www.kffa.tw/alantop/archive/2019/08/23/216734.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>tb 閲?#37922;?#23534;鍗曡褰?/title><link>http://www.kffa.tw/alantop/archive/2019/08/20/216715.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 20 Aug 2019 04:32:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2019/08/20/216715.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216715.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/08/20/216715.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216715.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216715.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://www.kffa.tw/alantop/archive/2019/08/20/216715.html'>闃?#29831;?#37711;ㄦ枃</a><img src ="http://www.kffa.tw/alantop/aggbug/216715.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-08-20 12:32 <a href="http://www.kffa.tw/alantop/archive/2019/08/20/216715.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>vs 2017 鍜?vs 2019搴忓垪鍙?/title><link>http://www.kffa.tw/alantop/archive/2019/08/18/216706.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sat, 17 Aug 2019 16:35:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2019/08/18/216706.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216706.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/08/18/216706.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216706.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216706.html</trackback:ping><description><![CDATA[vs2017涓?#28051;?#37911;堬細KBJFW-NXHK6-W4WJM-CRMQB-G3CDH<br /> vs2017浼?#28051;?#37911;堬細NJVYC-BMHX2-G77MM-4XJMR-6Q8QF <br /> vs2019浼?#28051;?#37911;堬細BF8Y8-GN2QH-T84XB-QVY3B-RC4DF<br /> vs2019涓?#28051;?#37911;堬細NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y</p> <img src ="http://www.kffa.tw/alantop/aggbug/216706.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-08-18 00:35 <a href="http://www.kffa.tw/alantop/archive/2019/08/18/216706.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>centos 7.6 鐩戞帶缃?#37719;?#23092;?#38322;?/title><link>http://www.kffa.tw/alantop/archive/2019/08/13/216675.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 13 Aug 2019 13:49:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2019/08/13/216675.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216675.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/08/13/216675.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216675.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216675.html</trackback:ping><description><![CDATA[<div>1.瀹夎</div><div>yum install iftop -y</div><div></div><div>2.鏌ョ湅缃?#37719;?#23092;?#38322;?/div><div>iftop -i eth1</div><div></div><div>3.鐩戞帶鐗?#28729;歩p鐨?#23092;?#38322;?/div><div>鐩戞帶鏌?#28051;?#37911;?#28729;欼P鐨勫甫瀹借闂儏鍐碉細</div><div>iftop -i eth1 -B -F 182.92.***.20</div><div>鏄剧ず182.92.***.20杩?#28051;狪P涓庢湇鍔″櫒鐨?#32515;?#37719;th1浜?#27996;?#37928;勬暟鎹?#38322;?#38171;?#37719;?#28003;?#37828;疊yte銆?/div><div></div><div>4.閫鍑?/div><div>q</div><div></div><div>5.鏄剧ず鐣岄潰璇?#37828;庯細</div><div>"<="涓?=>"锛岃〃绀?#37928;勬槸娴?#38322;?#37928;勬?#29808;悜</div><div>"TX"?#32048;?#31904;缃?#37719;?#37721;戝嚭鐨?#23092;?#38322;?/div><div>"RX"?#32048;缃?#37719;℃帴鏀?#23092;?#38322;?/div><div>"TOTAL"?#32048;缃?#37719;?#37721;?#38315;佹帴鏀舵?#23092;?#38322;?/div><div>"cum"?#32048;iftop寮濮?#26473;?#29723;屽埌褰撳?#23942;椂闂?#37904;?#37928;勬?#23092;?#38322;?/div><div>"peak"?#32048;缃?#37719;?#23092;?#38322;忓嘲鍊?/div><div>"rates"锛氬垎鍒?#29723;?#32448;烘渶杩?s銆?0s銆?0s 鐨勫钩鍧?#23092;?#38322;?/div><img src ="http://www.kffa.tw/alantop/aggbug/216675.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-08-13 21:49 <a href="http://www.kffa.tw/alantop/archive/2019/08/13/216675.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>tb寮鎷撹?#37922;?#32510;?/title><link>http://www.kffa.tw/alantop/archive/2019/07/30/216613.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 30 Jul 2019 11:34:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2019/07/30/216613.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216613.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/07/30/216613.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216613.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216613.html</trackback:ping><description><![CDATA[<div>PlotString ("demo","▽▽▲▼",high*1.2,Red);</div><img src ="http://www.kffa.tw/alantop/aggbug/216613.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-07-30 19:34 <a href="http://www.kffa.tw/alantop/archive/2019/07/30/216613.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>tb 寮鎷撹?璺ㄥ懆鏈?#25652;?#37922;?/title><link>http://www.kffa.tw/alantop/archive/2019/07/25/216604.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Thu, 25 Jul 2019 09:23:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2019/07/25/216604.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216604.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/07/25/216604.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216604.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216604.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->Params<br /><span style="color: #008000; ">//</span><span style="color: #008000; ">姝?#28598;勬坊鍔?#37721;傛暟</span><span style="color: #008000; "><br /></span><br />Vars<br />Numeric ma1;<br />Numeric ma2;<br /><span style="color: #0000FF; ">bool</span>    boollong;<br /><span style="color: #0000FF; ">bool</span>    boolshort;<br /><span style="color: #0000FF; ">bool</span>    condition1;<br />Bool    condition2;<br />Begin<br />data0.ma1 =data0.Average(data0.close,5);<br />data0.ma2 =data0.Average(data0.close,20);<br /><br /><br />data0.PlotNumeric("data0.ma1",data0.ma1);<br />data0.PlotNumeric("data0.ma2",data0.ma2);<br />data1.PlotNumeric("data1.ma1",data0.ma1);<br />data1.PlotNumeric("data1.ma2",data0.ma2);<br /><br />data0.boollong =data0.CrossOver(data0.ma1,data0.ma2);<br />data0.boolshort =data0.Crossunder(data0.ma1,data0.ma2);<span style="color: #008000; ">//</span><span style="color: #008000; ">澶у懆鏈?#23534;浠撴潯浠?/span><span style="color: #008000; "><br /></span><br />data1.condition1;<span style="color: #008000; ">//</span><span style="color: #008000; "> =</span><span style="color: #008000; "><br /></span>data1.condition2;<span style="color: #008000; ">//</span><span style="color: #008000; "> =灏忓懆鏈?#23534;浠撴潯浠?/span><span style="color: #008000; "><br /></span>If(data0.boollong anddata1.condition1 anddata1.MarketPosition<>1)<br />{<br />data1.buy(1,data1.open);<br />}<br /><span style="color: #0000FF; ">if</span>(data[0].boolshort anddata1.condition2 anddata1.MarketPosition<>-1)<br />{<br />data1.sell(1,data1.open);<br />}<br />End</div><img src ="http://www.kffa.tw/alantop/aggbug/216604.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-07-25 17:23 <a href="http://www.kffa.tw/alantop/archive/2019/07/25/216604.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>tb璺ㄥ懆鏈?#37713;芥暟http://www.kffa.tw/alantop/archive/2019/07/19/216571.htmlAlanTopAlanTopFri, 19 Jul 2019 14:26:00 GMThttp://www.kffa.tw/alantop/archive/2019/07/19/216571.htmlhttp://www.kffa.tw/alantop/comments/216571.htmlhttp://www.kffa.tw/alantop/archive/2019/07/19/216571.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216571.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216571.html
//------------------------------------------------------------------------
// 绠绉? k_Bar
// 鍚嶇О: 璺ㄥ懆鏈?#37713;芥暟--鍩虹BAR?#26271;鎹?br />// 绫?#37714;? 鐢ㄦ埛鍑芥暟
// 绫诲瀷: 鐢ㄦ埛鍑芥暟
// 杈?#37713;? ?#26271;鍊煎瀷
//------------------------------------------------------------------------


Params 
    Numeric TimeFrame(
1440);    
        
// 鐩爣鏃?#38338;村懆鏈燂細?#23516;鏈?#32510;?4?#25030;锛?0320)锛屽懆绾?7澶?10080)锛?#37827;?#32510;?24灏?#37827;?#38171;?440锛?br />        // 鍏?#28000;?#37827;?#37712;?#37928;勫懆鏈熺瓑浜?#37929;?#25652;?#37928;勫垎?#25363;?#26271;锛屽?#20646;細1灏?#37827;?60锛?nbsp;30?#22414;?#25363;=30銆?#37510;?#37510;?br />        // 1?#22414;閽熷浘琛?#38171;?#37824;?#37816;?#28051;?#29785;勫垯?#22414;?#25363;?#26271;锛屽3?#22414;?#25363;銆??#22414;?#25363;銆?4?#22414;閽熺瓑
        
    Numeric BarsBack(
0); 
        
// 鐩爣鏃?#38338;村懆鏈烞AR鍋忕?#20249;細
        
// 1--琛?#32448;?#35120;撳墠?#25030;鏈?#28051;?#37928;?#35120;撳墠BAR瀵?#25652;?#37929;爣?#25030;鏈?#37928;勫墠涓鏍笲AR
        
// 0--琛?#32448;?#35120;撳墠?#25030;鏈?#28051;?#37928;?#35120;撳墠BAR瀵?#25652;?#37929;爣?#25030;鏈?#37928;?#35120;撳墠BAR鎴?#23005;㈠埌鐩墠涓烘鐨凚AR?#26271;鎹?#37706;?/span>

Vars
    Numeric TradeDate;                
// 褰撳墠K绾?#28729;?#38340;?#27996;ゆ槗鏃?#37832;?#38171;?#28051;昏瑙?#37712;?#28598;?#37929;?#38338;?#26864;?#38171;?/span>
    Numeric TradeHour;                // 褰撳墠K绾?#28729;?#38340;?#27996;ゆ槗鏃?#38338;?#38171;?#28751;?#37827;?#38171;?/span>
    Numeric TradeMinute;            // 褰撳墠K绾?#28729;?#38340;?#27996;ゆ槗鏃?#38338;?#38171;堝垎?#25363;锛?/span>
    NumericSeries Index;            // 褰撳墠BAR鍦═imeFrame鏃?#38338;村懆鏈?#28051;?#37928;勭儲寮?#37706;?/span>
    Numeric SessionStartHour;        // 褰撳墠K绾?#28729;?#38340;?#37928;?#27996;ゆ槗鏃?#37928;勭涓鑺?#27996;ゆ槗鐨勮搗濮?#37827;?#38338;?#38171;?#28751;?#37827;?#38171;?/span>


    NumericSeries barCnt;            
// 璇?#37721;?#37929;爣?#25030;鏈?#28051;?#28051;鏍笲AR鐨勬暟鎹?#37734;?#35120;撳墠?#25030;鏈?#28051;嬮渶瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_CurBar;        // 褰撳墠BAR鍦?#37929;爣?#25030;鏈?#28051;嬪搴?#37928;凜urrentBar
    Numeric barCntSum;                 // 涓存椂鍙?#38322;?#38171;?#26473;?#37733;?#37929;爣?#25030;鏈熸暟鎹渶瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_Open;            // 鐩爣鏃?#38338;村懆鏈?#37928;?#23534;鐩?#28000;?/span>
    NumericSeries Ht_High;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬渶楂?#28000;?/span>
    NumericSeries Ht_Low;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬渶浣?#28000;?/span>
    NumericSeries Ht_Close;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬敹鐩?#28000;?/span>
    NumericSeries Ht_Vol;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬垚浜?#38322;?/span>
    NumericSeries Ht_OpenInt;        // 鐩爣鏃?#38338;村懆鏈?#37928;勬?#20343;粨閲?/span>
    bool condition(false);            // 鍒?#37826;?#37734;?#37929;爣鏃?#38338;?#37828;?#37722;﹀睘浜?#28051;?#37722;屾?#31538;AR
    Numeric i;
    
Begin

     TradeDate 
= TrueDate(0);         // 鍙?#28729;?#38340;?#27996;ゆ槗鏃?#37832;?br />
    
// 鏍?#37817;甌imeFrame?#22414;鍒?#28598;勭悊
    If(TimeFrame == 40320)            // 鏈?#32510;?/span>
    {
        Index 
= (YearFromDateTime(TradeDate) - 1970* 12 + MonthFromDateTime(TradeDate);
    }
    Else If(TimeFrame 
== 10080)        // ?#25030;绾?/span>
    {
        Index 
= IntPart(DateDiff(19700105,TradeDate)/7);
    }
    Else If(TimeFrame 
== 1440)        // 鏃?#32510;?/span>
    {
        Index 
= DateDiff(19700105,TradeDate);
    }
    Else
    {
        TradeHour 
= HourFromDateTime(Time);
        TradeMinute 
= MinuteFromDateTime(Time);

        
// 鍙?#35120;撳墠?#25639;绉?#38171;?#32471;?#28051;鑺?#27996;ゆ槗鐨?#23534;濮嬪皬鏃舵暟
        SessionStartHour = IntPart(GetSessionStartTime(0)*100);

        
// 瑙?#37712;?灏?#37827;?#37733;?#37928;勬椂闂?#37714;掑垎姣?#26440;?#37911;规畩闂?#26864;?/span>
        If(TimeFrame == 240) SessionStartHour = IIF(SessionStartHour == 21,20,8);
        
        
// ?#23516;褰撳墠BAR瀵?#25652;?#37827;?#38338;?#38171;岄櫎浠imeFrame鐨勫垎?#25363;?#26271;锛屽緱?#22476;鐨勫晢涓虹儲寮?#37706;?#38171;?#32497;?#23534;?#37706;?#37929;?#37722;?#37928;勫湪澶у懆鏈?#28051;婂睘浜?#37722;?#28051;鏍笲AR
        Index = DateDiff(19700105,TradeDate) * (IntPart(1439/TimeFrame)+1+ IntPart((IIF(TradeHour >= SessionStartHour, TradeHour - SessionStartHour,
        TradeHour 
+ 24 - SessionStartHour) * 60 + TradeMinute)/TimeFrame);
    }

    
// 绱?#23534;?#37706;?#28051;?#37722;?#37928;?#38171;屽垯璇?#37828;庡睘浜?#28051;?#37722;孊AR
    condition = Index <> Index[1];

    If(CurrentBar
==0)                // 濡傛灉鏄?#32471;?#28051;鏍笲ar, Ht_CurBar=0
    {
        barCnt 
= 0;
        Ht_CurBar 
= 0;
        Ht_Open 
= Open;
        Ht_High 
= High;
        Ht_Low 
= Low;
        Ht_Close 
= Close;
        Ht_Vol 
= Vol;
        Ht_OpenInt 
= OpenInt;
    }
    Else
    {
        If(Condition)              
        
// 濡傛灉鍦?#37929;爣?#25030;鏈?#28051;?#38171;屽睘浜?#37721;?#28051;鏍筀绾?#38171;屽垯Ht_CurBar鍔?
        {
            barCnt 
= 1;
            Ht_CurBar 
= Ht_CurBar[1+ 1;
            Ht_Open 
= Open;
            Ht_High 
= High;
            Ht_Low 
= Low;
            Ht_Vol 
= Vol;
        }
        Else
        
// 濡傛灉鍦?#37929;爣?#25030;鏈?#28051;?#38171;屽睘浜?#37722;?#28051;鏍筀绾?#38171;屽垯Ht_CurBar涓?#37721;?#38171;?#28003;嗘渶楂?#28000;?#37724;屾渶浣?#28000;?#29781;佽褰?#28000;?#37837;?#37928;?#37721;樺寲锛屾垚浜?#38322;?#29781;?#32497;?#37716;?/span>
        {
            barCnt 
= barCnt[1+ 1;
            Ht_High 
= Max(Ht_High[1],High);
            Ht_Low 
= Min(Ht_Low[1],Low);
            Ht_Vol 
= Ht_Vol[1+ Vol;
        }
        
// 鏀?#37929;?#28000;?#37724;屾?#20343;粨閲?#37804;?#37828;?#37721;栨渶鏂?#37706;?/span>
        Ht_Close = Close;
        Ht_OpenInt 
= OpenInt;
    }

//    FileAppend("c:\\qqqq.txt","DT="+Text(Date+Time)+" Index="+Text(Index)+" CurrentBar="+Text(CurrentBar)+" barCnt="+text(barCnt)+" Ht_CurBar="+text(Ht_CurBar)+" Ht_Open="+text(Ht_Open)+" Ht_High="+text(Ht_High)
//    +" Ht_Low="+Text(Ht_Low)+" Ht_Close="+Text(Ht_Close)+" Ht_Vol="+Text(Ht_Vol)+" Ht_OpenInt="+Text(Ht_OpenInt));
    
    
// ?#22688;?#28528;鍦?#35120;撳墠?#25030;鏈?#37928;勬?#24532;?#31538;AR锛岃褰?#27996;?#28729;?#28725;?#25652;?#37928;?#37929;爣鏃?#38338;村懆鏈?#37928;?#23534;楂?#28003;庢敹?#29905;?#26271;鎹?#37510;?br />    // ?#24116;涓?#37833;ユ妸姣忔?#31538;AR瀵?#25652;?#37928;勬暟鎹?#26473;?#37733;炵粰璋?#37922;?#37832;?#37713;芥暟鐨?#37711;?#23534;?#38171;?#38315;?#26473;?#37711;?#28766;鍙?#38322;?#38171;?/span>
    barCntSum = barCnt ;
    If(BarsBack 
== 0)
    
// 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁?#35120;?#37928;勬槸褰撳墠BAR鎵瀵?#25652;?#37929;爣?#25030;鏈?#37928;?#35120;撳墠BAR鎴?#23005;㈠埌鐩墠涓烘鐨凚AR?#26271;鎹?#37706;?/span>
    {
        barCntSum 
= 0 ;
    }
    
// 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁?#35120;?#37928;勬槸褰撳墠BAR鎵瀵?#25652;?#37929;爣?#25030;鏈?#37928;勫墠涓鏍笲AR鐨勬暟鎹?#37706;?/span>
    Else
    {
        barCntSum 
= barCnt ;
    }

    
// 灏?#37929;爣鏃?#38338;村懆鏈?#28051;?#37928;凚AR?#26271;鎹?#37712;?#37711;?#37711;?#28766;鍙?#38322;?#26473;?#37733;?#29835;?#37922;?#37711;?#23534;?/span>
    SetGlobalVar2("Ht_curbar",Ht_CurBar);
    SetGlobalVar2(
"Ht_open",Ht_Open[barCntSum]);
    SetGlobalVar2(
"Ht_high",Ht_High[barCntSum]);
    SetGlobalVar2(
"Ht_low",Ht_Low[barCntSum]);
    SetGlobalVar2(
"Ht_close",Ht_Close[barCntSum]);
    SetGlobalVar2(
"Ht_vol",Ht_Vol[barCntSum]);
    SetGlobalVar2(
"Ht_openInt",Ht_OpenInt[barCntSum]);

    
// 灏?#29831;?#37721;?#28598;у懆鏈熸暟鎹?#37928;勫洖婧疊AR?#26271;浣?#28051;?#37713;芥暟鐨勮繑鍥?#37706;?#26473;?#37733;?/span>
    Return barCnt;
    
End


 
/* 
Params 
    Numeric TimeFrame(1440);    
        // 鐩爣鏃?#38338;村懆鏈燂細?#23516;鏈?#32510;?4?#25030;锛?0320)锛屽懆绾?7澶?10080)锛?#37827;?#32510;?24灏?#37827;?#38171;?440锛?br />        // 鍏?#28000;?#37827;?#37712;?#37928;勫懆鏈熺瓑浜?#37929;?#25652;?#37928;勫垎?#25363;?#26271;锛屽?#20646;細1灏?#37827;?60锛?nbsp;30?#22414;?#25363;=30銆?#37510;?#37510;?br />        // 1?#22414;閽熷浘琛?#38171;?#37824;?#37816;?#28051;?#29785;勫垯?#22414;?#25363;?#26271;锛屽3?#22414;?#25363;銆??#22414;?#25363;銆?4?#22414;閽熺瓑
        
    Numeric BarsBack(0); 
        // 鐩爣鏃?#38338;村懆鏈烞AR鍋忕?#20249;細
        // 1--琛?#32448;?#35120;撳墠?#25030;鏈?#28051;?#37928;?#35120;撳墠BAR瀵?#25652;?#37929;爣?#25030;鏈?#37928;勫墠涓鏍笲AR
        // 0--琛?#32448;?#35120;撳墠?#25030;鏈?#28051;?#37928;?#35120;撳墠BAR瀵?#25652;?#37929;爣?#25030;鏈?#37928;?#35120;撳墠BAR鎴?#23005;㈠埌鐩墠涓烘鐨凚AR?#26271;鎹?#37706;?br />
Vars
    Numeric TradeDate;                // 褰撳墠K绾?#28729;?#38340;?#27996;ゆ槗鏃?#37832;?#38171;?#28051;昏瑙?#37712;?#28598;?#37929;?#38338;?#26864;?#38171;?br />    Numeric TradeHour;                // 褰撳墠K绾?#28729;?#38340;?#27996;ゆ槗鏃?#38338;?#38171;?#28751;?#37827;?#38171;?br />    Numeric TradeMinute;            // 褰撳墠K绾?#28729;?#38340;?#27996;ゆ槗鏃?#38338;?#38171;堝垎?#25363;锛?br />    NumericSeries Index;            // 褰撳墠BAR鍦═imeFrame鏃?#38338;村懆鏈?#28051;?#37928;勭儲寮?#37706;?br />    Numeric SessionStartHour;        // 褰撳墠K绾?#28729;?#38340;?#37928;?#27996;ゆ槗鏃?#37928;勭涓鑺?#27996;ゆ槗鐨勮搗濮?#37827;?#38338;?#38171;?#28751;?#37827;?#38171;?br />

    NumericSeries barCnt;            // 璇?#37721;?#37929;爣?#25030;鏈?#28051;?#28051;鏍笲AR鐨勬暟鎹?#37734;?#35120;撳墠?#25030;鏈?#28051;嬮渶瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_CurBar;        // 褰撳墠BAR鍦?#37929;爣?#25030;鏈?#28051;嬪搴?#37928;凜urrentBar
    Numeric barCntSum;                 // 涓存椂鍙?#38322;?#38171;?#26473;?#37733;?#37929;爣?#25030;鏈熸暟鎹渶瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_Open;            // 鐩爣鏃?#38338;村懆鏈?#37928;?#23534;鐩?#28000;?br />    NumericSeries Ht_High;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬渶楂?#28000;?br />    NumericSeries Ht_Low;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬渶浣?#28000;?br />    NumericSeries Ht_Close;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬敹鐩?#28000;?br />    NumericSeries Ht_Vol;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬垚浜?#38322;?br />    NumericSeries Ht_OpenInt;        // 鐩爣鏃?#38338;村懆鏈?#37928;勬?#20343;粨閲?br />    bool condition(false);            // 鍒?#37826;?#37734;?#37929;爣鏃?#38338;?#37828;?#37722;﹀睘浜?#28051;?#37722;屾?#31538;AR
    Numeric i;
    
Begin

     TradeDate = TrueDate(0);         // 鍙?#28729;?#38340;?#27996;ゆ槗鏃?#37832;?br />
    // 鏍?#37817;甌imeFrame?#22414;鍒?#28598;勭悊
    If(TimeFrame == 40320)            // 鏈?#32510;?br />    {
        Index = (YearFromDateTime(TradeDate) - 1970) * 12 + MonthFromDateTime(TradeDate);
    }
    Else If(TimeFrame == 10080)        // ?#25030;绾?br />    {
        Index = IntPart(DateDiff(19700105,TradeDate)/7);
    }
    Else If(TimeFrame == 1440)        // 鏃?#32510;?br />    {
        Index = DateDiff(19700105,TradeDate);
    }
    Else
    {
        TradeHour = HourFromDateTime(Time);
        TradeMinute = MinuteFromDateTime(Time);

        // 鍙?#35120;撳墠?#25639;绉?#38171;?#32471;?#28051;鑺?#27996;ゆ槗鐨?#23534;濮嬪皬鏃舵暟
        SessionStartHour = IntPart(GetSessionStartTime(0)*100);
        
        // ?#23516;褰撳墠BAR瀵?#25652;?#37827;?#38338;?#38171;岄櫎浠imeFrame鐨勫垎?#25363;?#26271;锛屽緱?#22476;鐨勫晢涓虹儲寮?#37706;?#38171;?#32497;?#23534;?#37706;?#37929;?#37722;?#37928;勫湪澶у懆鏈?#28051;婂睘浜?#37722;?#28051;鏍笲AR
        Index = DateDiff(19700105,TradeDate) * (IntPart(1440/TimeFrame)+1) + IntPart((IIF(TradeHour >= SessionStartHour, TradeHour - SessionStartHour,TradeHour + 24 - SessionStartHour) * 60 + TradeMinute)/TimeFrame);
    }

    // 绱?#23534;?#37706;?#28051;?#37722;?#37928;?#38171;屽垯璇?#37828;庡睘浜?#28051;?#37722;孊AR
    condition = Index <> Index[1];

    If(CurrentBar==0)                // 濡傛灉鏄?#32471;?#28051;鏍笲ar, Ht_CurBar=0
    {
        barCnt = InvalidNumeric;
        Ht_CurBar = InvalidNumeric;
        Ht_Open = InvalidNumeric;
        Ht_High = InvalidNumeric;
        Ht_Low = InvalidNumeric;
        Ht_Close = InvalidNumeric;
        Ht_Vol = InvalidNumeric;
        Ht_OpenInt = InvalidNumeric;
    }
    Else
    {
        If(Condition)              
        // 濡傛灉鍦?#37929;爣?#25030;鏈?#28051;?#38171;屽睘浜?#37721;?#28051;鏍筀绾?#38171;屽垯Ht_CurBar鍔?
        {
            If(Ht_CurBar[1] == InvalidNumeric)
            {
                Ht_CurBar = 0;
            }
            Else
            {
                Ht_CurBar = Ht_CurBar[1] + 1;
            }
            barCnt = 1;
            Ht_Open = Open;
            Ht_High = High;
            Ht_Low = Low;
            Ht_Vol = Vol;
        }
        Else
        // 濡傛灉鍦?#37929;爣?#25030;鏈?#28051;?#38171;屽睘浜?#37722;?#28051;鏍筀绾?#38171;屽垯Ht_CurBar涓?#37721;?#38171;?#28003;嗘渶楂?#28000;?#37724;屾渶浣?#28000;?#29781;佽褰?#28000;?#37837;?#37928;?#37721;樺寲锛屾垚浜?#38322;?#29781;?#32497;?#37716;?br />        {
            If(Ht_CurBar[1] <> InvalidNumeric)
            {
                barCnt = barCnt[1] + 1;
                Ht_High = Max(Ht_High[1],High);
                Ht_Low = Min(Ht_Low[1],Low);
                Ht_Vol = Ht_Vol[1] + Vol;
            }
        }
        // 鏀?#37929;?#28000;?#37724;屾?#20343;粨閲?#37804;?#37828;?#37721;栨渶鏂?#37706;?br />        If(Ht_CurBar <> InvalidNumeric)
        {
            Ht_Close = Close;
            Ht_OpenInt = OpenInt;
        }
    }
    
    //Commentary("barCnt = "+Text(barCnt));
    //Commentary("Ht_CurBar="+text(Ht_CurBar));
    
    //FileAppend("c:\\qqqq.txt","DT="+Text(Date+Time)+" Index="+Text(Index)+" CurrentBar="+Text(CurrentBar)+" barCnt="+text(barCnt)+" Ht_CurBar="+text(Ht_CurBar)+" Ht_Open="+text(Ht_Open)+" Ht_High="+text(Ht_High)
    //+" Ht_Low="+Text(Ht_Low)+" Ht_Close="+Text(Ht_Close)+" Ht_Vol="+Text(Ht_Vol)+" Ht_OpenInt="+Text(Ht_OpenInt));
    
    // ?#22688;?#28528;鍦?#35120;撳墠?#25030;鏈?#37928;勬?#24532;?#31538;AR锛岃褰?#27996;?#28729;?#28725;?#25652;?#37928;?#37929;爣鏃?#38338;村懆鏈?#37928;?#23534;楂?#28003;庢敹?#29905;?#26271;鎹?#37510;?br />    // ?#24116;涓?#37833;ユ妸姣忔?#31538;AR瀵?#25652;?#37928;勬暟鎹?#26473;?#37733;炵粰璋?#37922;?#37832;?#37713;芥暟鐨?#37711;?#23534;?#38171;?#38315;?#26473;?#37711;?#28766;鍙?#38322;?#38171;?br />    barCntSum = barCnt ;
    If(BarsBack == 0)
    // 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁?#35120;?#37928;勬槸褰撳墠BAR鎵瀵?#25652;?#37929;爣?#25030;鏈?#37928;?#35120;撳墠BAR鎴?#23005;㈠埌鐩墠涓烘鐨凚AR?#26271;鎹?#37706;?br />    {
        barCntSum = 0 ;
    }
    // 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁?#35120;?#37928;勬槸褰撳墠BAR鎵瀵?#25652;?#37929;爣?#25030;鏈?#37928;勫墠涓鏍笲AR鐨勬暟鎹?#37706;?br />    Else
    {
        barCntSum = barCnt ;
    }

    // 灏?#37929;爣鏃?#38338;村懆鏈?#28051;?#37928;凚AR?#26271;鎹?#37712;?#37711;?#37711;?#28766;鍙?#38322;?#26473;?#37733;?#29835;?#37922;?#37711;?#23534;?br />    SetGlobalVar2("Ht_curbar",Ht_CurBar);
    SetGlobalVar2("Ht_open",Ht_Open[barCntSum]);
    SetGlobalVar2("Ht_high",Ht_High[barCntSum]);
    SetGlobalVar2("Ht_low",Ht_Low[barCntSum]);
    SetGlobalVar2("Ht_close",Ht_Close[barCntSum]);
    SetGlobalVar2("Ht_vol",Ht_Vol[barCntSum]);
    SetGlobalVar2("Ht_openInt",Ht_OpenInt[barCntSum]);

    // 灏?#29831;?#37721;?#28598;у懆鏈熸暟鎹?#37928;勫洖婧疊AR?#26271;浣?#28051;?#37713;芥暟鐨勮繑鍥?#37706;?#26473;?#37733;?br />    Return barCnt;
    
End 
*/




AlanTop 2019-07-19 22:26 鍙戣〃璇勮
]]>
frp鍐?#32515;?#32460;?#38315;?#26473;滅▼杩炴帴http://www.kffa.tw/alantop/archive/2019/07/17/216561.htmlAlanTopAlanTopWed, 17 Jul 2019 03:07:00 GMThttp://www.kffa.tw/alantop/archive/2019/07/17/216561.htmlhttp://www.kffa.tw/alantop/comments/216561.htmlhttp://www.kffa.tw/alantop/archive/2019/07/17/216561.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216561.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216561.html?#28231;鍔″櫒 centos 7.6
瀹㈡埛鏈?windows 10

?#28231;鍔″櫒绔?#38320;嶇疆?#26499;浠?frps.ini

# 缂?#26440;?#38320;嶇疆?#26499;浠?nbsp;
# frps.ini
#閫?#37922;?#29825;?#32515;?/div>
[common]
# frp 鐩戝惉鍦?#37735;
bind_port = 7000
#璁?#38338;?#28729;㈡埛绔痺eb?#28231;鍔?#38007;?#28729;氫箟鐨勭鍙?#37721;?nbsp;
vhost_http_port = 8110
#閾炬帴鍙?#28000;?/div>
token = 12345678
#frp ?#24118;鍒堕潰鏉?/div>
dashboard_port = 7500
# dashboard 鐢ㄦ埛鍚?#28725;嗙爜鍙?#38315;?#38171;岄?#27199;閮?#28051;?admin
dashboard_user = admin
dashboard_pwd = admin

?#28231;鍔″櫒绔?#26473;?#29723;?./frps -c frps.ini
杩滅▼绠?#37918;嗛?#30008;潰 http://ip:7500/
瀹㈡埛绔?#38320;嶇疆?#26499;浠?/div>
 # 閫?#37922;?#38320;嶇疆
    [common]
    # ?#28231;鍔″櫒绔?#37734;?#37735; 涔?#37721;?#28000;ュ~鍐?#37737;熷悕
    server_addr = 47.103.128.154
    # ?#28231;鍔″櫒绔?#37721;?/div>
    server_port = 7000 
    # 鎺?#37833;僼oken 瑕?#28051;庢湇鍔″櫒绔?#28051;鑷?/div>
    token = 12345678
    
    
    #鍐?#32515;?#32460;?#38315;忔?#24874;緵鏈?#37734;版暟鎹?#25652;撶粰鍒?#27996;?#29825;?#38338;?/div>
   [tcp3389]
   type = tcp
   local_ip = 10.2.3.110
   #鏈?#37734;扮鍙?/div>
   local_port = 3389
   #杩滅?#23340;鍙?/div>
   remote_port =3389
   
瀹㈡埛绔?#26473;?#29723;?nbsp;frpc.exe -c frpc.ini




AlanTop 2019-07-17 11:07 鍙戣〃璇勮
]]>python3 閫?#26473;噒cp杩滅?#23339;帶鍒舵湇鍔″櫒鎵?#29723;屽懡浠?/title><link>http://www.kffa.tw/alantop/archive/2019/07/10/216527.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 10 Jul 2019 08:28:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2019/07/10/216527.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216527.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/07/10/216527.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216527.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216527.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all;"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000FF; ">import</span> socketserver<br /><span style="color: #0000FF; ">import</span> os<br /><br /><span style="color: #0000FF; ">def</span> execCmd(cmd):  <br />    r = os.popen(cmd)  <br />    text = r.read()  <br />    r.close()  <br />    <span style="color: #0000FF; ">return</span> text  <br /><br /> <br /><span style="color: #008000; ">#</span><span style="color: #008000; "> 鑷?#28729;氫箟绫绘潵瀹炵幇閫氫俊寰?#37916;?/span><span style="color: #008000; "><br /></span><span style="color: #0000FF; ">class</span> MyTCPHandler(socketserver.BaseRequestHandler):<br />    <span style="color: #008000; ">#</span><span style="color: #008000; "> 蹇?#26916;?#37712;?#37711;andle鏂规硶锛屽?#34425;?#23342;?#28844;帴鏃朵細鑷?#37716;?#37813;?#29723;宧andle鏂规硶</span><span style="color: #008000; "><br /></span>    <span style="color: #0000FF; ">def</span> handle(self):<br />        <span style="color: #0000FF; ">while</span> True:<br />            <span style="color: #0000FF; ">try</span>:<br />                data = self.request.recv(1024)<br />                <span style="color: #0000FF; ">if</span> <span style="color: #0000FF; ">not</span> data: <span style="color: #0000FF; ">break</span><br />                <span style="color: #0000FF; ">print</span>(<span style="color: #800000; ">'</span><span style="color: #800000; ">->client:</span><span style="color: #800000; ">'</span>, data)<br />                <span style="color: #008000; ">#</span><span style="color: #008000; ">os.system(data.decode('utf-8'))</span><span style="color: #008000; "><br /></span>                macd = execCmd(data.decode(<span style="color: #800000; ">'</span><span style="color: #800000; ">utf-8</span><span style="color: #800000; ">'</span>))<br />                self.request.send(macd.encode(<span style="color: #800000; ">'</span><span style="color: #800000; ">utf-8</span><span style="color: #800000; ">'</span>))<br />            <span style="color: #0000FF; ">except</span> ConnectionResetError:<br />                <span style="color: #0000FF; ">break</span><br />        self.request.close()<br /><br /><span style="color: #0000FF; ">if</span> <span style="color: #800080; ">__name__</span> == <span style="color: #800000; ">'</span><span style="color: #800000; ">__main__</span><span style="color: #800000; ">'</span>:<br />    server = socketserver.ThreadingTCPServer((<span style="color: #800000; ">'</span><span style="color: #800000; ">127.0.0.1</span><span style="color: #800000; ">'</span>, 8080), MyTCPHandler)<br />    server.serve_forever()  <span style="color: #008000; ">#</span><span style="color: #008000; "> 閾炬帴寰?#37916;?/span><span style="color: #008000; "><br /></span></div></div><img src ="http://www.kffa.tw/alantop/aggbug/216527.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-07-10 16:28 <a href="http://www.kffa.tw/alantop/archive/2019/07/10/216527.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>windows server 2012婵娲?#37826;规硶http://www.kffa.tw/alantop/archive/2019/07/09/216522.htmlAlanTopAlanTopTue, 09 Jul 2019 06:03:00 GMThttp://www.kffa.tw/alantop/archive/2019/07/09/216522.htmlhttp://www.kffa.tw/alantop/comments/216522.htmlhttp://www.kffa.tw/alantop/archive/2019/07/09/216522.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216522.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216522.htmlwindows server 2012涓嬭浇鍦?#37735;
https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2
杩欐潯鍛?#28000;?#37828;?#26462;?#37817;?#37812;愭爣鍑?#37911;?#37832;細
DISM /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:NH3KG-P864D-XYCJH-82DMH-4CX8M
?#28231;鍔″櫒灏?#38322;?#37722;?#28051;ゆ
Windows Server 2012 R2 Retail Key?#32048;浜哄搧搴忓垪鍙?/div>
[Key]?#32048;NH3KG-P864D-XYCJH-82DMH-4CX8M -- Standard 锛?#37721;?#28000;?#23157;娲?#38171;?/div>
[Key]?#32048;KPXD3-FDN73-2XYRP-9GCRW-TQ6PB -- Standard
[Key]?#32048;TPQN8-XRYYC-VDRQ8-9XK7F-TVHJM -- Standard
[key ]:NB4WH-BBBYV-3MPPC-9RCMV-46XCB-- Standard
[Key]: M98WF-NY2PP-73243-PC8R6-V6B4Y -- Standard
[Key]: MR88Y-BXNRY-VH3DR-349CB-3GK8M -- Standard
[Key]: M89WF-NY2PP-73243-PC8R6-V6B4Y -- Standard
(windows server 2012婵娲?#37934;? 瀵嗛挜?#32048;
 
銆銆Windows Server 2012 Foundation
 
銆銆RTMNG-7K8HQ-3QVVW-W8QKF-Q9H7D --- 00185-00477-08754-AAOEM
 
銆銆VXHGK-GRJQH-K7WVN-MTXP3-YBFHM --- 00185-65247-05792-ABOEM
 
銆銆BDCBV-BQ27P-9PNJJ-BQJ96-KTJ3Y --- 00185-61015-53182-ABOEM
 
銆銆Windows Server 2012 Essentials
 
銆銆MXHGN-GRJQH-K7WVV-MTXP3-YBFHT --- 00186-00000-00000-AAOEM
 
銆銆JXHGK-GRJQH-N7WVV-MTXP3-YBFHT --- 00186-08304-72192-ABOEM
 
銆銆Windows Server 2012 Standard
 
銆銆VDNYM-JBKJ7-DC4X9-BT3QR-JHRGY --- 00184-00070-00000-AAOEM
 
銆銆BNHD9-KT7MY-4BX83-HTGM4-3C77J --- 00185-48475-45056-AAOEM
 
銆銆Windows Storage Server 2012 Standard
 
銆銆DXHGK-GRJQH-K7WVV-NTXP3-YBFGG --- 00182-85373-02912-ABOEM
 
銆銆Windows Server 2012 Datacenter
 
銆銆B7RRX-RVN4P-PCPBM-89D8Y-X4PQH --- 00184-50100-21572-AAOEM
 
銆銆Q8MTR-F2N87-JPQ4C-8CFK9-C7HJM
 
銆銆HK69K-3N8Y2-VB2XH-4HYGY-CWDWM
 
銆銆W689N-TPP83-V2Q42-683JR-X2C2B
 
銆銆Windows Server 2012 R2 Preview 鐜板湪鏀?#37816;?#28051;?#32457;嶆縺娲?#37826;?#23534;忥細
 
銆銆?#26271;鎹?#28051;?#36423;?#27996;у搧瀵嗛挜?#32048;
 
銆銆JGXYY-7NMTC-MHKY3-QCC9B-VQRG7
 
銆銆Datacenter Server 鐨勮嚜鍔ㄨ櫄鎷?#37832;烘縺娲?(AVMA) 瀵嗛挜?#32048;
 
銆銆XVNRV-9HTX4-TH2JD-HVJQD-QRQWG


AlanTop 2019-07-09 14:03 鍙戣〃璇勮
]]>python3 瀹?#37827;?#38322;?#37722;湇鍔?/title><link>http://www.kffa.tw/alantop/archive/2019/07/03/216477.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 03 Jul 2019 04:19:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2019/07/03/216477.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216477.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/07/03/216477.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216477.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216477.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000FF; ">import</span> os<br /><span style="color: #0000FF; ">import</span> time<br /><span style="color: #0000FF; ">import</span> time<br /><span style="color: #0000FF; ">import</span> datetime<br /><span style="color: #0000FF; ">import</span> codecs<br /><br /><br /><span style="color: #0000FF; ">def</span> get_min():<br />    <span style="color: #0000FF; ">return</span> int(  time.strftime(<span style="color: #800000; ">'</span><span style="color: #800000; ">%M</span><span style="color: #800000; ">'</span>, time.localtime(time.time())) )<br />    <br /><span style="color: #0000FF; ">def</span> get_hour():<br />    <span style="color: #0000FF; ">return</span> int(  time.strftime(<span style="color: #800000; ">'</span><span style="color: #800000; ">%H</span><span style="color: #800000; ">'</span>, time.localtime(time.time())) )<br />    <br /><span style="color: #0000FF; ">def</span> get_current_time():<br />    <span style="color: #0000FF; ">return</span> ( str(datetime.datetime.now().year) + <span style="color: #800000; ">'</span><span style="color: #800000; ">-</span><span style="color: #800000; ">'</span> + str(datetime.datetime.now().month) + <span style="color: #800000; ">'</span><span style="color: #800000; ">-</span><span style="color: #800000; ">'</span> + str(datetime.datetime.now().day) + <span style="color: #800000; ">"</span><span style="color: #800000; "> </span><span style="color: #800000; ">"</span> + time.strftime(<span style="color: #800000; ">'</span><span style="color: #800000; ">%H:%M:%S</span><span style="color: #800000; ">'</span>,time.localtime(time.time())) )<br /><br /><span style="color: #0000FF; ">def</span> writelog(content):<br />    <span style="color: #0000FF; ">print</span>(content)<br />    f = codecs.open(<span style="color: #800000; ">'</span><span style="color: #800000; ">reboot.log</span><span style="color: #800000; ">'</span>,<span style="color: #800000; ">'</span><span style="color: #800000; ">a</span><span style="color: #800000; ">'</span>,<span style="color: #800000; ">'</span><span style="color: #800000; ">utf-8</span><span style="color: #800000; ">'</span>)<br />    f.write(content)<br />    f.writelines(<span style="color: #800000; ">'</span><span style="color: #800000; ">\r\n</span><span style="color: #800000; ">'</span>)<br />    f.flush()<br /><br /><span style="color: #0000FF; ">def</span> rebootservice():<br />    os.system(<span style="color: #800000; ">'</span><span style="color: #800000; ">net stop spooler</span><span style="color: #800000; ">'</span>)<br />    time.sleep(1)<br />    os.system(<span style="color: #800000; ">'</span><span style="color: #800000; ">net start spooler</span><span style="color: #800000; ">'</span>)<br />    <br /><span style="color: #0000FF; ">while</span> True:<br />    <span style="color: #0000FF; ">print</span>(get_current_time())<br />    <span style="color: #0000FF; ">if</span> (  get_min() == 24  <span style="color: #0000FF; ">and</span> get_hour() == 12 ):<br />        writelog(<span style="color: #800000; ">"</span><span style="color: #800000; ">閲?#37722;湇鍔?#37827;?#38338;?</span><span style="color: #800000; ">"</span> + get_current_time())<br />        rebootservice()<br />        time.sleep(60)<br />    time.sleep(10)<br /></div><img src ="http://www.kffa.tw/alantop/aggbug/216477.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-07-03 12:19 <a href="http://www.kffa.tw/alantop/archive/2019/07/03/216477.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>windows7 锛寃indows server 2008锛寃indows server2012 鎶鏈?#32513;?#23005;?#37827;?#38338;?#37510;?/title><link>http://www.kffa.tw/alantop/archive/2019/06/28/216467.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Fri, 28 Jun 2019 11:41:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2019/06/28/216467.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216467.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/06/28/216467.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216467.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216467.html</trackback:ping><description><![CDATA[<div>Windows Server 2008 鍜?Windows Server 2008 R2锛屽師鏈?#29825;?#37714;?#27996;?013骞?鏈?鏃?#32513;?#23005;?#38171;屽?#24226;潵鍏嶈垂涓?#23092;?#37824;?#37816;?#28751;嗗?#22549;暱鑷?015骞?鏈?5鏃?#38171;屽湪杩欎?#23338;墠锛屽井杞?#28751;?#28051;篧indows Server 2008鎻愪緵鍏嶈垂鐨勬妧鏈?#37824;?#37816;?#37510;?#37734;?015骞?鏈?5鏃?#28051;?#23092;?#37824;?#37816;佹湡缁撴?#29111;悗锛?#37922;ㄦ埛鍙?#28000;?#38014;?#37721;?#37721;?#28598;?骞?#37928;勬妧鏈?#37824;?#37816;?#38171;?#28051;?#26473;?#26473;欐灏?#37828;?#37824;惰垂鐨?#27996;?#38171;堝井杞?#28000;嶄細鎻愪緵鍏嶈垂鐨?#28729;?#37711;?#37831;存柊锛?#37510;?/div><div></div><div>Windows Server 2008 鍜?Windows Server 2008 R2 鎶鏈?#37824;?#37816;佺粓姝?#37827;?#38338;?#37828;?020骞?鏈?4鏃?#37510;?br /><br /><span style="font-family: 瀹?#28003;? font-size: 16px;">Windows 7 鐨勬妧鏈?#32513;?#23005;?#37827;?#38338;?#37828;?020骞?鏈?4鏃?#37510;?br /><br />windows server 2012 鎶鏈?#32513;?#23005;?#37827;?#38338;?023骞?0鏈?0鏃?#37510;?/span></div><img src ="http://www.kffa.tw/alantop/aggbug/216467.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-06-28 19:41 <a href="http://www.kffa.tw/alantop/archive/2019/06/28/216467.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>C++娴?#29723;?#25652;?#37724;屾?#21976;?#22549;泦鍚?/title><link>http://www.kffa.tw/alantop/archive/2019/02/10/216235.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sun, 10 Feb 2019 06:44:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2019/02/10/216235.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216235.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/02/10/216235.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216235.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216235.html</trackback:ping><description><![CDATA[<div><a href="https://www.toutiao.com/i6655869330388943371/">https://www.toutiao.com/i6655869330388943371/</a></div><img src ="http://www.kffa.tw/alantop/aggbug/216235.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-02-10 14:44 <a href="http://www.kffa.tw/alantop/archive/2019/02/10/216235.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>windows 10 鏃?#23049;曚粠1803鑷?#37716;?#37719;?#32510;у埌1809鐨勮В鍐?#37826;规http://www.kffa.tw/alantop/archive/2019/01/31/216229.htmlAlanTopAlanTopThu, 31 Jan 2019 03:22:00 GMThttp://www.kffa.tw/alantop/archive/2019/01/31/216229.htmlhttp://www.kffa.tw/alantop/comments/216229.htmlhttp://www.kffa.tw/alantop/archive/2019/01/31/216229.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216229.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216229.html闃?#29831;?#37711;ㄦ枃

AlanTop 2019-01-31 11:22 鍙戣〃璇勮
]]>
python3 鑾?#37721;?#32429;?#28000;朵俊?#20229; 鍔?#28725;?娉?#37712;?#37716;熻兘http://www.kffa.tw/alantop/archive/2019/01/06/216170.htmlAlanTopAlanTopSun, 06 Jan 2019 04:51:00 GMThttp://www.kffa.tw/alantop/archive/2019/01/06/216170.htmlhttp://www.kffa.tw/alantop/comments/216170.htmlhttp://www.kffa.tw/alantop/archive/2019/01/06/216170.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216170.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216170.html
import os, sys
import wmi
import hashlib
import base64
c = wmi.WMI()
#澶勭?#21975;櫒
def printCPU():
    tmpdict = {}
    tmpdict["CpuCores"] = 0
    for cpu in c.Win32_Processor():     
        tmpdict["cpuid"] = cpu.ProcessorId.strip()
        tmpdict["CpuType"] = cpu.Name
        tmpdict['systemName'] = cpu.SystemName
        try:
            tmpdict["CpuCores"] = cpu.NumberOfCores
        except:
            tmpdict["CpuCores"] += 1
        tmpdict["CpuClock"] = cpu.MaxClockSpeed 
        tmpdict['DataWidth'] = cpu.DataWidth
    print (tmpdict)
    return  tmpdict
#涓绘澘
def printMain_board():
    boards = []
    # print len(c.Win32_BaseBoard()):
    for board_id in c.Win32_BaseBoard():
        tmpmsg = {}
        tmpmsg['UUID'] = board_id.qualifiers['UUID'][1:-1]   #涓绘澘UUID,鏈?#37928;?#28051;绘澘杩?#38318;ㄥ垎?#20426;?#20229;鍙栧埌涓虹┖鍊?#38171;宖fffff-ffffff杩?#37837;?#37928;?/div>
        tmpmsg['SerialNumber'] = board_id.SerialNumber                #涓绘澘搴忓垪鍙?/div>
        tmpmsg['Manufacturer'] = board_id.Manufacturer       #涓绘澘鐢?#27996;у搧鐗屽巶瀹?/div>
        tmpmsg['Product'] = board_id.Product                 #涓绘?#22446;?#23338;彿
        boards.append(tmpmsg)
    print (boards)
    return boards
#BIOS
def printBIOS():
    bioss = []
    for bios_id in c.Win32_BIOS():
        tmpmsg = {}
        tmpmsg['BiosCharacteristics'] = bios_id.BiosCharacteristics   #BIOS鐗瑰?#20346;爜
        tmpmsg['version'] = bios_id.Version                           #BIOS鐗?#37832;?/div>
        tmpmsg['Manufacturer'] = bios_id.Manufacturer.strip()                 #BIOS鍥?#28000;?#37922;?#27996;?#37720;?#28729;?/div>
        tmpmsg['ReleaseDate'] = bios_id.ReleaseDate                   #BIOS閲?#37824;?#37827;?#37832;?/div>
        tmpmsg['SMBIOSBIOSVersion'] = bios_id.SMBIOSBIOSVersion       #绯?#32513;?#32480;$悊瑙勮寖鐗?#37832;?/div>
        bioss.append(tmpmsg)
    print (bioss)
    return bioss
#纭?#37929;?/div>
def printDisk():
    disks = []
    for disk in c.Win32_DiskDrive():
        # print disk.__dict__
        tmpmsg = {}
        tmpmsg['SerialNumber'] = disk.SerialNumber.strip()
        tmpmsg['DeviceID'] = disk.DeviceID
        tmpmsg['Caption'] = disk.Caption
        tmpmsg['Size'] = disk.Size
        tmpmsg['UUID'] = disk.qualifiers['UUID'][1:-1]
        disks.append(tmpmsg)
    for d in disks:
        print (d)
    return disks
#鐢垫睜?#20426;?#20229;锛?#37721;?#37832;?#32471;旇鏈墠?#32048;鏈?#37922;垫睜閫?#26916;?/div>
def printBattery():
    isBatterys = False
    for b in c.Win32_Battery():
        isBatterys = True
    return isBatterys
#缃?#37719;ac鍦?#37735;?#32048;
def printMacAddress():
    macs = []
    for n in  c.Win32_NetworkAdapter():
        mactmp = n.MACAddress
        if mactmp and len(mactmp.strip()) > 5:
            tmpmsg = {}
            tmpmsg['MACAddress'] = n.MACAddress
            tmpmsg['Name'] = n.Name
            tmpmsg['DeviceID'] = n.DeviceID
            tmpmsg['AdapterType'] = n.AdapterType
            tmpmsg['Speed'] = n.Speed
            macs.append(tmpmsg)
    print (macs)
    return macs
if __name__ == '__main__':
   
    hd1=printCPU()
    
    hd3=printMain_board()
    #printBIOS()
    #printDisk()
    hd2=printMacAddress()
    print(type(hd1))
    print(type(hd2))
    print(type(hd3))
    print(hd1['cpuid'],hd1['systemName'],hd2[0]['MACAddress'],hd3[0]['UUID'],hd3[0]['SerialNumber'])
    sum = hd1['cpuid'] + hd1['systemName'] + hd2[0]['MACAddress'] + hd3[0]['UUID']+ hd3[0]['SerialNumber']
    shastr = sum.encode('gbk')
    sha = hashlib.sha1(shastr).hexdigest()
    if (sha == 'b696fcbb46e27a09458019942dd10856b0023fea'):
        print('reg user')
    else:
        print('no reg user')
        
    print(sha)
    #print(sum)
    #print(type(sum))
    s1 = base64.encodestring(shastr)
    print(s1)
    #s2 = base64.decodestring(s1)
    #print(s1,s2)
    #print (printBattery())


AlanTop 2019-01-06 12:51 鍙戣〃璇勮
]]>pycharm 2018.3 涓?#28051;?#37911;堟敞鍐岀爜http://www.kffa.tw/alantop/archive/2018/12/30/216155.htmlAlanTopAlanTopSun, 30 Dec 2018 03:58:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/30/216155.htmlhttp://www.kffa.tw/alantop/comments/216155.htmlhttp://www.kffa.tw/alantop/archive/2018/12/30/216155.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216155.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216155.html1.淇?#37824;筯osts
0.0.0.0 account.jetbrains.com
2.杞?#28000;?#28051;?#26440;?#37711;?#28641;?#28051;?#23049;?#37712;岀爜锛堟敞鍐?#37827;?#37832;熷埌2019.05锛?br />K71U8DBPNE-eyJsaWNlbnNlSWQiOiJLNzFVOERCUE5FIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJSUzAiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJXUyIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IlJEIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiUkMiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJEQyIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IkRCIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiUk0iLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJETSIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IkFDIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiRFBOIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiR08iLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJQUyIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IkNMIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiUEMiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJSU1UiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifV0sImhhc2giOiI4OTA4Mjg5LzAiLCJncmFjZVBlcmlvZERheXMiOjAsImF1dG9Qcm9sb25nYXRlZCI6ZmFsc2UsImlzQXV0b1Byb2xvbmdhdGVkIjpmYWxzZX0=-Owt3/+LdCpedvF0eQ8635yYt0+ZLtCfIHOKzSrx5hBtbKGYRPFDrdgQAK6lJjexl2emLBcUq729K1+ukY9Js0nx1NH09l9Rw4c7k9wUksLl6RWx7Hcdcma1AHolfSp79NynSMZzQQLFohNyjD+dXfXM5GYd2OTHya0zYjTNMmAJuuRsapJMP9F1z7UTpMpLMxS/JaCWdyX6qIs+funJdPF7bjzYAQBvtbz+6SANBgN36gG1B2xHhccTn6WE8vagwwSNuM70egpahcTktoHxI7uS1JGN9gKAr6nbp+8DbFz3a2wd+XoF3nSJb/d2f/6zJR8yJF8AOyb30kwg3zf5cWw==-MIIEPjCCAiagAwIBAgIBBTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBMB4XDTE1MTEwMjA4MjE0OFoXDTE4MTEwMTA4MjE0OFowETEPMA0GA1UEAwwGcHJvZDN5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxcQkq+zdxlR2mmRYBPzGbUNdMN6OaXiXzxIWtMEkrJMO/5oUfQJbLLuMSMK0QHFmaI37WShyxZcfRCidwXjot4zmNBKnlyHodDij/78TmVqFl8nOeD5+07B8VEaIu7c3E1N+e1doC6wht4I4+IEmtsPAdoaj5WCQVQbrI8KeT8M9VcBIWX7fD0fhexfg3ZRt0xqwMcXGNp3DdJHiO0rCdU+Itv7EmtnSVq9jBG1usMSFvMowR25mju2JcPFp1+I4ZI+FqgR8gyG8oiNDyNEoAbsR3lOpI7grUYSvkB/xVy/VoklPCK2h0f0GJxFjnye8NT1PAywoyl7RmiAVRE/EKwIDAQABo4GZMIGWMAkGA1UdEwQCMAAwHQYDVR0OBBYEFGEpG9oZGcfLMGNBkY7SgHiMGgTcMEgGA1UdIwRBMD+AFKOetkhnQhI2Qb1t4Lm0oFKLl/GzoRykGjAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBggkA0myxg7KDeeEwEwYDVR0lBAwwCgYIKwYBBQUHAwEwCwYDVR0PBAQDAgWgMA0GCSqGSIb3DQEBCwUAA4ICAQC9WZuYgQedSuOc5TOUSrRigMw4/+wuC5EtZBfvdl4HT/8vzMW/oUlIP4YCvA0XKyBaCJ2iX+ZCDKoPfiYXiaSiH+HxAPV6J79vvouxKrWg2XV6ShFtPLP+0gPdGq3x9R3+kJbmAm8w+FOdlWqAfJrLvpzMGNeDU14YGXiZ9bVzmIQbwrBA+c/F4tlK/DV07dsNExihqFoibnqDiVNTGombaU2dDup2gwKdL81ua8EIcGNExHe82kjF4zwfadHk3bQVvbfdAwxcDy4xBjs3L4raPLU3yenSzr/OEur1+jfOxnQSmEcMXKXgrAQ9U55gwjcOFKrgOxEdek/Sk1VfOjvS+nuM4eyEruFMfaZHzoQiuw4IqgGc45ohFH0UUyjYcuFxxDSU9lMCv8qdHKm+wnPRb0l9l5vXsCBDuhAGYD6ss+Ga+aDY6f/qXZuUCEUOH3QUNbbCUlviSz6+GiRnt1kA9N2Qachl+2yBfaqUqr8h7Z2gsx5LcIf5kYNsqJ0GavXTVyWh7PYiKX4bs354ZQLUwwa/cG++2+wNWP+HtBhVxMRNTdVhSm38AknZlD+PTAsWGu9GyLmhti2EnVwGybSD2Dxmhxk3IPCkhKAK+pl0eWYGZWG3tJ9mZ7SowcXLWDFAk0lRJnKGFMTggrWjV8GYpw5bq23VmIqqDLgkNzuoog==


AlanTop 2018-12-30 11:58 鍙戣〃璇勮
]]>notepad++ 涓婚閫?#37815;?/title><link>http://www.kffa.tw/alantop/archive/2018/12/27/216150.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Thu, 27 Dec 2018 08:47:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/12/27/216150.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216150.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/27/216150.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216150.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216150.html</trackback:ping><description><![CDATA[璁?#32515;?>璇█鏍?#23534;?#29825;?#32515;?br />閫?#37815;?#28051;婚?#32048;Obsidian锛?span style="color: #333333; font-family: Arial, "Microsoft YaHei", "\\5FAE杞?#38342;?#27035;?quot;, "\\5B8B浣?quot;, "Malgun Gothic", Meiryo, sans-serif; font-variant-numeric: normal; font-variant-east-asian: normal; line-height: 21px; background-color: #ffffff;">榛戞洔yao鐭?/span>锛?#38171;?br />閫?#37815;?#28699;?#28003;撴牱寮忥細Consolas锛?br />瀛?#28003;撳ぇ灏忥細12<br />浣?#37922;?#37711;?#28766;瀛?#28003;?#38171;?br />浣?#37922;?#37711;?#28766;瀛?#28003;撳ぇ灏?#37510;?img src ="http://www.kffa.tw/alantop/aggbug/216150.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-27 16:47 <a href="http://www.kffa.tw/alantop/archive/2018/12/27/216150.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>sublime text 3 璁?#32515;?/title><link>http://www.kffa.tw/alantop/archive/2018/12/26/216146.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 26 Dec 2018 10:19:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/12/26/216146.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216146.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/26/216146.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216146.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216146.html</trackback:ping><description><![CDATA[<div>{</div><div><span style="white-space:pre"> </span>"ignored_packages":</div><div><span style="white-space:pre"> </span>[</div><div><span style="white-space:pre"> </span>"Vintage"</div><div><span style="white-space:pre"> </span>],</div><div></div><div><span style="white-space:pre"> </span>"default_encoding": "UTF-8",</div><div><span style="white-space:pre"> </span>"font_size": 12.0,</div><div><span style="white-space:pre"> </span>"tab_size": 4,</div><div><span style="white-space:pre"> </span>"draw_white_space": "all",</div><div></div><div><span style="white-space:pre"> </span>"translate_tabs_to_spaces": true,</div><div></div><div><span style="white-space:pre"> </span>"expand_tabs_on_save": true</div><div>}</div><div></div><img src ="http://www.kffa.tw/alantop/aggbug/216146.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-26 18:19 <a href="http://www.kffa.tw/alantop/archive/2018/12/26/216146.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>nginx鐨?#38320;嶇疆http://www.kffa.tw/alantop/archive/2018/12/25/216139.htmlAlanTopAlanTopTue, 25 Dec 2018 10:07:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/25/216139.htmlhttp://www.kffa.tw/alantop/comments/216139.htmlhttp://www.kffa.tw/alantop/archive/2018/12/25/216139.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216139.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216139.html杩?#29723;?#28729;?鍋?#23005;?nbsp;nginx -s quit
绔?#37719;?#37707;?#23005;?
nginx -s stop

淇?#37824;?
\nginx\conf\nginx.conf
listen 80 榛樿绔?#37721;?br />
瀹夎鎴愭湇鍔″伐鍏?br />
 http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/
涓?#26916;?/a> https://github.com/kohsuke/winsw

AlanTop 2018-12-25 18:07 鍙戣〃璇勮
]]>
?#26499;鍗?#37721;屽潎绾?#32475;?#37923;?/title><link>http://www.kffa.tw/alantop/archive/2018/12/25/216138.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 25 Dec 2018 09:12:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/12/25/216138.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216138.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/25/216138.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216138.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216138.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://www.kffa.tw/alantop/archive/2018/12/25/216138.html'>闃?#29831;?#37711;ㄦ枃</a><img src ="http://www.kffa.tw/alantop/aggbug/216138.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-25 17:12 <a href="http://www.kffa.tw/alantop/archive/2018/12/25/216138.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>unity 濡?#28003;?#37823;?#28003;?#37821;勫儚鏈?/title><link>http://www.kffa.tw/alantop/archive/2018/12/19/216128.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 19 Dec 2018 06:18:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/12/19/216128.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216128.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/19/216128.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216128.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216128.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://www.kffa.tw/alantop/archive/2018/12/19/216128.html'>闃?#29831;?#37711;ㄦ枃</a><img src ="http://www.kffa.tw/alantop/aggbug/216128.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-19 14:18 <a href="http://www.kffa.tw/alantop/archive/2018/12/19/216128.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>瑙?#37712;硁ohup 杈?#37713;?#28051;嶅甫python print鐨勮緭鍑?#38338;?#26864;?/title><link>http://www.kffa.tw/alantop/archive/2018/12/19/216127.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 19 Dec 2018 02:40:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/12/19/216127.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216127.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/19/216127.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216127.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216127.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://www.kffa.tw/alantop/archive/2018/12/19/216127.html'>闃?#29831;?#37711;ㄦ枃</a><img src ="http://www.kffa.tw/alantop/aggbug/216127.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-19 10:40 <a href="http://www.kffa.tw/alantop/archive/2018/12/19/216127.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>sublime text 3.1.1 娉?#37712;岀爜 鍜?閰嶇疆pythonhttp://www.kffa.tw/alantop/archive/2018/12/13/216122.htmlAlanTopAlanTopThu, 13 Dec 2018 12:53:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/13/216122.htmlhttp://www.kffa.tw/alantop/comments/216122.htmlhttp://www.kffa.tw/alantop/archive/2018/12/13/216122.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216122.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216122.html闃?#29831;?#37711;ㄦ枃

AlanTop 2018-12-13 20:53 鍙戣〃璇勮
]]>
gvim 閰嶇疆python杩?#29723;岀幆澧?/title><link>http://www.kffa.tw/alantop/archive/2018/12/08/216111.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sat, 08 Dec 2018 07:04:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/12/08/216111.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216111.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/08/216111.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216111.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216111.html</trackback:ping><description><![CDATA[ "閰嶇疆python瑙?#38322;婂櫒 autocmd BufRead *.py set makeprg=python\ -c\ \"import\ py_compile,sys;\ sys.stderr=sys.stdout;\ py_compile.compile(r'%')\" autocmd BufRead *.py set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m autocmd BufRead *.py nmap <F5> :!python %<CR> autocmd BufRead *.py nmap <F6> :make<CR> autocmd BufRead *.py copen "濡傛灉鏄痯y?#26499;浠?#38171;屽垯鍚?#37827;舵墦寮缂?#29831;戜俊?#20229;绐?#37721;? 灏?#28051;婇潰鎷?#29840;濆埌 C:\Program Files (x86)\Vim\_vimrc 鐨勬渶鍚?#28051;琛?img src ="http://www.kffa.tw/alantop/aggbug/216111.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-08 15:04 <a href="http://www.kffa.tw/alantop/archive/2018/12/08/216111.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>notepad++ 閰嶇疆go璇█ http://www.kffa.tw/alantop/archive/2018/12/08/216110.htmlAlanTopAlanTopSat, 08 Dec 2018 04:07:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/08/216110.htmlhttp://www.kffa.tw/alantop/comments/216110.htmlhttp://www.kffa.tw/alantop/archive/2018/12/08/216110.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216110.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216110.html

AlanTop 2018-12-08 12:07 鍙戣〃璇勮
]]>
python3 鍒?#37817;㈠埌鎸?#28729;?#37929;?#35120;?#37813;?#29723;岀?#23338;簭http://www.kffa.tw/alantop/archive/2018/12/02/216105.htmlAlanTopAlanTopSun, 02 Dec 2018 13:12:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/02/216105.htmlhttp://www.kffa.tw/alantop/comments/216105.htmlhttp://www.kffa.tw/alantop/archive/2018/12/02/216105.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216105.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216105.html
os.chdir('d:\\alantop_dir')
os.system('python alantop_dir_demo.py')

AlanTop 2018-12-02 21:12 鍙戣〃璇勮
]]>
python3浣?#37922;╟hrome娴?#29785;堝櫒鎵?#23534;鎸?#28729;?#32515;?#26916;?/title><link>http://www.kffa.tw/alantop/archive/2018/11/25/216079.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sun, 25 Nov 2018 10:20:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/11/25/216079.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216079.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/11/25/216079.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216079.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216079.html</trackback:ping><description><![CDATA[<div>import webbrowser </div><div></div><div>chromePath = r'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'</div><div>webbrowser.register('chrome', None, webbrowser.BackgroundBrowser(chromePath))</div><div>webbrowser.get('chrome').open('https://www.baidu.com',new=1,autoraise=True)</div><div></div><img src ="http://www.kffa.tw/alantop/aggbug/216079.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-11-25 18:20 <a href="http://www.kffa.tw/alantop/archive/2018/11/25/216079.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>notepad ++ 閰嶇疆 python 鍜?#26473;?#29723;?#37929;?#35120;?/title><link>http://www.kffa.tw/alantop/archive/2018/11/24/216077.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sat, 24 Nov 2018 04:18:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/11/24/216077.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216077.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/11/24/216077.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216077.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216077.html</trackback:ping><description><![CDATA[<span style="color: #333333; font-family: verdana, Arial, Helvetica, sans-serif; background-color: #ffffff;">cmd /k cd /d "$(CURRENT_DIRECTORY)" &  python "$(FULL_CURRENT_PATH)" & ECHO. & PAUSE & EXIT</span><img src ="http://www.kffa.tw/alantop/aggbug/216077.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-11-24 12:18 <a href="http://www.kffa.tw/alantop/archive/2018/11/24/216077.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>EX-B150M-V3 涓绘澘瀹夎win7澶?#29840;?#37928;勮В鍐?#37826;规http://www.kffa.tw/alantop/archive/2018/09/17/215937.htmlAlanTopAlanTopMon, 17 Sep 2018 12:05:00 GMThttp://www.kffa.tw/alantop/archive/2018/09/17/215937.htmlhttp://www.kffa.tw/alantop/comments/215937.htmlhttp://www.kffa.tw/alantop/archive/2018/09/17/215937.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215937.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215937.html闃?#29831;?#37711;ㄦ枃

AlanTop 2018-09-17 20:05 鍙戣〃璇勮
]]>
define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings鐨勮В鍐?#37826;规http://www.kffa.tw/alantop/archive/2018/09/07/215911.htmlAlanTopAlanTopFri, 07 Sep 2018 06:18:00 GMThttp://www.kffa.tw/alantop/archive/2018/09/07/215911.htmlhttp://www.kffa.tw/alantop/comments/215911.htmlhttp://www.kffa.tw/alantop/archive/2018/09/07/215911.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215911.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215911.html鍑虹幇杩?#28051;彁绀篸efine _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings锛屽涓嬪?#21229;悊鍗?#37721;?#37510;?/div>
#define _WINSOCK_DEPRECATED_NO_WARNINGS 1
杩?#28051;?#28729;氫箟鍦╯tdafx.h鐨勭涓琛?/div>


AlanTop 2018-09-07 14:18 鍙戣〃璇勮
]]>c++ 濡?#28003;曡幏鍙?#35120;撳?#23942;椂闂?/title><link>http://www.kffa.tw/alantop/archive/2018/09/06/215909.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Thu, 06 Sep 2018 07:30:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/09/06/215909.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215909.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/09/06/215909.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215909.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215909.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000FF; ">void</span> GetCurrentTime()<br />{<br />        <span style="color: #0000FF; ">struct</span> tm t;   <span style="color: #008000; ">//</span><span style="color: #008000; ">tm缁撴?#21228;寚閽?/span><span style="color: #008000; "><br /></span>        time_t now;  <span style="color: #008000; ">//</span><span style="color: #008000; ">澹?#37828;巘ime_t绫诲?#23338;彉閲?/span><span style="color: #008000; "><br /></span>        time(&now);      <span style="color: #008000; ">//</span><span style="color: #008000; ">鑾?#37721;?#32495;?#32513;?#37827;?#37832;?#37724;?#37827;?#38338;?/span><span style="color: #008000; "><br /></span>        localtime_s(&t, &now);   <span style="color: #008000; ">//</span><span style="color: #008000; ">鑾?#37721;?#35120;撳湴鏃?#37832;?#37724;?#37827;?#38338;?/span><span style="color: #008000; "><br /></span><br />        <span style="color: #0000FF; ">char</span> szResult[20] = "\0";<br />        sprintf_s(szResult, 20, "%.4d-%.2d-%.2d %.2d:%.2d:%.2d", t.tm_year + 1900, t.tm_mon + 1, t.tm_mday, t.tm_hour, t.tm_min,t.tm_sec); <span style="color: #008000; ">//</span><span style="color: #008000; ">浜?#37922;?123"</span><span style="color: #008000; "><br /></span>        <br />        cout << szResult << endl;<br />}</div><img src ="http://www.kffa.tw/alantop/aggbug/215909.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-09-06 15:30 <a href="http://www.kffa.tw/alantop/archive/2018/09/06/215909.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>c++浠庢爣澶?#37724;屾爣灏炬彁鍙栨暟鎹?/title><link>http://www.kffa.tw/alantop/archive/2018/09/03/215900.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Mon, 03 Sep 2018 08:04:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/09/03/215900.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215900.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/09/03/215900.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215900.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215900.html</trackback:ping><description><![CDATA[<div><div><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all">?#24385;鍙?#37722;?#37832;?#37733;?#28729;?#28699;?#32471;?#28051;?#37510;?br /><state>鍥?#28729;?lt;/state> <br /><br /><br />       <span style="color: #0000FF; ">string</span> result;<br />        <span style="color: #0000FF; ">if</span> (Extract(line, result, "<state>", "</state>"))<br />            cout << result << endl;<br /><br /><span style="color: #0000FF; ">bool</span> Extract(<span style="color: #0000FF; ">string</span> src, <span style="color: #0000FF; ">string</span> &result, <span style="color: #0000FF; ">const</span> <span style="color: #0000FF; ">char</span> * szStart, <span style="color: #0000FF; ">const</span> <span style="color: #0000FF; ">char</span> *szEnd)<br />{<br />    <span style="color: #0000FF; ">int</span> strlength = strlen(szStart);<br /><br />    <span style="color: #0000FF; ">string</span>::size_type start = src.find(szStart);<br /><br /><br />    <span style="color: #0000FF; ">if</span> (start != <span style="color: #0000FF; ">string</span>::npos)<br />    {<br />        <span style="color: #0000FF; ">string</span>::size_type end = src.find(szEnd);<br />        <span style="color: #0000FF; ">if</span> (end != <span style="color: #0000FF; ">string</span>::npos)<br />        {<br />            result = src.substr(start + strlength, end - start - strlength);<br />            <span style="color: #0000FF; ">return</span> <span style="color: #0000FF; ">true</span>;<br />        }<br />        <span style="color: #0000FF; ">else</span><br />            <span style="color: #0000FF; ">return</span> <span style="color: #0000FF; ">false</span>;<br />    }<br />    <span style="color: #0000FF; ">else</span><br />        <span style="color: #0000FF; ">return</span> <span style="color: #0000FF; ">false</span>;<br /><br />}</div></div></div><img src ="http://www.kffa.tw/alantop/aggbug/215900.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-09-03 16:04 <a href="http://www.kffa.tw/alantop/archive/2018/09/03/215900.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Kubernetes鏉冨?#20345;寚鍗?#32471;?鐗?鍜?Docker鎶鏈?#37711;?#38338;?#28051;?#28729;?#37812;?#32471;?鐗?涓?#37832;?#28729;瑰櫒鐨?#28052;?#28051;嬭浇鍦?#37735;http://www.kffa.tw/alantop/archive/2018/09/01/215896.htmlAlanTopAlanTopSat, 01 Sep 2018 03:52:00 GMThttp://www.kffa.tw/alantop/archive/2018/09/01/215896.htmlhttp://www.kffa.tw/alantop/comments/215896.htmlhttp://www.kffa.tw/alantop/archive/2018/09/01/215896.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215896.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215896.html闃?#29831;?#37711;ㄦ枃

AlanTop 2018-09-01 11:52 鍙戣〃璇勮
]]>
undefined reference to `std::ios_base::Init::Init()'閿?#29831;?#37928;勮В鍐?#37826;规http://www.kffa.tw/alantop/archive/2018/08/18/215855.htmlAlanTopAlanTopFri, 17 Aug 2018 22:33:00 GMThttp://www.kffa.tw/alantop/archive/2018/08/18/215855.htmlhttp://www.kffa.tw/alantop/comments/215855.htmlhttp://www.kffa.tw/alantop/archive/2018/08/18/215855.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215855.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215855.html闃?#29831;?#37711;ㄦ枃

AlanTop 2018-08-18 06:33 鍙戣〃璇勮
]]>
qt涓嬭浇鍦?#37735;http://www.kffa.tw/alantop/archive/2018/08/16/215849.htmlAlanTopAlanTopThu, 16 Aug 2018 08:14:00 GMThttp://www.kffa.tw/alantop/archive/2018/08/16/215849.htmlhttp://www.kffa.tw/alantop/comments/215849.htmlhttp://www.kffa.tw/alantop/archive/2018/08/16/215849.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215849.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215849.html闃?#29831;?#37711;ㄦ枃

AlanTop 2018-08-16 16:14 鍙戣〃璇勮
]]>
anaconda鏇存敼婧?#37719;?#32510;э細http://www.kffa.tw/alantop/archive/2018/08/12/215841.htmlAlanTopAlanTopSun, 12 Aug 2018 02:10:00 GMThttp://www.kffa.tw/alantop/archive/2018/08/12/215841.htmlhttp://www.kffa.tw/alantop/comments/215841.htmlhttp://www.kffa.tw/alantop/archive/2018/08/12/215841.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215841.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215841.html闃?#29831;?#37711;ㄦ枃

AlanTop 2018-08-12 10:10 鍙戣〃璇勮
]]>
Visual Studio 2017 锛坴s2017锛?#28729;夎?#21615;‖浠?#37724;岃蔣浠?#29781;佹眰http://www.kffa.tw/alantop/archive/2018/08/12/215840.htmlAlanTopAlanTopSun, 12 Aug 2018 02:05:00 GMThttp://www.kffa.tw/alantop/archive/2018/08/12/215840.htmlhttp://www.kffa.tw/alantop/comments/215840.htmlhttp://www.kffa.tw/alantop/archive/2018/08/12/215840.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215840.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215840.html闃?#29831;?#37711;ㄦ枃

AlanTop 2018-08-12 10:05 鍙戣〃璇勮
]]>
centos鍜宒ebian鐨勬敮鎸佹椂闂?/title><link>http://www.kffa.tw/alantop/archive/2018/08/12/215839.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sun, 12 Aug 2018 02:04:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/08/12/215839.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215839.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/08/12/215839.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215839.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215839.html</trackback:ping><description><![CDATA[<div>centos 6 / RHEL 6 瀹?#37825;存?#23384;柊锛?016骞?#32471;?#27996;屽搴?#38171;?缁存姢鏇存柊锛?020骞?1鏈?0鏃?#38171;?/div><div>centos 7 / RHEL 7 瀹?#37825;存?#23384;柊锛?019骞?#32471;?#37733;涘搴?#38171;?缁存姢鏇存柊锛?024骞?6鏈?0鏃?#38171;?/div><div></div><div>Debian GNU/Linux 9 “Stretch”LTS鐗?#37832;?鏀?#37816;佸埌 2020 骞?6 鏈?/div><img src ="http://www.kffa.tw/alantop/aggbug/215839.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-08-12 10:04 <a href="http://www.kffa.tw/alantop/archive/2018/08/12/215839.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍗?#32510;ip澶?#29840;?#29785;?#37712;?#37826;规http://www.kffa.tw/alantop/archive/2018/08/12/215838.htmlAlanTopAlanTopSun, 12 Aug 2018 01:55:00 GMThttp://www.kffa.tw/alantop/archive/2018/08/12/215838.htmlhttp://www.kffa.tw/alantop/comments/215838.htmlhttp://www.kffa.tw/alantop/archive/2018/08/12/215838.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215838.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215838.html闃?#29831;?#37711;ㄦ枃

AlanTop 2018-08-12 09:55 鍙戣〃璇勮
]]>
vs2015 鎵?#23534;msdn甯?#37716;?#23005;绘満鐨勮В鍐?#37826;规http://www.kffa.tw/alantop/archive/2018/07/25/215804.htmlAlanTopAlanTopWed, 25 Jul 2018 02:22:00 GMThttp://www.kffa.tw/alantop/archive/2018/07/25/215804.htmlhttp://www.kffa.tw/alantop/comments/215804.htmlhttp://www.kffa.tw/alantop/archive/2018/07/25/215804.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215804.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215804.html闃?#29831;?#37711;ㄦ枃

AlanTop 2018-07-25 10:22 鍙戣〃璇勮
]]>
<var id="pl157"></var>
<cite id="pl157"><noframes id="pl157"><thead id="pl157"><strike id="pl157"><progress id="pl157"></progress></strike></thead>
<var id="pl157"><span id="pl157"></span></var>
<var id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></var>
<cite id="pl157"><video id="pl157"></video></cite><ins id="pl157"></ins>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<cite id="pl157"><span id="pl157"></span></cite><var id="pl157"><video id="pl157"><thead id="pl157"></thead></video></var>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<var id="pl157"><span id="pl157"><menuitem id="pl157"></menuitem></span></var><cite id="pl157"><span id="pl157"><var id="pl157"></var></span></cite>
<var id="pl157"><span id="pl157"></span></var>
<ins id="pl157"><span id="pl157"></span></ins>
<ins id="pl157"><video id="pl157"></video></ins><ins id="pl157"></ins>
<var id="pl157"></var> <cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<ins id="pl157"></ins>
<ins id="pl157"></ins>
<var id="pl157"></var>
<cite id="pl157"></cite><del id="pl157"></del>
<cite id="pl157"><video id="pl157"></video></cite>
<menuitem id="pl157"></menuitem>
<var id="pl157"></var>
<menuitem id="pl157"></menuitem>
<cite id="pl157"></cite>
<progress id="pl157"><ruby id="pl157"><th id="pl157"></th></ruby></progress><var id="pl157"></var>
<ins id="pl157"><noframes id="pl157"><var id="pl157"></var>
<ins id="pl157"><span id="pl157"></span></ins><cite id="pl157"></cite>
<cite id="pl157"><span id="pl157"></span></cite>
快三3稳赚技巧钱绝招
<var id="pl157"></var>
<cite id="pl157"><noframes id="pl157"><thead id="pl157"><strike id="pl157"><progress id="pl157"></progress></strike></thead>
<var id="pl157"><span id="pl157"></span></var>
<var id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></var>
<cite id="pl157"><video id="pl157"></video></cite><ins id="pl157"></ins>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<cite id="pl157"><span id="pl157"></span></cite><var id="pl157"><video id="pl157"><thead id="pl157"></thead></video></var>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<var id="pl157"><span id="pl157"><menuitem id="pl157"></menuitem></span></var><cite id="pl157"><span id="pl157"><var id="pl157"></var></span></cite>
<var id="pl157"><span id="pl157"></span></var>
<ins id="pl157"><span id="pl157"></span></ins>
<ins id="pl157"><video id="pl157"></video></ins><ins id="pl157"></ins>
<var id="pl157"></var> <cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<ins id="pl157"></ins>
<ins id="pl157"></ins>
<var id="pl157"></var>
<cite id="pl157"></cite><del id="pl157"></del>
<cite id="pl157"><video id="pl157"></video></cite>
<menuitem id="pl157"></menuitem>
<var id="pl157"></var>
<menuitem id="pl157"></menuitem>
<cite id="pl157"></cite>
<progress id="pl157"><ruby id="pl157"><th id="pl157"></th></ruby></progress><var id="pl157"></var>
<ins id="pl157"><noframes id="pl157"><var id="pl157"></var>
<ins id="pl157"><span id="pl157"></span></ins><cite id="pl157"></cite>
<cite id="pl157"><span id="pl157"></span></cite>
<var id="pl157"></var>
<cite id="pl157"><noframes id="pl157"><thead id="pl157"><strike id="pl157"><progress id="pl157"></progress></strike></thead>
<var id="pl157"><span id="pl157"></span></var>
<var id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></var>
<cite id="pl157"><video id="pl157"></video></cite><ins id="pl157"></ins>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<cite id="pl157"><span id="pl157"></span></cite><var id="pl157"><video id="pl157"><thead id="pl157"></thead></video></var>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<var id="pl157"><span id="pl157"><menuitem id="pl157"></menuitem></span></var><cite id="pl157"><span id="pl157"><var id="pl157"></var></span></cite>
<var id="pl157"><span id="pl157"></span></var>
<ins id="pl157"><span id="pl157"></span></ins>
<ins id="pl157"><video id="pl157"></video></ins><ins id="pl157"></ins>
<var id="pl157"></var> <cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<ins id="pl157"></ins>
<ins id="pl157"></ins>
<var id="pl157"></var>
<cite id="pl157"></cite><del id="pl157"></del>
<cite id="pl157"><video id="pl157"></video></cite>
<menuitem id="pl157"></menuitem>
<var id="pl157"></var>
<menuitem id="pl157"></menuitem>
<cite id="pl157"></cite>
<progress id="pl157"><ruby id="pl157"><th id="pl157"></th></ruby></progress><var id="pl157"></var>
<ins id="pl157"><noframes id="pl157"><var id="pl157"></var>
<ins id="pl157"><span id="pl157"></span></ins><cite id="pl157"></cite>
<cite id="pl157"><span id="pl157"></span></cite>
京东彩票是真的挣钱吗 彩票基本走势图大全360 在线每日稳定更新 4场进球彩最快开奖结果 安徽25选5开奖查询 福彩3d17500谜图 上海天天彩选4历史开奖记录 意甲 新三怪 魔术扑克 大乐透篮球出球顺序 广东快乐十分开奖结果一定牛 福建体彩31选7走势图 吉林十一选五前三直选遗漏 中国冰球冠军