C++博客-alantop's blog http://www.598club.com/alantop/???????????o???zh-cnMon, 20 Jan 2020 19:16:10 GMTMon, 20 Jan 2020 19:16:10 GMT60C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/17/216833.htmlAlanTopAlanTopTue, 17 Sep 2019 04:06:00 GMThttp://www.598club.com/alantop/archive/2019/09/17/216833.htmlhttp://www.598club.com/alantop/comments/216833.htmlhttp://www.598club.com/alantop/archive/2019/09/17/216833.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216833.htmlhttp://www.598club.com/alantop/services/trackbacks/216833.html win10?????
alantoptool
office 2016
7zip
谷?-???????
360???????????
360???????????
360??????
360???????????
vs2019
qt5.12
python?o? 
pycharm
github
vs2017
nmap
notepad++
winscp

AlanTop 2019-09-17 12:06 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/17/216832.htmlAlanTopAlanTopTue, 17 Sep 2019 03:19:00 GMThttp://www.598club.com/alantop/archive/2019/09/17/216832.htmlhttp://www.598club.com/alantop/comments/216832.htmlhttp://www.598club.com/alantop/archive/2019/09/17/216832.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216832.htmlhttp://www.598club.com/alantop/services/trackbacks/216832.html??????a??a??>?????????'????????????a??a??>???????????????????'???????????????/LTCG???incremental?????? ??1??o??? ???????a??a??>??????a??a??>?????????'????????????a??a??>??????????????'???????????????/LTCG??????

AlanTop 2019-09-17 11:19 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/13/216819.htmlAlanTopAlanTopFri, 13 Sep 2019 15:30:00 GMThttp://www.598club.com/alantop/archive/2019/09/13/216819.htmlhttp://www.598club.com/alantop/comments/216819.htmlhttp://www.598club.com/alantop/archive/2019/09/13/216819.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216819.htmlhttp://www.598club.com/alantop/services/trackbacks/216819.htmlwindow????????????????????samba?????????????????o????????????????????????|????????3???3???????-?????????????|???????a???o??????????????????1??o???????a???????
??????????????????????????????????????1???????????o???
“?????????????a??????????????a?????????????????????a??????????????o????o??????????????????-??-????-??????????????o????o???????????????????????????????????”
???3???
 
?????????????????????-????2???????????????? -> cmd???
net use * /del /y   #????|???????o???????????1

net stop workstation
net start workstation
control keymgr.dll
net use * /del /y


AlanTop 2019-09-13 23:30 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/13/216818.htmlAlanTopAlanTopFri, 13 Sep 2019 05:01:00 GMThttp://www.598club.com/alantop/archive/2019/09/13/216818.htmlhttp://www.598club.com/alantop/comments/216818.htmlhttp://www.598club.com/alantop/archive/2019/09/13/216818.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216818.htmlhttp://www.598club.com/alantop/services/trackbacks/216818.html?????
mysqld.exe --defaults-file=D:\mariadb\my.ini --standalone
??3?-
mysqladmin -uusername -ppassword shutdown

???????????? ????? ?????
mysqld -- install MariaDB
net start MariaDB
net stop MariaDB
mysqld --remove MariaDB


AlanTop 2019-09-13 13:01 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/10/216809.htmlAlanTopAlanTopTue, 10 Sep 2019 11:50:00 GMThttp://www.598club.com/alantop/archive/2019/09/10/216809.htmlhttp://www.598club.com/alantop/comments/216809.htmlhttp://www.598club.com/alantop/archive/2019/09/10/216809.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216809.htmlhttp://www.598club.com/alantop/services/trackbacks/216809.html2. 
bios boot 2M ????????o
/boot 1G ????????o
/ 10G LVM??1???
/home LVM??1???
/var 10G LVM??1???
/usr 10G LVM??1???
swap 2G LVM??1???

AlanTop 2019-09-10 19:50 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/10/216807.htmlAlanTopAlanTopTue, 10 Sep 2019 03:08:00 GMThttp://www.598club.com/alantop/archive/2019/09/10/216807.htmlhttp://www.598club.com/alantop/comments/216807.htmlhttp://www.598club.com/alantop/archive/2019/09/10/216807.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216807.htmlhttp://www.598club.com/alantop/services/trackbacks/216807.htmldisplay snmp-agent sys-info version

?????
snmp-agent
??????????? 
snmp-agent sys-info version v2c
snmp-agent sys-info version v3


  1. snmp-agent

    snmp-agent community read  public                    /????????????????:public/

    江苏快三开奖结果snmp-agent community write  private                  /?????????????????:private/

  2. 江苏快三开奖结果?????SNMP?????? ???all??????????????????

    snmp-agent sys-info version all      



AlanTop 2019-09-10 11:08 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/09/216805.htmlAlanTopAlanTopMon, 09 Sep 2019 05:01:00 GMThttp://www.598club.com/alantop/archive/2019/09/09/216805.htmlhttp://www.598club.com/alantop/comments/216805.htmlhttp://www.598club.com/alantop/archive/2019/09/09/216805.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216805.htmlhttp://www.598club.com/alantop/services/trackbacks/216805.htmlsnmpwalk -v 2c -c test@123 10.192.192.1

AlanTop 2019-09-09 13:01 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/08/216802.htmlAlanTopAlanTopSun, 08 Sep 2019 10:02:00 GMThttp://www.598club.com/alantop/archive/2019/09/08/216802.htmlhttp://www.598club.com/alantop/comments/216802.htmlhttp://www.598club.com/alantop/archive/2019/09/08/216802.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216802.htmlhttp://www.598club.com/alantop/services/trackbacks/216802.htmlpython3???

python -m pip install --upgrade pip

AlanTop 2019-09-08 18:02 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/08/216799.htmlAlanTopAlanTopSun, 08 Sep 2019 01:44:00 GMThttp://www.598club.com/alantop/archive/2019/09/08/216799.htmlhttp://www.598club.com/alantop/comments/216799.htmlhttp://www.598club.com/alantop/archive/2019/09/08/216799.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216799.htmlhttp://www.598club.com/alantop/services/trackbacks/216799.html???????-?????
-javaagent:C:\Program Files\JetBrains\PyCharm 2019.2.1\bin\jetbr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19ousk56r40SmlmC04GdDHErr0ei2UbjUua5kw71Qn9g02tL9fERI2sSRjQrvPbn9INwRWl5+k05mlKekbtbu2ev2woJFZK4WEXAd/GaAdeZZdumv8T2idDFL7cAirJwcrbfpawPeXr52oKTPnXfi0l5+g9Gnt/wfiXCrPElX6ycTR6iL3GC2VR4jTz6YatT4Ntz59/THOT7NJQhr6AyLkhhJCdkzE2cob/KouVp4ivV7Q3Fc6HX7eepHAAF/DpxwgOrg9smX6coXLgfp0b1RU2u/tUNID04rpNxTMueTtrT8WSskqvaJd3RH8r7cnRj6Y2hltkja82HlpDURDxDTRvv+krbwMr26SB/40BjpMUrDRCeKuiBahC0DCoU/4+ze1l94wVUhdkCfL0GpJrMSCDEK+XEurU18Hb7WT+ThXbkdl6VpFdHsRvqAnhR2g4b+Qzgidmuky5NUZVfEaZqV/g==


AlanTop 2019-09-08 09:44 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/08/216797.htmlAlanTopAlanTopSat, 07 Sep 2019 21:44:00 GMThttp://www.598club.com/alantop/archive/2019/09/08/216797.htmlhttp://www.598club.com/alantop/comments/216797.htmlhttp://www.598club.com/alantop/archive/2019/09/08/216797.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216797.htmlhttp://www.598club.com/alantop/services/trackbacks/216797.html
/support
??????????1??????


AlanTop 2019-09-08 05:44 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/08/216796.htmlAlanTopAlanTopSat, 07 Sep 2019 21:26:00 GMThttp://www.598club.com/alantop/archive/2019/09/08/216796.htmlhttp://www.598club.com/alantop/comments/216796.htmlhttp://www.598club.com/alantop/archive/2019/09/08/216796.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216796.htmlhttp://www.598club.com/alantop/services/trackbacks/216796.html
chmod 777 simkai.ttf
vim /usr/share/zabbix/include/defines.inc.php
?????1
define('ZBX_GRAPH_FONT_NAME',           'simkai'); 


AlanTop 2019-09-08 05:26 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/08/216795.htmlAlanTopAlanTopSat, 07 Sep 2019 20:38:00 GMThttp://www.598club.com/alantop/archive/2019/09/08/216795.htmlhttp://www.598club.com/alantop/comments/216795.htmlhttp://www.598club.com/alantop/archive/2019/09/08/216795.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216795.htmlhttp://www.598club.com/alantop/services/trackbacks/216795.html
??????2??
IPADDR2=10.2.3.105
NETMASK2=255.255.255.0


AlanTop 2019-09-08 04:38 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/07/216794.htmlAlanTopAlanTopSat, 07 Sep 2019 11:51:00 GMThttp://www.598club.com/alantop/archive/2019/09/07/216794.htmlhttp://www.598club.com/alantop/comments/216794.htmlhttp://www.598club.com/alantop/archive/2019/09/07/216794.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216794.htmlhttp://www.598club.com/alantop/services/trackbacks/216794.html
wmic
cpu get name 
????cpu????????

cpu get numberofcores
????cpu????????

cpu get numberoflogicalprocessors
????cpu?o?????



AlanTop 2019-09-07 19:51 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/07/216793.htmlAlanTopAlanTopSat, 07 Sep 2019 11:42:00 GMThttp://www.598club.com/alantop/archive/2019/09/07/216793.htmlhttp://www.598club.com/alantop/comments/216793.htmlhttp://www.598club.com/alantop/archive/2019/09/07/216793.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216793.htmlhttp://www.598club.com/alantop/services/trackbacks/216793.html?????1????????http://www.maxon.net/en/support/downloads/


AlanTop 2019-09-07 19:42 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/06/216789.htmlAlanTop. wget .rpm
3.yum localinstall zabbix-agent-x86_64.rpm
4.

vim /etc/zabbix/zabbix_agentd.conf

EnableRemoteCommands=1 #?????zabbix????????????zabbix_agentd????????? LogRemoteCommands=1 #????????????????????????? Server=10.8.9.155 #??????zabbix????????IP????? ServerActive=10.8.9.155 #??????zabbix????????IP????? Hostname=cloucentos6.0 #??????zabbix_agentd???????????????o???

service zabbix-agent start 
????? systemctl start zabbix-agent


AlanTop 2019-09-06 23:58 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/06/216788.htmlAlanTopAlanTopFri, 06 Sep 2019 14:58:00 GMThttp://www.598club.com/alantop/archive/2019/09/06/216788.htmlhttp://www.598club.com/alantop/comments/216788.htmlhttp://www.598club.com/alantop/archive/2019/09/06/216788.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216788.htmlhttp://www.598club.com/alantop/services/trackbacks/216788.html???????????
??????????o??????????????ip???????? ?????????????o????????ip???
2.????????????????????????????o
????? ?????o??? ip ???????? ??????????3???????????3???

?????o????????????a?????o?????a?1???????????????

?oo????'??????????????-?????????????????2??????????????????????????????????????????????????????????-????ok
??a??????????????????agent?????????????????????????????????2??????

AlanTop 2019-09-06 22:58 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/06/216786.htmlAlanTopAlanTopFri, 06 Sep 2019 09:34:00 GMThttp://www.598club.com/alantop/archive/2019/09/06/216786.htmlhttp://www.598club.com/alantop/comments/216786.htmlhttp://www.598club.com/alantop/archive/2019/09/06/216786.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216786.htmlhttp://www.598club.com/alantop/services/trackbacks/216786.htmlyum install -y httpd mariadb-server mariadb php php-mysql php-gd libjpeg* php-ldap php-odbc php-pear php-xml php-xmlrpc php-mhash

zabbix ??? ??????????? 
/usr/share/zabbix


AlanTop 2019-09-06 17:34 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/06/216785.htmlAlanTopAlanTopFri, 06 Sep 2019 09:31:00 GMThttp://www.598club.com/alantop/archive/2019/09/06/216785.htmlhttp://www.598club.com/alantop/comments/216785.htmlhttp://www.598club.com/alantop/archive/2019/09/06/216785.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216785.htmlhttp://www.598club.com/alantop/services/trackbacks/216785.html/usr/share/zabbix/assets/img


AlanTop 2019-09-06 17:31 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/06/216782.htmlAlanTopAlanTopFri, 06 Sep 2019 07:02:00 GMThttp://www.598club.com/alantop/archive/2019/09/06/216782.htmlhttp://www.598club.com/alantop/comments/216782.htmlhttp://www.598club.com/alantop/archive/2019/09/06/216782.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216782.htmlhttp://www.598club.com/alantop/services/trackbacks/216782.htmlwget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum clean all
yum makecache




AlanTop 2019-09-06 15:02 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/05/216775.htmlAlanTopAlanTopThu, 05 Sep 2019 09:11:00 GMThttp://www.598club.com/alantop/archive/2019/09/05/216775.htmlhttp://www.598club.com/alantop/comments/216775.htmlhttp://www.598club.com/alantop/archive/2019/09/05/216775.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216775.htmlhttp://www.598club.com/alantop/services/trackbacks/216775.html?????1??????????a?????????????????
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\Wds\Repwd\Tds\Tcp
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-TCP  portnumber ???win2012 ??a??|???1???????a???

?????remote desktop service????????3??????


centos??????????????

江苏快三开奖结果iptables -t nat -I PREROUTING -p tcp --dport 13180 -j DNAT --to 192.168.2.6

江苏快三开奖结果iptables -t nat -I POSTROUTING -p tcp --dport 13180 -j MASQUERADE



AlanTop 2019-09-05 17:11 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/09/05/216773.htmlAlanTopAlanTopThu, 05 Sep 2019 07:18:00 GMThttp://www.598club.com/alantop/archive/2019/09/05/216773.htmlhttp://www.598club.com/alantop/comments/216773.htmlhttp://www.598club.com/alantop/archive/2019/09/05/216773.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216773.htmlhttp://www.598club.com/alantop/services/trackbacks/216773.htmlchrome://flags/

??????a??????????? Override software rendering list????????????????

?????
?????????
??????????a????'?a?????????o??????js????1???2???????????

AlanTop 2019-09-05 15:18 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/08/31/216756.htmlAlanTopAlanTopSat, 31 Aug 2019 09:27:00 GMThttp://www.598club.com/alantop/archive/2019/08/31/216756.htmlhttp://www.598club.com/alantop/comments/216756.htmlhttp://www.598club.com/alantop/archive/2019/08/31/216756.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216756.htmlhttp://www.598club.com/alantop/services/trackbacks/216756.html?????????

AlanTop 2019-08-31 17:27 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/08/23/216734.htmlAlanTopAlanTopFri, 23 Aug 2019 15:10:00 GMThttp://www.598club.com/alantop/archive/2019/08/23/216734.htmlhttp://www.598club.com/alantop/comments/216734.htmlhttp://www.598club.com/alantop/archive/2019/08/23/216734.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216734.htmlhttp://www.598club.com/alantop/services/trackbacks/216734.html
db.sites.find(
{ "name": {$regex:/??????/}
    }
)


AlanTop 2019-08-23 23:10 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/08/20/216715.htmlAlanTopAlanTopTue, 20 Aug 2019 04:32:00 GMThttp://www.598club.com/alantop/archive/2019/08/20/216715.htmlhttp://www.598club.com/alantop/comments/216715.htmlhttp://www.598club.com/alantop/archive/2019/08/20/216715.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216715.htmlhttp://www.598club.com/alantop/services/trackbacks/216715.html?????????

AlanTop 2019-08-20 12:32 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/08/18/216706.htmlAlanTopAlanTopSat, 17 Aug 2019 16:35:00 GMThttp://www.598club.com/alantop/archive/2019/08/18/216706.htmlhttp://www.598club.com/alantop/comments/216706.htmlhttp://www.598club.com/alantop/archive/2019/08/18/216706.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216706.htmlhttp://www.598club.com/alantop/services/trackbacks/216706.html vs2017????????????NJVYC-BMHX2-G77MM-4XJMR-6Q8QF 
vs2019????????????BF8Y8-GN2QH-T84XB-QVY3B-RC4DF
vs2019????????????NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y



AlanTop 2019-08-18 00:35 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/08/13/216675.htmlAlanTopAlanTopTue, 13 Aug 2019 13:49:00 GMThttp://www.598club.com/alantop/archive/2019/08/13/216675.htmlhttp://www.598club.com/alantop/comments/216675.htmlhttp://www.598club.com/alantop/archive/2019/08/13/216675.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216675.htmlhttp://www.598club.com/alantop/services/trackbacks/216675.html1.?????
yum install iftop -y
2.?????????????????
iftop -i eth1
3.???????1???ip????????
??????????a??1???IP?????|????????????????
iftop -i eth1 -B -F 182.92.***.20
????o182.92.***.20????aIP????????????????????eth1?o?o???????????????????????Byte???
4.????o
q
5.????o??????'??????
"<="???"=>"?????o????????????????1???
"TX"?????????????????o????????
"RX"????????????????????
"TOTAL"????????????????????????????
"cum"???iftop?????????????????????'??1???????????
"peak"???????????????3???
"rates"???????????o?????2s???10s???40s ????13????????


AlanTop 2019-08-13 21:49 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/07/30/216613.htmlAlanTopAlanTopTue, 30 Jul 2019 11:34:00 GMThttp://www.598club.com/alantop/archive/2019/07/30/216613.htmlhttp://www.598club.com/alantop/comments/216613.htmlhttp://www.598club.com/alantop/archive/2019/07/30/216613.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216613.htmlhttp://www.598club.com/alantop/services/trackbacks/216613.htmlPlotString ("demo","▽▽▲▼",high*1.2,Red);

AlanTop 2019-07-30 19:34 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/07/25/216604.htmlAlanTopAlanTopThu, 25 Jul 2019 09:23:00 GMThttp://www.598club.com/alantop/archive/2019/07/25/216604.htmlhttp://www.598club.com/alantop/comments/216604.htmlhttp://www.598club.com/alantop/archive/2019/07/25/216604.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216604.htmlhttp://www.598club.com/alantop/services/trackbacks/216604.htmlParams
//?-????????????

Vars
Numeric ma1;
Numeric ma2;
bool    boollong;
bool    boolshort;
bool    condition1;
Bool    condition2;
Begin
data0.ma1 =data0.Average(data0.close,5);
data0.ma2 =data0.Average(data0.close,20);


data0.PlotNumeric("data0.ma1",data0.ma1);
data0.PlotNumeric("data0.ma2",data0.ma2);
data1.PlotNumeric("data1.ma1",data0.ma1);
data1.PlotNumeric("data1.ma2",data0.ma2);

data0.boollong =data0.CrossOver(data0.ma1,data0.ma2);
data0.boolshort =data0.Crossunder(data0.ma1,data0.ma2);//??????????????????

data1.condition1;// =
data1.condition2;// =???????????????????
If(data0.boollong anddata1.condition1 anddata1.MarketPosition<>1)
{
data1.buy(1,data1.open);
}
if(data[0].boolshort anddata1.condition2 anddata1.MarketPosition<>-1)
{
data1.sell(1,data1.open);
}
End

AlanTop 2019-07-25 17:23 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/07/19/216571.htmlAlanTopAlanTopFri, 19 Jul 2019 14:26:00 GMThttp://www.598club.com/alantop/archive/2019/07/19/216571.htmlhttp://www.598club.com/alantop/comments/216571.htmlhttp://www.598club.com/alantop/archive/2019/07/19/216571.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216571.htmlhttp://www.598club.com/alantop/services/trackbacks/216571.html
//------------------------------------------------------------------------
// ????: k_Bar
// ????: 跨??????????--??o???BAR?????
// ?????: ?????????
// ?????: ?????????
// ????o: ????????
//------------------------------------------------------------------------


Params 
    Numeric TimeFrame(
1440);    
        
// ??????????'???????????????o?=4?????40320)??????o?=7??(10080)???????o?=24????????1440???
        
// ?????????????????????-??o?????o???????????????|????1?????=60??? 30?????=30?????????
        
// 1????????????????????????????????????|?3????????8????????14??????-?
        
    Numeric BarsBack(
0); 
        
// ??????????'?????BAR????????
        
// 1--??o???????????????????????BAR??1?o???????????????????????1BAR
        
// 0--??o???????????????????????BAR??1?o?????????????????????BAR??a?-???????????o?-????BAR????????

Vars
    Numeric TradeDate;                
// ??????K?o???????o???????????????|????3????????????
    Numeric TradeHour;                // ??????K?o???????o???????'???????????
    Numeric TradeMinute;            // ??????K?o???????o???????'???????????
    NumericSeries Index;            // ??????BAR??TimeFrame????'????????????'???????
    Numeric SessionStartHour;        // ??????K?o??????????o??????????????????o?????????????'???????????


    NumericSeries barCnt;            
// ????????????????????????1BAR??????????????????????????|?????o????BAR??
    NumericSeries Ht_CurBar;        // ??????BAR??????????????????1?o????CurrentBar
    Numeric barCntSum;                 // ??'??????????????????????????????????|?????o????BAR??
    NumericSeries Ht_Open;            // ??????????'????????????????
    NumericSeries Ht_High;            // ??????????'???????????????
    NumericSeries Ht_Low;            // ??????????'????????????????
    NumericSeries Ht_Close;            // ??????????'????????????????
    NumericSeries Ht_Vol;            // ??????????'????????????o??
    NumericSeries Ht_OpenInt;        // ??????????'????????????????
    bool condition(false);            // ????-????????????'?????|???o?????????1BAR
    Numeric i;
    
Begin

     TradeDate 
= TrueDate(0);         // ?????????o?????????

    
// ??1???TimeFrame???????????
    If(TimeFrame == 40320)            // ????o?
    {
        Index 
= (YearFromDateTime(TradeDate) - 1970* 12 + MonthFromDateTime(TradeDate);
    }
    Else If(TimeFrame 
== 10080)        // ???o?
    {
        Index 
= IntPart(DateDiff(19700105,TradeDate)/7);
    }
    Else If(TimeFrame 
== 1440)        // ????o?
    {
        Index 
= DateDiff(19700105,TradeDate);
    }
    Else
    {
        TradeHour 
= HourFromDateTime(Time);
        TradeMinute 
= MinuteFromDateTime(Time);

        
// ??????????????????????????o??????????????????
        SessionStartHour = IntPart(GetSessionStartTime(0)*100);

        
// ???34???????????????'?????????????1???????
        If(TimeFrame == 240) SessionStartHour = IIF(SessionStartHour == 21,20,8);
        
        
// ?????????BAR??1?o?????'???????TimeFrame??????????????????????????o?'???????????'??????????????????????????????o?????????1BAR
        Index = DateDiff(19700105,TradeDate) * (IntPart(1439/TimeFrame)+1+ IntPart((IIF(TradeHour >= SessionStartHour, TradeHour - SessionStartHour,
        TradeHour 
+ 24 - SessionStartHour) * 60 + TradeMinute)/TimeFrame);
    }

    
// ?'???????????????????????'??????o???????BAR
    condition = Index <> Index[1];

    If(CurrentBar
==0)                // ?|???????????????1Bar, 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)              
        
// ?|??????????????????????????o???|?????1K?o???????Ht_CurBar???1
        {
            barCnt 
= 1;
            Ht_CurBar 
= Ht_CurBar[1+ 1;
            Ht_Open 
= Open;
            Ht_High 
= High;
            Ht_Low 
= Low;
            Ht_Vol 
= Vol;
        }
        Else
        
// ?|??????????????????????????o?????????1K?o???????Ht_CurBar??????????????????????????????|??????????????????????????o??|??'????
        {
            barCnt 
= barCnt[1+ 1;
            Ht_High 
= Max(Ht_High[1],High);
            Ht_Low 
= Min(Ht_Low[1],Low);
            Ht_Vol 
= Ht_Vol[1+ Vol;
        }
        
// ????????????????????????????????????
        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));
    
    
// ??????????????????????????1BAR????????o??????1?o??????????????'????????????????????-?????????
    
// ?????????????????1BAR??1?o????????????????????????????????????????????????????????
    barCntSum = barCnt ;
    If(BarsBack 
== 0)
    
// ?|????BarsBack??o0????????????BAR????????????????BAR?????1?o?????????????????????BAR??a?-???????????o?-????BAR????????
    {
        barCntSum 
= 0 ;
    }
    
// ?|????BarsBack??o1????????????BAR????????????????BAR?????1?o???????????????????????1BAR???????????
    Else
    {
        barCntSum 
= barCnt ;
    }

    
// ????????????'???????????BAR??????????????????????????????????
    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]);

    
// ?????????????????????????o?BAR???????o?????????????????????
    Return barCnt;
    
End


 
/* 
Params 
    Numeric TimeFrame(1440);    
        // ??????????'???????????????o?=4?????40320)??????o?=7??(10080)???????o?=24????????1440???
        // ?????????????????????-??o?????o???????????????|????1?????=60??? 30?????=30?????????
        // 1????????????????????????????????????|?3????????8????????14??????-?
        
    Numeric BarsBack(0); 
        // ??????????'?????BAR????????
        // 1--??o???????????????????????BAR??1?o???????????????????????1BAR
        // 0--??o???????????????????????BAR??1?o?????????????????????BAR??a?-???????????o?-????BAR????????

Vars
    Numeric TradeDate;                // ??????K?o???????o???????????????|????3????????????
    Numeric TradeHour;                // ??????K?o???????o???????'???????????
    Numeric TradeMinute;            // ??????K?o???????o???????'???????????
    NumericSeries Index;            // ??????BAR??TimeFrame????'????????????'???????
    Numeric SessionStartHour;        // ??????K?o??????????o??????????????????o?????????????'???????????


    NumericSeries barCnt;            // ????????????????????????1BAR??????????????????????????|?????o????BAR??
    NumericSeries Ht_CurBar;        // ??????BAR??????????????????1?o????CurrentBar
    Numeric barCntSum;                 // ??'??????????????????????????????????|?????o????BAR??
    NumericSeries Ht_Open;            // ??????????'????????????????
    NumericSeries Ht_High;            // ??????????'???????????????
    NumericSeries Ht_Low;            // ??????????'????????????????
    NumericSeries Ht_Close;            // ??????????'????????????????
    NumericSeries Ht_Vol;            // ??????????'????????????o??
    NumericSeries Ht_OpenInt;        // ??????????'????????????????
    bool condition(false);            // ????-????????????'?????|???o?????????1BAR
    Numeric i;
    
Begin

     TradeDate = TrueDate(0);         // ?????????o?????????

    // ??1???TimeFrame???????????
    If(TimeFrame == 40320)            // ????o?
    {
        Index = (YearFromDateTime(TradeDate) - 1970) * 12 + MonthFromDateTime(TradeDate);
    }
    Else If(TimeFrame == 10080)        // ???o?
    {
        Index = IntPart(DateDiff(19700105,TradeDate)/7);
    }
    Else If(TimeFrame == 1440)        // ????o?
    {
        Index = DateDiff(19700105,TradeDate);
    }
    Else
    {
        TradeHour = HourFromDateTime(Time);
        TradeMinute = MinuteFromDateTime(Time);

        // ??????????????????????????o??????????????????
        SessionStartHour = IntPart(GetSessionStartTime(0)*100);
        
        // ?????????BAR??1?o?????'???????TimeFrame??????????????????????????o?'???????????'??????????????????????????????o?????????1BAR
        Index = DateDiff(19700105,TradeDate) * (IntPart(1440/TimeFrame)+1) + IntPart((IIF(TradeHour >= SessionStartHour, TradeHour - SessionStartHour,TradeHour + 24 - SessionStartHour) * 60 + TradeMinute)/TimeFrame);
    }

    // ?'???????????????????????'??????o???????BAR
    condition = Index <> Index[1];

    If(CurrentBar==0)                // ?|???????????????1Bar, 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)              
        // ?|??????????????????????????o???|?????1K?o???????Ht_CurBar???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
        // ?|??????????????????????????o?????????1K?o???????Ht_CurBar??????????????????????????????|??????????????????????????o??|??'????
        {
            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;
            }
        }
        // ????????????????????????????????????
        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));
    
    // ??????????????????????????1BAR????????o??????1?o??????????????'????????????????????-?????????
    // ?????????????????1BAR??1?o????????????????????????????????????????????????????????
    barCntSum = barCnt ;
    If(BarsBack == 0)
    // ?|????BarsBack??o0????????????BAR????????????????BAR?????1?o?????????????????????BAR??a?-???????????o?-????BAR????????
    {
        barCntSum = 0 ;
    }
    // ?|????BarsBack??o1????????????BAR????????????????BAR?????1?o???????????????????????1BAR???????????
    Else
    {
        barCntSum = barCnt ;
    }

    // ????????????'???????????BAR??????????????????????????????????
    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]);

    // ?????????????????????????o?BAR???????o?????????????????????
    Return barCnt;
    
End 
*/




AlanTop 2019-07-19 22:26 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/07/17/216561.htmlAlanTopAlanTopWed, 17 Jul 2019 03:07:00 GMThttp://www.598club.com/alantop/archive/2019/07/17/216561.htmlhttp://www.598club.com/alantop/comments/216561.htmlhttp://www.598club.com/alantop/archive/2019/07/17/216561.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216561.htmlhttp://www.598club.com/alantop/services/trackbacks/216561.html???????? centos 7.6
???????o windows 10

?????????????????????? frps.ini

# ???????????????? 
# frps.ini
#?????????
[common]
# frp ???????????
bind_port = 7000
#????????????web???????a????1???????????? 
vhost_http_port = 8110
#??????????
token = 12345678
#frp ??????????
dashboard_port = 7500
# dashboard ????????????????????????????o admin
dashboard_user = admin
dashboard_pwd = admin

??????????????? ./frps -c frps.ini
?????????????? http://ip:7500/
???????????????????
 # ?????????
    [common]
    # ???????????????? ?1???????????????????
    server_addr = 47.103.128.154
    # ??????????????
    server_port = 7000 
    # ??????token |???????????????????'
    token = 12345678
    
    
    #????????????????????????????o????????oo????
   [tcp3389]
   type = tcp
   local_ip = 10.2.3.110
   #???????????
   local_port = 3389
   #??????????
   remote_port =3389
   
???????????? frpc.exe -c frpc.ini




AlanTop 2019-07-17 11:07 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/07/10/216527.htmlAlanTopAlanTopWed, 10 Jul 2019 08:28:00 GMThttp://www.598club.com/alantop/archive/2019/07/10/216527.htmlhttp://www.598club.com/alantop/comments/216527.htmlhttp://www.598club.com/alantop/archive/2019/07/10/216527.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216527.htmlhttp://www.598club.com/alantop/services/trackbacks/216527.html
import socketserver
import os

def execCmd(cmd):  
    r = os.popen(cmd)  
    text = r.read()  
    r.close()  
    return text  

 
# ?a????1??????????????????a???
class MyTCPHandler(socketserver.BaseRequestHandler):
    # ???????????handle??1?3??????o???????????????a??????handle??1?3?
    def handle(self):
        while True:
            try:
                data = self.request.recv(1024)
                if not data: break
                print('->client:', data)
                #os.system(data.decode('utf-8'))
                macd = execCmd(data.decode('utf-8'))
                self.request.send(macd.encode('utf-8'))
            except ConnectionResetError:
                break
        self.request.close()

if __name__ == '__main__':
    server = socketserver.ThreadingTCPServer(('127.0.0.1', 8080), MyTCPHandler)
    server.serve_forever()  # ???????a???


AlanTop 2019-07-10 16:28 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/07/09/216522.htmlAlanTopAlanTopTue, 09 Jul 2019 06:03:00 GMThttp://www.598club.com/alantop/archive/2019/07/09/216522.htmlhttp://www.598club.com/alantop/comments/216522.htmlhttp://www.598club.com/alantop/archive/2019/07/09/216522.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216522.htmlhttp://www.598club.com/alantop/services/trackbacks/216522.htmlwindows server 2012??????????
http://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2
????????????????????????????????????
DISM /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:NH3KG-P864D-XYCJH-82DMH-4CX8M
????????????????????
Windows Server 2012 R2 Retail Key????oo????o??????
[Key]???NH3KG-P864D-XYCJH-82DMH-4CX8M -- Standard ?????????????'????
[Key]???KPXD3-FDN73-2XYRP-9GCRW-TQ6PB -- Standard
[Key]???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????'????) ????????
 
??????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 ??????????????????'???1??????
 
?????????????-????o???????????
 
??????JGXYY-7NMTC-MHKY3-QCC9B-VQRG7
 
??????Datacenter Server ????a?????????o????'? (AVMA) ????????
 
??????XVNRV-9HTX4-TH2JD-HVJQD-QRQWG


AlanTop 2019-07-09 14:03 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/07/03/216477.htmlAlanTopAlanTopWed, 03 Jul 2019 04:19:00 GMThttp://www.598club.com/alantop/archive/2019/07/03/216477.htmlhttp://www.598club.com/alantop/comments/216477.htmlhttp://www.598club.com/alantop/archive/2019/07/03/216477.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216477.htmlhttp://www.598club.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("???????????????':" + get_current_time())
        rebootservice()
        time.sleep(60)
    time.sleep(10)


AlanTop 2019-07-03 12:19 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/06/28/216467.htmlAlanTopAlanTopFri, 28 Jun 2019 11:41:00 GMThttp://www.598club.com/alantop/archive/2019/06/28/216467.htmlhttp://www.598club.com/alantop/comments/216467.htmlhttp://www.598club.com/alantop/archive/2019/06/28/216467.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216467.htmlhttp://www.598club.com/alantop/services/trackbacks/216467.htmlWindows Server 2008 ??? Windows Server 2008 R2???????????????o?2013?1'7???9???????-?????????????'1????????????????????32015?1'1???15???????????1????????????????oWindows Server 2008?????????'1????????????????????2015?1'1???15??????????????????????????????????????????????|??5?1'???????????????????????????????????'1????o????????????????????????'1??????????'????????
Windows Server 2008 ??? Windows Server 2008 R2 ????????????????-?????'???2020?1'1???14??????

Windows 7 ?????????????-?????'???2020?1'1???14??????

windows server 2012 ??????????-?????'2023?1'10???10??????


AlanTop 2019-06-28 19:41 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/02/10/216235.htmlAlanTop

AlanTop 2019-02-10 14:44 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/01/31/216229.htmlAlanTopAlanTopThu, 31 Jan 2019 03:22:00 GMThttp://www.598club.com/alantop/archive/2019/01/31/216229.htmlhttp://www.598club.com/alantop/comments/216229.htmlhttp://www.598club.com/alantop/archive/2019/01/31/216229.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216229.htmlhttp://www.598club.com/alantop/services/trackbacks/216229.html?????????

AlanTop 2019-01-31 11:22 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2019/01/06/216170.htmlAlanTopAlanTopSun, 06 Jan 2019 04:51:00 GMThttp://www.598club.com/alantop/archive/2019/01/06/216170.htmlhttp://www.598club.com/alantop/comments/216170.htmlhttp://www.598club.com/alantop/archive/2019/01/06/216170.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216170.htmlhttp://www.598club.com/alantop/services/trackbacks/216170.html
import os, sys
import wmi
import hashlib
import base64
c = wmi.WMI()
#???????
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,???????????????????????????????o??o??????ffffff-ffffff???????
        tmpmsg['SerialNumber'] = board_id.SerialNumber                #???????o??????
        tmpmsg['Manufacturer'] = board_id.Manufacturer       #??????????o????????????
        tmpmsg['Product'] = board_id.Product                 #???????????
        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??1??????
        tmpmsg['version'] = bios_id.Version                           #BIOS??????
        tmpmsg['Manufacturer'] = bios_id.Manufacturer.strip()                 #BIOS??o???????o??????
        tmpmsg['ReleaseDate'] = bios_id.ReleaseDate                   #BIOS???????????
        tmpmsg['SMBIOSBIOSVersion'] = bios_id.SMBIOSBIOSVersion       #?3???????????????????
        bioss.append(tmpmsg)
    print (bioss)
    return bioss
#??????
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
#????????????????a???????????????????????????1
def printBattery():
    isBatterys = False
    for b in c.Win32_Battery():
        isBatterys = True
    return isBatterys
#??????mac????????
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 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2018/12/30/216155.htmlAlanTopAlanTopSun, 30 Dec 2018 03:58:00 GMThttp://www.598club.com/alantop/archive/2018/12/30/216155.htmlhttp://www.598club.com/alantop/comments/216155.htmlhttp://www.598club.com/alantop/archive/2018/12/30/216155.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216155.htmlhttp://www.598club.com/alantop/services/trackbacks/216155.html1.?????1hosts
0.0.0.0 account.jetbrains.com
2.???????-??????|?????3??????????3???????????2019.05???
K71U8DBPNE-eyJsaWNlbnNlSWQiOiJLNzFVOERCUE5FIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJSUzAiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJXUyIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IlJEIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiUkMiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJEQyIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IkRCIiw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hAGYD6ss+Ga+aDY6f/qXZuUCEUOH3QUNbbCUlviSz6+GiRnt1kA9N2Qachl+2yBfaqUqr8h7Z2gsx5LcIf5kYNsqJ0GavXTVyWh7PYiKX4bs354ZQLUwwa/cG++2+wNWP+HtBhVxMRNTdVhSm38AknZlD+PTAsWGu9GyLmhti2EnVwGybSD2Dxmhxk3IPCkhKAK+pl0eWYGZWG3tJ9mZ7SowcXLWDFAk0lRJnKGFMTggrWjV8GYpw5bq23VmIqqDLgkNzuoog==


AlanTop 2018-12-30 11:58 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2018/12/27/216150.htmlAlanTopAlanTopThu, 27 Dec 2018 08:47:00 GMThttp://www.598club.com/alantop/archive/2018/12/27/216150.htmlhttp://www.598club.com/alantop/comments/216150.htmlhttp://www.598club.com/alantop/archive/2018/12/27/216150.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216150.htmlhttp://www.598club.com/alantop/services/trackbacks/216150.html?????????????Obsidian????????yao??3??????
??????-????????????Consolas???
?-??????????12
??????????-???????
??????????-??????????

AlanTop 2018-12-27 16:47 ???????o
]]>
C++博客-alantop's blog http://www.598club.com/alantop/archive/2018/12/26/216146.htmlAlanTopAlanTopWed, 26 Dec 2018 10:19:00 GMThttp://www.598club.com/alantop/archive/2018/12/26/216146.htmlhttp://www.598club.com/alantop/comments/216146.htmlhttp://www.598club.com/alantop/archive/2018/12/26/216146.html#Feedback0http://www.598club.com/alantop/comments/commentRss/216146.htmlhttp://www.598club.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 ???????o
]]>