锘??xml version="1.0" encoding="utf-8" standalone="yes"?>C++鍗氬-alantop's blog http://www.2676208.com/alantop/閲忓寲瓒嬪娍浜ゆ槗zh-cnSun, 04 Aug 2019 00:14:51 GMTSun, 04 Aug 2019 00:14:51 GMT60tb寮鎷撹呯敾绾?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2019/07/30/216613.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216613.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/07/30/216613.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216613.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216613.html</trackback:ping><description><![CDATA[<div>PlotString ("demo","▽▽▲▼",high*1.2,Red);</div><img src ="http://www.2676208.com/alantop/aggbug/216613.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-07-30 19:34 <a href="http://www.2676208.com/alantop/archive/2019/07/30/216613.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>tb 寮鎷撹?璺ㄥ懆鏈熷簲鐢?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2019/07/25/216604.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216604.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/07/25/216604.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216604.html</wfw:commentRss><trackback:ping>http://www.2676208.com/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;?#23075;诲姞鍙傛暟</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.2676208.com/alantop/aggbug/216604.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-07-25 17:23 <a href="http://www.2676208.com/alantop/archive/2019/07/25/216604.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>tb璺ㄥ懆鏈熷嚱?#26271;http://www.2676208.com/alantop/archive/2019/07/19/216571.htmlAlanTopAlanTopFri, 19 Jul 2019 14:26:00 GMThttp://www.2676208.com/alantop/archive/2019/07/19/216571.htmlhttp://www.2676208.com/alantop/comments/216571.htmlhttp://www.2676208.com/alantop/archive/2019/07/19/216571.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216571.htmlhttp://www.2676208.com/alantop/services/trackbacks/216571.html
//------------------------------------------------------------------------
// 绠绉? k_Bar
// 鍚?#32457;? 璺ㄥ懆鏈熷嚱?#26271;--鍩虹BAR?#26271;?#23873;
// 绫诲埆: 鐢ㄦ埛?#22193;?#26271;
// 绫诲瀷: 鐢ㄦ埛?#22193;?#26271;
// 杈?#37713;? ?#26271;鍊煎瀷
//------------------------------------------------------------------------


Params 
    Numeric TimeFrame(
1440);    
        
// 鐩爣鏃堕棿?#25030;鏈?#38171;氭寜鏈?#32510;?4?#25030;锛?0320)锛屽懆绾?7澶?10080)锛?#37827;?#32510;?24灏?#37827;?#38171;?440锛?br />        // 鍏?#28000;?#37827;?#37712;呯?#21227;懆鏈熺瓑浜?#37929;稿簲鐨勫?#21979;挓?#26271;锛屽锛?灏?#37827;?60锛?nbsp;30鍒嗛挓=30銆?#37510;?#37510;?br />        // 1鍒嗛?#29111;?#25424;〃锛屾敮鎸佷笉瑙勫垯鍒嗛挓?#26271;锛屽3鍒嗛挓銆?鍒嗛挓銆?4鍒嗛?#29114;瓑
        
    Numeric BarsBack(
0); 
        
// 鐩爣鏃堕棿?#25030;鏈烞AR鍋?#32457;?#38171;?br />        // 1--琛ㄧず褰撳墠?#25030;鏈?#28051;?#37928;勫?#25779;墠BAR瀵瑰簲鐩爣?#25030;鏈?#37928;勫墠涓鏍笲AR
        
// 0--琛ㄧず褰撳墠?#25030;鏈?#28051;?#37928;勫?#25779;墠BAR瀵瑰簲鐩爣?#25030;鏈?#37928;勫?#25779;墠BAR鎴?#23005;?#37714;?#37929;墠涓?#23005;?#37928;凚AR?#26271;?#23873;鍊?/span>

Vars
    Numeric TradeDate;                
// 褰撳墠K绾垮疄闄?#27996;ゆ槗鏃?#37832;?#38171;?#28051;昏瑙e喅澶?#37929;?#38338;?#26864;?#38171;?/span>
    Numeric TradeHour;                // 褰撳墠K绾垮疄闄?#27996;ゆ槗鏃堕棿锛?#28751;?#37827;?#38171;?/span>
    Numeric TradeMinute;            // 褰撳墠K绾垮疄闄?#27996;ゆ槗鏃堕棿锛?#37714;嗛挓锛?/span>
    NumericSeries Index;            // 褰撳墠BAR鍦═imeFrame鏃堕棿?#25030;鏈?#28051;?#37928;?#32497;?#23534;?#37706;?/span>
    Numeric SessionStartHour;        // 褰撳墠K绾垮疄闄呯殑浜ゆ槗鏃?#37928;?#32471;?#28051;鑺?#27996;ゆ槗鐨勮?#23792;鏃堕棿锛?#28751;?#37827;?#38171;?/span>


    NumericSeries barCnt;            
// 璇?#37721;?#37929;爣?#25030;鏈?#28051;?#28051;鏍笲AR鐨勬暟?#23873;鍦?#35120;撳墠?#25030;鏈?#28051;嬮渶瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_CurBar;        // 褰撳墠BAR鍦?#37929;爣?#25030;鏈?#28051;嬪?#29808;簲鐨凜urrentBar
    Numeric barCntSum;                 // 涓?#37827;?#37721;?#38322;?#38171;岃繑鍥?#37929;爣?#25030;鏈熸暟?#23873;?#28214;瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_Open;            // 鐩爣鏃堕棿?#25030;鏈?#37928;?#23534;鐩?#28000;?/span>
    NumericSeries Ht_High;            // 鐩爣鏃堕棿?#25030;鏈?#37928;?#37832;楂?#28000;?/span>
    NumericSeries Ht_Low;            // 鐩爣鏃堕棿?#25030;鏈?#37928;?#37832;浣?#28000;?/span>
    NumericSeries Ht_Close;            // 鐩爣鏃堕棿?#25030;鏈?#37928;勬敹鐩?#28000;?/span>
    NumericSeries Ht_Vol;            // 鐩爣鏃堕棿?#25030;鏈?#37928;?#37812;?#27996;?#38322;?/span>
    NumericSeries Ht_OpenInt;        // 鐩爣鏃堕棿?#25030;鏈?#37928;?#37816;?#28000;?#38322;?/span>
    bool condition(false);            // 鍒ゆ柇鍦?#37929;爣鏃堕棿鏄?#37722;﹀睘浜庝笉鍚屾?#31538;AR
    Numeric i;
    
Begin

     TradeDate 
= TrueDate(0);         // 鍙栧疄闄?#27996;ゆ槗鏃?#37832;?br />
    
// 鏍规嵁TimeFrame鍒嗗埆澶勭悊
    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);

        
// 瑙e喅4灏?#37827;?#37733;?#37928;?#37827;堕棿鍒?#37714;?#23011;?#26440;?#37911;规畩闂?#26864;?/span>
        If(TimeFrame == 240) SessionStartHour = IIF(SessionStartHour == 21,20,8);
        
        
// ?#23516;褰撳墠BAR瀵瑰簲鏃堕棿锛?#38340;?#28000;imeFrame鐨勫?#21979;挓?#26271;锛屽緱鍒?#37928;勫晢涓虹儲寮?#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;间笉鍚?#37928;?#38171;屽垯璇?#37828;庡睘浜庝笉鍚孊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?#23006;1
        {
            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?#31497;鍙?#38171;?#28003;?#37832;楂?#28000;峰拰鏈浣?#28000;?#29781;佽?#26495;綍浠?#37837;?#37928;?#37721;樺寲锛屾垚浜?#38322;?#29781;?#32497;姞
        {
            barCnt 
= barCnt[1+ 1;
            Ht_High 
= Max(Ht_High[1],High);
            Ht_Low 
= Min(Ht_Low[1],Low);
            Ht_Vol 
= Ht_Vol[1+ Vol;
        }
        
// ?#25977;鐩?#28000;峰?#23678;寔浠?#38322;忔?#37828;?#37721;?#37832;鏂板?/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锛岃?#26495;綍浜嗗畠瀵瑰簲鐨?#37929;爣鏃堕棿?#25030;鏈?#37928;?#23534;楂樹綆?#25977;?#29905;?#26271;?#23873;銆?br />    // 鎺?#28051;?#37833;ユ妸姣忔?#31538;AR瀵瑰簲鐨勬暟?#23873;?#32337;鍥炵粰璋?#37922;?#37832;嚱?#26271;鐨?#37711;?#23534;?#38171;堥氳繃鍏?#28766;鍙?#38322;?#38171;?/span>
    barCntSum = barCnt ;
    If(BarsBack 
== 0)
    
// 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁板綍鐨?#37828;?#35120;撳墠BAR鎵瀵瑰簲鐩爣?#25030;鏈?#37928;勫?#25779;墠BAR鎴?#23005;?#37714;?#37929;墠涓?#23005;?#37928;凚AR?#26271;?#23873;鍊?/span>
    {
        barCntSum 
= 0 ;
    }
    
// 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁板綍鐨?#37828;?#35120;撳墠BAR鎵瀵瑰簲鐩爣?#25030;鏈?#37928;勫墠涓鏍笲AR鐨勬暟?#23873;鍊?/span>
    Else
    {
        barCntSum 
= barCnt ;
    }

    
// 灏?#37929;爣鏃堕棿?#25030;鏈?#28051;?#37928;凚AR?#26271;?#23873;鍐?#37711;?#37711;?#28766;鍙?#38322;忚繑鍥?#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;у懆鏈熸暟?#23873;鐨勫洖婧疊AR?#26271;浣?#28051;哄嚱?#26271;鐨勮繑鍥?#37706;艰繑鍥?/span>
    Return barCnt;
    
End


 
/* 
Params 
    Numeric TimeFrame(1440);    
        // 鐩爣鏃堕棿?#25030;鏈?#38171;氭寜鏈?#32510;?4?#25030;锛?0320)锛屽懆绾?7澶?10080)锛?#37827;?#32510;?24灏?#37827;?#38171;?440锛?br />        // 鍏?#28000;?#37827;?#37712;呯?#21227;懆鏈熺瓑浜?#37929;稿簲鐨勫?#21979;挓?#26271;锛屽锛?灏?#37827;?60锛?nbsp;30鍒嗛挓=30銆?#37510;?#37510;?br />        // 1鍒嗛?#29111;?#25424;〃锛屾敮鎸佷笉瑙勫垯鍒嗛挓?#26271;锛屽3鍒嗛挓銆?鍒嗛挓銆?4鍒嗛?#29114;瓑
        
    Numeric BarsBack(0); 
        // 鐩爣鏃堕棿?#25030;鏈烞AR鍋?#32457;?#38171;?br />        // 1--琛ㄧず褰撳墠?#25030;鏈?#28051;?#37928;勫?#25779;墠BAR瀵瑰簲鐩爣?#25030;鏈?#37928;勫墠涓鏍笲AR
        // 0--琛ㄧず褰撳墠?#25030;鏈?#28051;?#37928;勫?#25779;墠BAR瀵瑰簲鐩爣?#25030;鏈?#37928;勫?#25779;墠BAR鎴?#23005;?#37714;?#37929;墠涓?#23005;?#37928;凚AR?#26271;?#23873;鍊?br />
Vars
    Numeric TradeDate;                // 褰撳墠K绾垮疄闄?#27996;ゆ槗鏃?#37832;?#38171;?#28051;昏瑙e喅澶?#37929;?#38338;?#26864;?#38171;?br />    Numeric TradeHour;                // 褰撳墠K绾垮疄闄?#27996;ゆ槗鏃堕棿锛?#28751;?#37827;?#38171;?br />    Numeric TradeMinute;            // 褰撳墠K绾垮疄闄?#27996;ゆ槗鏃堕棿锛?#37714;嗛挓锛?br />    NumericSeries Index;            // 褰撳墠BAR鍦═imeFrame鏃堕棿?#25030;鏈?#28051;?#37928;?#32497;?#23534;?#37706;?br />    Numeric SessionStartHour;        // 褰撳墠K绾垮疄闄呯殑浜ゆ槗鏃?#37928;?#32471;?#28051;鑺?#27996;ゆ槗鐨勮?#23792;鏃堕棿锛?#28751;?#37827;?#38171;?br />

    NumericSeries barCnt;            // 璇?#37721;?#37929;爣?#25030;鏈?#28051;?#28051;鏍笲AR鐨勬暟?#23873;鍦?#35120;撳墠?#25030;鏈?#28051;嬮渶瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_CurBar;        // 褰撳墠BAR鍦?#37929;爣?#25030;鏈?#28051;嬪?#29808;簲鐨凜urrentBar
    Numeric barCntSum;                 // 涓?#37827;?#37721;?#38322;?#38171;岃繑鍥?#37929;爣?#25030;鏈熸暟?#23873;?#28214;瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_Open;            // 鐩爣鏃堕棿?#25030;鏈?#37928;?#23534;鐩?#28000;?br />    NumericSeries Ht_High;            // 鐩爣鏃堕棿?#25030;鏈?#37928;?#37832;楂?#28000;?br />    NumericSeries Ht_Low;            // 鐩爣鏃堕棿?#25030;鏈?#37928;?#37832;浣?#28000;?br />    NumericSeries Ht_Close;            // 鐩爣鏃堕棿?#25030;鏈?#37928;勬敹鐩?#28000;?br />    NumericSeries Ht_Vol;            // 鐩爣鏃堕棿?#25030;鏈?#37928;?#37812;?#27996;?#38322;?br />    NumericSeries Ht_OpenInt;        // 鐩爣鏃堕棿?#25030;鏈?#37928;?#37816;?#28000;?#38322;?br />    bool condition(false);            // 鍒ゆ柇鍦?#37929;爣鏃堕棿鏄?#37722;﹀睘浜庝笉鍚屾?#31538;AR
    Numeric i;
    
Begin

     TradeDate = TrueDate(0);         // 鍙栧疄闄?#27996;ゆ槗鏃?#37832;?br />
    // 鏍规嵁TimeFrame鍒嗗埆澶勭悊
    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瀵瑰簲鏃堕棿锛?#38340;?#28000;imeFrame鐨勫?#21979;挓?#26271;锛屽緱鍒?#37928;勫晢涓虹儲寮?#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;间笉鍚?#37928;?#38171;屽垯璇?#37828;庡睘浜庝笉鍚孊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?#23006;1
        {
            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?#31497;鍙?#38171;?#28003;?#37832;楂?#28000;峰拰鏈浣?#28000;?#29781;佽?#26495;綍浠?#37837;?#37928;?#37721;樺寲锛屾垚浜?#38322;?#29781;?#32497;姞
        {
            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;
            }
        }
        // ?#25977;鐩?#28000;峰?#23678;寔浠?#38322;忔?#37828;?#37721;?#37832;鏂板?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锛岃?#26495;綍浜嗗畠瀵瑰簲鐨?#37929;爣鏃堕棿?#25030;鏈?#37928;?#23534;楂樹綆?#25977;?#29905;?#26271;?#23873;銆?br />    // 鎺?#28051;?#37833;ユ妸姣忔?#31538;AR瀵瑰簲鐨勬暟?#23873;?#32337;鍥炵粰璋?#37922;?#37832;嚱?#26271;鐨?#37711;?#23534;?#38171;堥氳繃鍏?#28766;鍙?#38322;?#38171;?br />    barCntSum = barCnt ;
    If(BarsBack == 0)
    // 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁板綍鐨?#37828;?#35120;撳墠BAR鎵瀵瑰簲鐩爣?#25030;鏈?#37928;勫?#25779;墠BAR鎴?#23005;?#37714;?#37929;墠涓?#23005;?#37928;凚AR?#26271;?#23873;鍊?br />    {
        barCntSum = 0 ;
    }
    // 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁板綍鐨?#37828;?#35120;撳墠BAR鎵瀵瑰簲鐩爣?#25030;鏈?#37928;勫墠涓鏍笲AR鐨勬暟?#23873;鍊?br />    Else
    {
        barCntSum = barCnt ;
    }

    // 灏?#37929;爣鏃堕棿?#25030;鏈?#28051;?#37928;凚AR?#26271;?#23873;鍐?#37711;?#37711;?#28766;鍙?#38322;忚繑鍥?#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;у懆鏈熸暟?#23873;鐨勫洖婧疊AR?#26271;浣?#28051;哄嚱?#26271;鐨勮繑鍥?#37706;艰繑鍥?br />    Return barCnt;
    
End 
*/




AlanTop 2019-07-19 22:26 鍙戣〃璇勮
]]>
frp鍐呯綉绌块?#26473;滅▼杩?#37818;?/title><link>http://www.2676208.com/alantop/archive/2019/07/17/216561.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 17 Jul 2019 03:07:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2019/07/17/216561.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216561.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/07/17/216561.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216561.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216561.html</trackback:ping><description><![CDATA[杞?#28000;朵笅杞?#37734;板潃锛歨ttps://github.com/fatedier/frp/releases<br />鏈嶅姟鍣?centos 7.6<br />瀹㈡埛鏈?windows 10<br /><br />鏈嶅姟鍣?#32468;?#38320;嶇疆鏂?#28000;?frps.ini<br /><br /><div># 缂?#26440;?#38320;嶇疆鏂?#28000;?nbsp;</div><div># frps.ini</div><div>#閫?#37922;?#29825;剧疆</div><div>[common]</div><div># frp 鐩?#37722;?#37734;板潃</div><div>bind_port = 7000</div><div>#璁?#38338;?#28729;㈡埛绔痺eb鏈嶅姟鑷?#28729;?#28052;?#37928;勭鍙?#37721;?nbsp;</div><div>vhost_http_port = 8110</div><div>#閾?#37818;?#37721;?#28000;?/div><div>token = 12345678</div><div></div><div>#frp 鎺?#37714;堕潰鏉?/div><div>dashboard_port = 7500</div><div># dashboard 鐢ㄦ埛鍚?#28725;嗙爜鍙?#38315;?#38171;岄粯璁?#38318;?#28051;?admin</div><div>dashboard_user = admin</div><div>dashboard_pwd = admin<br /><br /><div><div>鏈嶅姟鍣?#32468;?#26473;?#29723;?./frps -c frps.ini</div><div>杩滅▼绠?#37918;嗛?#30008;潰 http://ip:7500/</div><div></div><div>瀹㈡埛绔?#38320;嶇疆鏂?#28000;?/div><div></div><div> # 閫?#37922;?#38320;嶇疆</div><div>    [common]</div><div>    # 鏈嶅姟鍣?#32468;?#37734;板潃 涔?#37721;?#28000;ュ~鍐?#37737;熷悕</div><div>    server_addr = 47.103.128.154</div><div>    # 鏈嶅姟鍣?#32468;?#37721;?/div><div>    server_port = 7000 </div><div>    # 鎺?#37833;僼oken 瑕佷笌鏈嶅姟鍣?#32468;?#28051;鑷?/div><div>    token = 12345678</div><div>    </div><div></div><div>    </div><div>    #鍐呯綉绌块忔彁渚?#37832;?#37734;版暟?#23873;搴撶粰?#22470;浜?#29825;?#38338;?/div><div>   [tcp3389]</div><div>   type = tcp</div><div>   local_ip = 10.2.3.110</div><div>   #鏈?#37734;扮鍙?/div><div>   local_port = 3389</div><div>   #杩滅?#23340;鍙?/div><div>   remote_port =3389</div><div>   </div><div>瀹㈡埛绔?#26473;?#29723;?nbsp;<span style="color: #4d4d4d; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif; font-size: 16px; font-variant-ligatures: common-ligatures; background-color: #ffffff;">frpc.exe -c frpc.ini</span></div></div><span style="background-color: #282c34; color: #abb2bf; font-family: "Source Code Pro", "DejaVu Sans Mono", "Ubuntu Mono", "Anonymous Pro", "Droid Sans Mono", Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, "PingFang SC", "Microsoft YaHei", sans-serif; font-variant-ligatures: common-ligatures; white-space: pre;"><br /><br /></span></div><div></div><img src ="http://www.2676208.com/alantop/aggbug/216561.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-07-17 11:07 <a href="http://www.2676208.com/alantop/archive/2019/07/17/216561.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>python3 閫氳繃tcp杩滅▼鎺?#37714;?#37832;嶅姟鍣?#37813;?#29723;?#37723;?#28000;?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2019/07/10/216527.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216527.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/07/10/216527.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216527.html</wfw:commentRss><trackback:ping>http://www.2676208.com/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;?#28052;?#32491;绘潵?#30084;鐜?#38315;氫俊寰?#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;诲啓鍏andle鏂规硶锛屽?#34425;?#23342;摼鎺?#37827;朵細鑷?#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; "> 閾?#37818;?#23536;?#37916;?/span><span style="color: #008000; "><br /></span></div></div><img src ="http://www.2676208.com/alantop/aggbug/216527.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-07-10 16:28 <a href="http://www.2676208.com/alantop/archive/2019/07/10/216527.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>windows server 2012婵娲绘?#35268;硶http://www.2676208.com/alantop/archive/2019/07/09/216522.htmlAlanTopAlanTopTue, 09 Jul 2019 06:03:00 GMThttp://www.2676208.com/alantop/archive/2019/07/09/216522.htmlhttp://www.2676208.com/alantop/comments/216522.htmlhttp://www.2676208.com/alantop/archive/2019/07/09/216522.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216522.htmlhttp://www.2676208.com/alantop/services/trackbacks/216522.htmlwindows server 2012涓嬭浇鍦板潃
https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2
杩欐潯鍛?#28000;?#37828;?#26462;?#37817;?#37812;愭爣鍑?#37911;?#37832;?#38171;?/div>
DISM /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:NH3KG-P864D-XYCJH-82DMH-4CX8M
鏈嶅姟鍣?#28751;?#38322;?#37722;?#28051;ゆ
Windows Server 2012 R2 Retail Key锛?#27996;哄搧搴忓垪鍙?/div>
[Key]锛歂H3KG-P864D-XYCJH-82DMH-4CX8M -- Standard 锛?#37721;?#28000;?#23157;娲?#38171;?/div>
[Key]锛欿PXD3-FDN73-2XYRP-9GCRW-TQ6PB -- Standard
[Key]锛歍PQN8-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;? 瀵嗛挜锛?/div>
 
銆銆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 鐜板湪?#25966;鎸佷袱绉?#23157;娲绘柟寮?#38171;?/div>
 
銆銆?#26271;?#23873;涓?#36423;?#27996;у搧瀵嗛挜锛?/div>
 
銆銆JGXYY-7NMTC-MHKY3-QCC9B-VQRG7
 
銆銆Datacenter Server 鐨勮嚜鍔ㄨ櫄鎷?#37832;?#23157;娲?(AVMA) 瀵嗛挜锛?/div>
 
銆銆XVNRV-9HTX4-TH2JD-HVJQD-QRQWG


AlanTop 2019-07-09 14:03 鍙戣〃璇勮
]]>python3 瀹?#37827;?#38322;?#37722;?#37832;嶅姟http://www.2676208.com/alantop/archive/2019/07/03/216477.htmlAlanTopAlanTopWed, 03 Jul 2019 04:19:00 GMThttp://www.2676208.com/alantop/archive/2019/07/03/216477.htmlhttp://www.2676208.com/alantop/comments/216477.htmlhttp://www.2676208.com/alantop/archive/2019/07/03/216477.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216477.htmlhttp://www.2676208.com/alantop/services/trackbacks/216477.htmlimport os
import time
import time
import datetime
import codecs


def get_min():
    return int(  time.strftime('%M', time.localtime(time.time())) )
    
def get_hour():
    return int(  time.strftime('%H', time.localtime(time.time())) )
    
def get_current_time():
    return ( str(datetime.datetime.now().year) + '-' + str(datetime.datetime.now().month) + '-' + str(datetime.datetime.now().day) + " " + time.strftime('%H:%M:%S',time.localtime(time.time())) )

def writelog(content):
    print(content)
    f = codecs.open('reboot.log','a','utf-8')
    f.write(content)
    f.writelines('\r\n')
    f.flush()

def rebootservice():
    os.system('net stop spooler')
    time.sleep(1)
    os.system('net start spooler')
    
while True:
    print(get_current_time())
    if (  get_min() == 24  and get_hour() == 12 ):
        writelog("閲?#37722;?#37832;嶅姟鏃堕棿:" + get_current_time())
        rebootservice()
        time.sleep(60)
    time.sleep(10)


AlanTop 2019-07-03 12:19 鍙戣〃璇勮
]]>windows7 锛寃indows server 2008锛寃indows server2012 鎶鏈?#32513;?#23005;?#37827;堕棿銆?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2019/06/28/216467.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216467.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/06/28/216467.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216467.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216467.html</trackback:ping><description><![CDATA[<div>Windows Server 2008 鍜?Windows Server 2008 R2锛屽師鏈?#29825;?#37714;?#27996;?013骞?鏈?鏃?#32513;?#23005;?#38171;?#37722;?#37833;?#37711;嶈垂涓绘祦?#25966;鎸?#28751;嗗?#22549;暱鑷?015骞?鏈?5鏃?#38171;屽湪杩?#28052;嬪墠锛屽井杞?#28751;?#28051;篧indows Server 2008?#24385;渚?#37711;嶈垂鐨勬妧鏈敮鎸?#37510;?#37734;?015骞?鏈?5鏃?#28051;绘祦?#25966;鎸?#37832;熺?#25780;?#29111;悗锛?#37922;ㄦ埛鍙?#28000;?#38014;?#37721;?#37721;?#28598;?骞?#37928;勬妧鏈敮鎸?#38171;屼笉?#32323;杩欐灏?#37828;敹?#22402;鐨?#27996;?#38171;堝井杞?#28000;嶄?#27693;彁渚?#37711;嶈垂鐨勫畨鍏?#37831;存柊锛?#37510;?/div><div></div><div>Windows Server 2008 鍜?Windows Server 2008 R2 鎶鏈敮鎸佺粓姝?#37827;堕棿鏄?020骞?鏈?4鏃?#37510;?br /><br /><span style="font-family: 瀹嬩綋; font-size: 16px;">Windows 7 鐨勬妧鏈?#32513;?#23005;?#37827;堕棿鏄?020骞?鏈?4鏃?#37510;?br /><br />windows server 2012 鎶鏈?#32513;?#23005;?#37827;堕棿2023骞?0鏈?0鏃?#37510;?/span></div><img src ="http://www.2676208.com/alantop/aggbug/216467.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-06-28 19:41 <a href="http://www.2676208.com/alantop/archive/2019/06/28/216467.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>C++?#31078;琛屽?#25779;?#23678;?#21976;?#22549;泦鍚?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2019/02/10/216235.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216235.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/02/10/216235.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216235.html</wfw:commentRss><trackback:ping>http://www.2676208.com/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.2676208.com/alantop/aggbug/216235.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-02-10 14:44 <a href="http://www.2676208.com/alantop/archive/2019/02/10/216235.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>windows 10 鏃犳硶浠?803鑷?#37716;?#37719;?#32510;?#37714;?809鐨勮В?#21893;鏂规http://www.2676208.com/alantop/archive/2019/01/31/216229.htmlAlanTopAlanTopThu, 31 Jan 2019 03:22:00 GMThttp://www.2676208.com/alantop/archive/2019/01/31/216229.htmlhttp://www.2676208.com/alantop/comments/216229.htmlhttp://www.2676208.com/alantop/archive/2019/01/31/216229.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216229.htmlhttp://www.2676208.com/alantop/services/trackbacks/216229.html闃?#29831;诲叏鏂?/a>

AlanTop 2019-01-31 11:22 鍙戣〃璇勮
]]>
python3 鑾?#37721;?#32429;?#28000;朵俊?#20229; ?#23006;瀵?娉?#37712;屽?#29115;兘http://www.2676208.com/alantop/archive/2019/01/06/216170.htmlAlanTopAlanTopSun, 06 Jan 2019 04:51:00 GMThttp://www.2676208.com/alantop/archive/2019/01/06/216170.htmlhttp://www.2676208.com/alantop/comments/216170.htmlhttp://www.2676208.com/alantop/archive/2019/01/06/216170.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216170.htmlhttp://www.2676208.com/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;?#37714;嗕俊?#20229;鍙?#37714;?#28051;虹┖鍊?#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
#?#32137;鍗ac鍦板潃锛?/div>
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.2676208.com/alantop/archive/2018/12/30/216155.htmlAlanTopAlanTopSun, 30 Dec 2018 03:58:00 GMThttp://www.2676208.com/alantop/archive/2018/12/30/216155.htmlhttp://www.2676208.com/alantop/comments/216155.htmlhttp://www.2676208.com/alantop/archive/2018/12/30/216155.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216155.htmlhttp://www.2676208.com/alantop/services/trackbacks/216155.html1.淇?#37824;筯osts
0.0.0.0 account.jetbrains.com
2.杞?#28000;朵腑杈撳叆濡?#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++ 涓婚?#27200;?#37815;?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2018/12/27/216150.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216150.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2018/12/27/216150.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216150.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216150.html</trackback:ping><description><![CDATA[璁剧疆->璇█鏍?#23534;?#29825;剧疆<br />閫?#37815;?#28051;婚锛歄bsidian锛?span style="color: #333333; font-family: Arial, "Microsoft YaHei", "\\5FAE杞?#38342;?#27035;?quot;, "\\5B8B?#32139;", "Malgun Gothic", Meiryo, sans-serif; font-variant-numeric: normal; font-variant-east-asian: normal; line-height: 21px; background-color: #ffffff;">榛?#37831;測ao鐭?/span>锛?#38171;?br />閫?#37815;?#28699;?#28003;撴牱寮?#38171;欳onsolas锛?br />瀛椾綋澶?#28751;?#38171;?2<br />浣?#37922;?#37711;?#28766;瀛椾綋锛?br />浣?#37922;?#37711;?#28766;瀛椾綋澶?#28751;?#37510;?img src ="http://www.2676208.com/alantop/aggbug/216150.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2018-12-27 16:47 <a href="http://www.2676208.com/alantop/archive/2018/12/27/216150.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>sublime text 3 璁剧疆http://www.2676208.com/alantop/archive/2018/12/26/216146.htmlAlanTopAlanTopWed, 26 Dec 2018 10:19:00 GMThttp://www.2676208.com/alantop/archive/2018/12/26/216146.htmlhttp://www.2676208.com/alantop/comments/216146.htmlhttp://www.2676208.com/alantop/archive/2018/12/26/216146.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216146.htmlhttp://www.2676208.com/alantop/services/trackbacks/216146.html{
"ignored_packages":
[
"Vintage"
],
"default_encoding": "UTF-8",
"font_size": 12.0,
"tab_size": 4,
"draw_white_space": "all",
"translate_tabs_to_spaces": true,
"expand_tabs_on_save": true
}


AlanTop 2018-12-26 18:19 鍙戣〃璇勮
]]>nginx鐨?#38320;嶇疆http://www.2676208.com/alantop/archive/2018/12/25/216139.htmlAlanTopAlanTopTue, 25 Dec 2018 10:07:00 GMThttp://www.2676208.com/alantop/archive/2018/12/25/216139.htmlhttp://www.2676208.com/alantop/comments/216139.htmlhttp://www.2676208.com/alantop/archive/2018/12/25/216139.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216139.htmlhttp://www.2676208.com/alantop/services/trackbacks/216139.html杩?#29723;屽畬 鍋?#23005;?nbsp;nginx -s quit
绔?#37719;?#37707;?#23005;?
nginx -s stop

淇?#37824;?
\nginx\conf\nginx.conf
listen 80 榛?#29825;?#32468;?#37721;?br />
瀹夎鎴?#37832;嶅姟?#20240;鍏?br />
 http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/
涓?#26916;?/a> https://github.com/kohsuke/winsw

AlanTop 2018-12-25 18:07 鍙戣〃璇勮
]]>
鏂?#37719;?#37721;屽潎绾?#32475;?#37923;?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2018/12/25/216138.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216138.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2018/12/25/216138.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216138.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216138.html</trackback:ping><description><![CDATA[     鎽?#29781;?   <a href='http://www.2676208.com/alantop/archive/2018/12/25/216138.html'>闃?#29831;诲叏鏂?/a><img src ="http://www.2676208.com/alantop/aggbug/216138.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2018-12-25 17:12 <a href="http://www.2676208.com/alantop/archive/2018/12/25/216138.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>unity 濡備綍鎿嶄綔鎽勫儚鏈?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2018/12/19/216128.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216128.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2018/12/19/216128.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216128.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216128.html</trackback:ping><description><![CDATA[     鎽?#29781;?   <a href='http://www.2676208.com/alantop/archive/2018/12/19/216128.html'>闃?#29831;诲叏鏂?/a><img src ="http://www.2676208.com/alantop/aggbug/216128.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2018-12-19 14:18 <a href="http://www.2676208.com/alantop/archive/2018/12/19/216128.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>瑙e喅nohup 杈?#37713;轰笉?#29995;python print鐨勮緭鍑?#38338;?#26864;?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2018/12/19/216127.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216127.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2018/12/19/216127.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216127.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216127.html</trackback:ping><description><![CDATA[     鎽?#29781;?   <a href='http://www.2676208.com/alantop/archive/2018/12/19/216127.html'>闃?#29831;诲叏鏂?/a><img src ="http://www.2676208.com/alantop/aggbug/216127.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2018-12-19 10:40 <a href="http://www.2676208.com/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.2676208.com/alantop/archive/2018/12/13/216122.htmlAlanTopAlanTopThu, 13 Dec 2018 12:53:00 GMThttp://www.2676208.com/alantop/archive/2018/12/13/216122.htmlhttp://www.2676208.com/alantop/comments/216122.htmlhttp://www.2676208.com/alantop/archive/2018/12/13/216122.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216122.htmlhttp://www.2676208.com/alantop/services/trackbacks/216122.html闃?#29831;诲叏鏂?/a>

AlanTop 2018-12-13 20:53 鍙戣〃璇勮
]]>
gvim 閰嶇疆python杩?#29723;岀幆澧?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2018/12/08/216111.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216111.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2018/12/08/216111.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216111.html</wfw:commentRss><trackback:ping>http://www.2676208.com/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鏂?#28000;?#38171;屽垯鍚?#37827;舵墦寮缂?#29831;戜俊?#20229;绐?#37721;? 灏?#28051;婇潰鎷?#29840;?#37714;?C:\Program Files (x86)\Vim\_vimrc 鐨?#37832;鍚?#28051;琛?img src ="http://www.2676208.com/alantop/aggbug/216111.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2018-12-08 15:04 <a href="http://www.2676208.com/alantop/archive/2018/12/08/216111.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>notepad++ 閰嶇疆go璇█ http://www.2676208.com/alantop/archive/2018/12/08/216110.htmlAlanTopAlanTopSat, 08 Dec 2018 04:07:00 GMThttp://www.2676208.com/alantop/archive/2018/12/08/216110.htmlhttp://www.2676208.com/alantop/comments/216110.htmlhttp://www.2676208.com/alantop/archive/2018/12/08/216110.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216110.htmlhttp://www.2676208.com/alantop/services/trackbacks/216110.html

AlanTop 2018-12-08 12:07 鍙戣〃璇勮
]]>
python3 鍒?#37817;?#37714;版?#22247;畾鐩?#35120;?#37813;?#29723;岀?#23338;簭http://www.2676208.com/alantop/archive/2018/12/02/216105.htmlAlanTopAlanTopSun, 02 Dec 2018 13:12:00 GMThttp://www.2676208.com/alantop/archive/2018/12/02/216105.htmlhttp://www.2676208.com/alantop/comments/216105.htmlhttp://www.2676208.com/alantop/archive/2018/12/02/216105.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216105.htmlhttp://www.2676208.com/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;鎸囧?#27697;綉椤?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2018/11/25/216079.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216079.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2018/11/25/216079.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216079.html</wfw:commentRss><trackback:ping>http://www.2676208.com/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.2676208.com/alantop/aggbug/216079.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2018-11-25 18:20 <a href="http://www.2676208.com/alantop/archive/2018/11/25/216079.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>notepad ++ 閰嶇疆 python 鍜岃繍琛?#37929;?#35120;?/title><link>http://www.2676208.com/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.2676208.com/alantop/archive/2018/11/24/216077.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216077.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2018/11/24/216077.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216077.html</wfw:commentRss><trackback:ping>http://www.2676208.com/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.2676208.com/alantop/aggbug/216077.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2018-11-24 12:18 <a href="http://www.2676208.com/alantop/archive/2018/11/24/216077.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>EX-B150M-V3 涓绘?#22446;?#22798;win7澶?#29840;?#37928;勮В?#21893;鏂规http://www.2676208.com/alantop/archive/2018/09/17/215937.htmlAlanTopAlanTopMon, 17 Sep 2018 12:05:00 GMThttp://www.2676208.com/alantop/archive/2018/09/17/215937.htmlhttp://www.2676208.com/alantop/comments/215937.htmlhttp://www.2676208.com/alantop/archive/2018/09/17/215937.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215937.htmlhttp://www.2676208.com/alantop/services/trackbacks/215937.html闃?#29831;诲叏鏂?/a>

AlanTop 2018-09-17 20:05 鍙戣〃璇勮
]]>
define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings鐨勮В?#21893;鏂规http://www.2676208.com/alantop/archive/2018/09/07/215911.htmlAlanTopAlanTopFri, 07 Sep 2018 06:18:00 GMThttp://www.2676208.com/alantop/archive/2018/09/07/215911.htmlhttp://www.2676208.com/alantop/comments/215911.htmlhttp://www.2676208.com/alantop/archive/2018/09/07/215911.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215911.htmlhttp://www.2676208.com/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;?#28052;?#37734;╯tdafx.h鐨?#32471;?#28051;琛?/div>


AlanTop 2018-09-07 14:18 鍙戣〃璇勮
]]>c++ 濡備綍鑾?#37721;?#35120;撳墠鏃堕棿http://www.2676208.com/alantop/archive/2018/09/06/215909.htmlAlanTopAlanTopThu, 06 Sep 2018 07:30:00 GMThttp://www.2676208.com/alantop/archive/2018/09/06/215909.htmlhttp://www.2676208.com/alantop/comments/215909.htmlhttp://www.2676208.com/alantop/archive/2018/09/06/215909.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215909.htmlhttp://www.2676208.com/alantop/services/trackbacks/215909.htmlvoid GetCurrentTime()
{
        struct tm t;   //tm缁撴瀯鎸?#38333;?/span>
        time_t now;  //澹版槑time_t绫诲?#23338;彉閲?/span>
        time(&now);      //鑾?#37721;?#32495;?#32513;?#37827;?#37832;熷拰鏃堕棿
        localtime_s(&t, &now);   //鑾?#37721;?#35120;撳?#29256;棩鏈熷拰鏃堕棿

        char szResult[20] = "\0";
        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); //浜?#37922;?123"
        
        cout << szResult << endl;
}


AlanTop 2018-09-06 15:30 鍙戣〃璇勮
]]>
c++浠庢爣澶?#37724;屾爣灏炬彁鍙栨暟?#23873;http://www.2676208.com/alantop/archive/2018/09/03/215900.htmlAlanTopAlanTopMon, 03 Sep 2018 08:04:00 GMThttp://www.2676208.com/alantop/archive/2018/09/03/215900.htmlhttp://www.2676208.com/alantop/comments/215900.htmlhttp://www.2676208.com/alantop/archive/2018/09/03/215900.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215900.htmlhttp://www.2676208.com/alantop/services/trackbacks/215900.html
?#24385;鍙?#37722;?#37832;?#37733;?#28729;?#28699;?#32471;?#28051;?#37510;?br /><state>鍥?#28729;?lt;/state> 


      string result;
        if (Extract(line, result, "<state>", "</state>"))
            cout << result << endl;

bool Extract(string src, string &result, const char * szStart, const char *szEnd)
{
    int strlength = strlen(szStart);

    string::size_type start = src.find(szStart);


    if (start != string::npos)
    {
        string::size_type end = src.find(szEnd);
        if (end != string::npos)
        {
            result = src.substr(start + strlength, end - start - strlength);
            return true;
        }
        else
            return false;
    }
    else
        return false;

}


AlanTop 2018-09-03 16:04 鍙戣〃璇勮
]]>Kubernetes鏉冨▉鎸?#37719;?#32471;?鐗?鍜?Docker鎶鏈?#37711;?#38338;?#28051;庡疄鎴?#32471;?鐗?涓?#37832;?#28729;瑰櫒鐨?#28052;?#28051;嬭浇鍦板潃http://www.2676208.com/alantop/archive/2018/09/01/215896.htmlAlanTopAlanTopSat, 01 Sep 2018 03:52:00 GMThttp://www.2676208.com/alantop/archive/2018/09/01/215896.htmlhttp://www.2676208.com/alantop/comments/215896.htmlhttp://www.2676208.com/alantop/archive/2018/09/01/215896.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215896.htmlhttp://www.2676208.com/alantop/services/trackbacks/215896.html闃?#29831;诲叏鏂?/a>

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

AlanTop 2018-08-18 06:33 鍙戣〃璇勮
]]>
qt涓嬭浇鍦板潃http://www.2676208.com/alantop/archive/2018/08/16/215849.htmlAlanTopAlanTopThu, 16 Aug 2018 08:14:00 GMThttp://www.2676208.com/alantop/archive/2018/08/16/215849.htmlhttp://www.2676208.com/alantop/comments/215849.htmlhttp://www.2676208.com/alantop/archive/2018/08/16/215849.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215849.htmlhttp://www.2676208.com/alantop/services/trackbacks/215849.html闃?#29831;诲叏鏂?/a>

AlanTop 2018-08-16 16:14 鍙戣〃璇勮
]]>
anaconda鏇存敼婧?#37719;?#32510;?#38171;?/title><link>http://www.2676208.com/alantop/archive/2018/08/12/215841.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sun, 12 Aug 2018 02:10:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2018/08/12/215841.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/215841.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2018/08/12/215841.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/215841.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/215841.html</trackback:ping><description><![CDATA[     鎽?#29781;? anaconda鏇存敼婧?#37719;?#32510;?nbsp; <a href='http://www.2676208.com/alantop/archive/2018/08/12/215841.html'>闃?#29831;诲叏鏂?/a><img src ="http://www.2676208.com/alantop/aggbug/215841.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2018-08-12 10:10 <a href="http://www.2676208.com/alantop/archive/2018/08/12/215841.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Visual Studio 2017 锛坴s2017锛夊?#22798;?#21615;‖浠?#37724;岃蔣浠?#29781;佹眰http://www.2676208.com/alantop/archive/2018/08/12/215840.htmlAlanTopAlanTopSun, 12 Aug 2018 02:05:00 GMThttp://www.2676208.com/alantop/archive/2018/08/12/215840.htmlhttp://www.2676208.com/alantop/comments/215840.htmlhttp://www.2676208.com/alantop/archive/2018/08/12/215840.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215840.htmlhttp://www.2676208.com/alantop/services/trackbacks/215840.html闃?#29831;诲叏鏂?/a>

AlanTop 2018-08-12 10:05 鍙戣〃璇勮
]]>
centos鍜宒ebian鐨勬敮鎸?#37827;堕棿http://www.2676208.com/alantop/archive/2018/08/12/215839.htmlAlanTopAlanTopSun, 12 Aug 2018 02:04:00 GMThttp://www.2676208.com/alantop/archive/2018/08/12/215839.htmlhttp://www.2676208.com/alantop/comments/215839.htmlhttp://www.2676208.com/alantop/archive/2018/08/12/215839.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215839.htmlhttp://www.2676208.com/alantop/services/trackbacks/215839.htmlcentos 6 / RHEL 6 瀹?#37825;存?#23384;柊锛?016骞?#32471;?#27996;屽搴?#38171;?缁存姢鏇存柊锛?020骞?1鏈?0鏃?#38171;?/div>
centos 7 / RHEL 7 瀹?#37825;存?#23384;柊锛?019骞?#32471;?#37733;涘搴?#38171;?缁存姢鏇存柊锛?024骞?6鏈?0鏃?#38171;?/div>
Debian GNU/Linux 9 “Stretch”LTS鐗?#37832;??#25966;鎸?#37714;?2020 骞?6 鏈?/div>

AlanTop 2018-08-12 10:04 鍙戣〃璇勮
]]>鍗?#32510;ip澶?#29840;?#29785;e喅鏂规http://www.2676208.com/alantop/archive/2018/08/12/215838.htmlAlanTopAlanTopSun, 12 Aug 2018 01:55:00 GMThttp://www.2676208.com/alantop/archive/2018/08/12/215838.htmlhttp://www.2676208.com/alantop/comments/215838.htmlhttp://www.2676208.com/alantop/archive/2018/08/12/215838.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215838.htmlhttp://www.2676208.com/alantop/services/trackbacks/215838.html闃?#29831;诲叏鏂?/a>

AlanTop 2018-08-12 09:55 鍙戣〃璇勮
]]>
vs2015 鎵?#23534;msdn甯?#37716;?#23005;?#37832;虹?#21230;В?#21893;鏂规http://www.2676208.com/alantop/archive/2018/07/25/215804.htmlAlanTopAlanTopWed, 25 Jul 2018 02:22:00 GMThttp://www.2676208.com/alantop/archive/2018/07/25/215804.htmlhttp://www.2676208.com/alantop/comments/215804.htmlhttp://www.2676208.com/alantop/archive/2018/07/25/215804.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215804.htmlhttp://www.2676208.com/alantop/services/trackbacks/215804.html闃?#29831;诲叏鏂?/a>

AlanTop 2018-07-25 10:22 鍙戣〃璇勮
]]>
鍩?#38322;?#37805;掑競鍊煎?#27693;姇婧?#37934;?/title><link>http://www.2676208.com/alantop/archive/2018/07/24/215801.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 24 Jul 2018 12:06:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2018/07/24/215801.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/215801.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2018/07/24/215801.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/215801.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/215801.html</trackback:ping><description><![CDATA[<div>鍩?#38322;戞暟?#23873;鐨勬姄鍙?br /> 绗?#28051;绉?#37826;规硶锛?br /> 浣?#37922;?闆嗘悳瀹ooSeeker ?#26271;?#23873;閲?#38342;嗚蔣浠?#38171;?#37827;?#26916;?#32514;?#37934;?#38171;岃嚜鍔?#38322;?#38342;?#37812;?#32471;?#37722;?#29781;佹眰鐨凜SV鏂?#28000;?br /> <br /> 鎵?#23534;椤甸潰 璁?#28729;?#37825;寸悊绠?璁剧疆閲?#38342;嗘爣绛?璁剧疆缁?#28725;瑰畾浣?鏍?#28186;?#37825;寸悊<br /> 鐒?#37722;?璁剧疆缈?#26916;?#37718;?璁剧疆缈?#26916;垫爣蹇?br /> 瀛?#29785;勫垯<br /> 寮濮?#38322;?#38342;?璁剧疆缁撴?#29112;爣蹇?閲?#28598;嶇?#25780;潫<br /> 涓婁紶閲?#38342;嗘暟?#23873; 鍒?#28598;?#37812;愭爣鍑哻sv鏍?#23534;?#37510;?br /> ?#26271;?#23873;閲?#38342;?#37825;?#32459;嬪?#20636;湅 <a href="http://www.gooseeker.com/doc/article-284-1.html">http://www.gooseeker.com/doc/article-284-1.html</a><br /> 绗?#27996;?#32457;?#37826;规硶锛?#28000;庣?#29256;垚鐨勮蔣浠朵腑?#24385;鍙?#37510;?br /> 浣?#37922;?#37812;?#28000;ュ墠鍙戝竷鐨勬彁鍙栧伐鍏鋒彁鍙?#37719;?#37721;?#37510;?br /> <br /> <br /> 1. 鍩?#37832;?#37928;勬暟?#23873;缁撴瀯<br /> a锛氭暟?#23873;鐨勫瓨鏀?#37826;?#23534;忓?#23678;暟?#23873;缁撴瀯<br /> 閲?#37922;?#37827;?#37832;?#38171;屾敹鐩?#28000;?#37928;勬枃鏈?#37826;?#23534;?#28103;?#28699;?#28051;篶sv鏍?#23534;?br /> b锛氶渶瑕佽绠?#37928;勬暟?#23873;<br /> struct data<br /> {<br />  string date;   //鏃?#37832;?br />  float close;       //?#25977;鐩?#28000;?br />  float AIP_money;   //姣?#37832;熷?#27693;姇閲?#26864;?br />  float AIP_summoney; //绱?#29825;?#28729;氭姇閲?#26864;?br />  float buyshare;       //璐?#28052;?#28000;?#26864;?br />  float sumshare;     // 鎸?#37832;夋?#28000;?#26864;?br />  float marketvalue; //鎸?#37832;夊競鍊?br />  float realrate;    //?#30084;闄呮敹鐩?#37916;?br />  float annualreturn;//骞村寲?#25977;鐩?#37916;?br />  float maxloss;     //鏈澶?#37733;炴挙<br /> };<br /> <br /> 2.鏃?#32510;挎暟?#23873;杞?#37832;?#32510;挎暟?#23873;<br /> <br /> 3.涔板叆?#22193;?#26271;<br /> ?#23516;?#21454;鎭掑?#27692;競鍊?#23049;曚?#26495;叆<br /> <br /> 4.閫鍑?#29785;勫垯<br /> a锛氬疄闄呮敹鐩?#37916;?#26440;?#37714;?#38315;鍑?br /> b锛氬?#26449;寲?#25977;鐩?#37916;?#26440;?#37714;?#38315;鍑?br /> 杞?#28000;?#26440;?#37713;?#37812;?#37733;?#38171;? <img src="http://www.2676208.com/images/cppblog_com/alantop/2018-07-26_00004.png" width="936" height="711" alt="" /> <br /> <br /> <br /> </div><img src ="http://www.2676208.com/alantop/aggbug/215801.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2018-07-24 20:06 <a href="http://www.2676208.com/alantop/archive/2018/07/24/215801.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鎺?#37714;?#37721;扮?#23338;簭闅愯棌鏈?#38892;?#38171;屼?#29116;?#24879;?#24531;惎鍔?#37928;勬帶鍒?#37721;扮?#23338;簭http://www.2676208.com/alantop/archive/2018/07/17/215789.htmlAlanTopAlanTopTue, 17 Jul 2018 14:22:00 GMThttp://www.2676208.com/alantop/archive/2018/07/17/215789.htmlhttp://www.2676208.com/alantop/comments/215789.htmlhttp://www.2676208.com/alantop/archive/2018/07/17/215789.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215789.htmlhttp://www.2676208.com/alantop/services/trackbacks/215789.html
闅愯棌鏈?#38892;?#38171;屽垎涓?#28641;?#28051;嬪嚑姝?#38171;岀己涓?#31497;鍙?#38171;?/div>
绗?#28051;姝? #pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
鍚庤?#28729;?#37825;?#28051;鐐?#37928;?#38171;?/div>
#ifdef _ConsoleDisappear  
#pragma comment( linker, "/subsystem:/"windows/" /entry:/"wmainCRTStartup/"")   
#else  
#pragma comment( linker, "/subsystem:/"windows/" /entry:/"mainCRTStartup/"")  
#endif 
绗?#27996;?#23005;?#38171;歅roject---->Properties--->Linker--->Advanced--->Entery Point淇?#37824;?#28051;?mainCRTStartup"銆?/div>
绗?#28051;?#23005;?#38171;歅roject---->Properties--->Linker--->System-->Subsystem鏀?#37812;怶indows锛?SUBSYSTEM:WINDOWS锛?/div>
闅愯?#24531;惎鍔?#32459;嬪簭
void ExecDOSCMD(char * szCommand)
{
STARTUPINFO si;
memset(&si, 0, sizeof(STARTUPINFO));
//   杩?#32459;嬩俊?#20229;     
PROCESS_INFORMATION   pi;
si.cb = sizeof(STARTUPINFO);
//   鍙栧緱褰撳墠杩?#32459;?#37928;凷tartupInfo,骞?#37837;规嵁褰撳墠杩?#32459;?#26473;?#29723;屼慨鏀?  
GetStartupInfo(&si);
si.wShowWindow = SW_SHOW;
si.dwFlags = STARTF_USESHOWWINDOW;
si.wShowWindow = SW_HIDE;
char temp[4096] = "";//姝?#28598;勪笉?#23006;cmd /k
strcat(temp, szCommand);
CreateProcess(NULL, (LPSTR)(LPCTSTR)(temp), NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, NULL, &si, &pi);
}
ExecDOSCMD("demo.exe -d \\\\.\\usbpcap6 -o log");


AlanTop 2018-07-17 22:22 鍙戣〃璇勮
]]>c璇█ ?#21812;瀛樻煡鎵炬彁鍙栧瓧绗?#28051;插嚱?#26271;http://www.2676208.com/alantop/archive/2018/07/17/215788.htmlAlanTopAlanTopTue, 17 Jul 2018 07:28:00 GMThttp://www.2676208.com/alantop/archive/2018/07/17/215788.htmlhttp://www.2676208.com/alantop/comments/215788.htmlhttp://www.2676208.com/alantop/archive/2018/07/17/215788.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/215788.htmlhttp://www.2676208.com/alantop/services/trackbacks/215788.html闃?#29831;诲叏鏂?/a>

AlanTop 2018-07-17 15:28 鍙戣〃璇勮
]]>
notepad++ 浣?#37922;?.42 32浣嶇増鏈?/title><link>http://www.2676208.com/alantop/archive/2018/06/15/215730.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Fri, 15 Jun 2018 13:10:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2018/06/15/215730.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/215730.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2018/06/15/215730.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/215730.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/215730.html</trackback:ping><description><![CDATA[1.杩?#28051;?#37911;?#37832;?#37832;?#37819;?#28000;?#32480;?#37918;嗗櫒銆?br />2.鏈?#37928;勬彃浠?#37721;敮鎸?2浣嶇殑鐗?#37832;?#37510;?img src ="http://www.2676208.com/alantop/aggbug/215730.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2018-06-15 21:10 <a href="http://www.2676208.com/alantop/archive/2018/06/15/215730.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <a href="http://www.2676208.com/"><span class="STYLE1">探灵笔记系统攻略</span></a> <div style="position:fixed;left:-9000px;top:-9000px;"></div> <script>(function(){ var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743":"https://jspassport.ssl.qhimg.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <div style="position:fixed;left:-9000px;top:-9000px;"></div> <a href="http://www.gnakoe.icu">时时彩退水怎么算</a> <a href="http://www.ttuycm.icu">浙江15选5开奖</a> <a href="http://www.wcfwbf.icu">捕鱼来了怎么挂机赚钱</a> <a href="http://www.fuilus.icu">黑龙江双色球开奖结果</a> <a href="http://www.iagcul.icu">bet007足球即时比分球探网</a> <a href="http://www.iyzfed.icu">河北时时选号技巧大全</a> <a href="http://www.snwwtd.icu">体彩14场胜负二等奖奖金</a> <a href="http://www.modflq.icu">大赢家体育比分</a> <a href="http://www.oihcxe.icu">北京赛車pk10下载苹果版</a> <a href="http://www.flocbnn.com.cn">新时时作弊软件</a> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>