??xml version="1.0" encoding="utf-8" standalone="yes"?>սб:C++博客 - սƵ2019|սع//www.pppqb.icu/alantop/量化势交易zh-cnMon, 16 Sep 2019 01:15:58 GMTMon, 16 Sep 2019 01:15:58 GMT60windows下断掉samba׃n - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/13/216819.htmlAlanTopAlanTopFri, 13 Sep 2019 15:30:00 GMT//www.pppqb.icu/alantop/archive/2019/09/13/216819.html//www.pppqb.icu/alantop/comments/216819.html//www.pppqb.icu/alantop/archive/2019/09/13/216819.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216819.html//www.pppqb.icu/alantop/services/trackbacks/216819.htmlwindow下当成功d到samba服务器上的共享的目录的时候,若要是再pLd此服务器上另外一个共享目录时Q会弹出dH口?/strong>
但是不管输入的用户名和密码对错都会提C?/strong>
“不允怸个用户用一个以上用户名与一个服务器或共享资源的多重q接。中断与此服务器或共享资源的所有连接,然后再试一?#8221;
解决Q?/div>
 
可用以下命令断掉已有连接(开?-> cmdQ?/div>
net use * /del /y   #回R后显CZ下内?/div>

AlanTop 2019-09-13 23:30 发表评论
]]>MariaDB win下的启动和关?/title><link>//www.pppqb.icu/alantop/archive/2019/09/13/216818.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Fri, 13 Sep 2019 05:01:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2019/09/13/216818.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216818.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/09/13/216818.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216818.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216818.html</trackback:ping><description><![CDATA[<span style="color: #4d4d4d; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif; font-size: 16px; background-color: #ffffff;">启动<br /></span><div class="dpun">mysqld.exe --defaults-file=D:\mariadb\my.ini --standalone<br /></div><span style="color: #4d4d4d; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif; font-size: 16px; background-color: #ffffff;">关闭<br />mysqladmin -uusername -ppassword shutdown<br /><br />服务形式 安装 启动<br />mysqld -- install MariaDB<br />net start MariaDB<br />net stop MariaDB<br />mysqld --remove MariaDB</span><img src ="//www.pppqb.icu/alantop/aggbug/216818.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-09-13 13:01 <a href="//www.pppqb.icu/alantop/archive/2019/09/13/216818.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>centos分区 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/10/216809.htmlAlanTopAlanTopTue, 10 Sep 2019 11:50:00 GMT//www.pppqb.icu/alantop/archive/2019/09/10/216809.html//www.pppqb.icu/alantop/comments/216809.html//www.pppqb.icu/alantop/archive/2019/09/10/216809.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216809.html//www.pppqb.icu/alantop/services/trackbacks/216809.html2. 
bios boot 2M d?br />/boot 1G d?br />/ 10G LVM方式
/home LVM方式
/var 10G LVM方式
/usr 10G LVM方式
swap 2G LVM方式

AlanTop 2019-09-10 19:50 发表评论
]]>
华ؓ交换机配|snmp - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/10/216807.htmlAlanTopAlanTopTue, 10 Sep 2019 03:08:00 GMT//www.pppqb.icu/alantop/archive/2019/09/10/216807.html//www.pppqb.icu/alantop/comments/216807.html//www.pppqb.icu/alantop/archive/2019/09/10/216807.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216807.html//www.pppqb.icu/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                    /讄d体名:public/

    snmp-agent community write  private                  /讄写团体名:private/

  2. 配置SNMP版本 Qall是所有版本)

    snmp-agent sys-info version all      



AlanTop 2019-09-10 11:08 发表评论
]]>
centos 7.6 配置zabbix 支持华ؓ交换机snmp功能 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/09/216805.htmlAlanTopAlanTopMon, 09 Sep 2019 05:01:00 GMT//www.pppqb.icu/alantop/archive/2019/09/09/216805.html//www.pppqb.icu/alantop/comments/216805.html//www.pppqb.icu/alantop/archive/2019/09/09/216805.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216805.html//www.pppqb.icu/alantop/services/trackbacks/216805.htmlsnmpwalk -v 2c -c test@123 10.192.192.1

AlanTop 2019-09-09 13:01 发表评论
]]>
q行pip 出现Fatal error in launcherQUnable to create process using 错误的解x?/title><link>//www.pppqb.icu/alantop/archive/2019/09/08/216802.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sun, 08 Sep 2019 10:02:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2019/09/08/216802.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216802.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/09/08/216802.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216802.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216802.html</trackback:ping><description><![CDATA[造成此原因是安装了多个版本,冲突?br />python3?br /><br /><strong style="margin: 0px; padding: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: #fefef2;"><span style="margin: 0px; padding: 0px; line-height: 1.5; font-size: 16px;">python -m pip install --upgrade pip</span></strong><img src ="//www.pppqb.icu/alantop/aggbug/216802.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-09-08 18:02 <a href="//www.pppqb.icu/alantop/archive/2019/09/08/216802.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>pycharm 2019.2.1 注册Ҏ - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/08/216799.htmlAlanTopAlanTopSun, 08 Sep 2019 01:44:00 GMT//www.pppqb.icu/alantop/archive/2019/09/08/216799.html//www.pppqb.icu/alantop/comments/216799.html//www.pppqb.icu/alantop/archive/2019/09/08/216799.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216799.html//www.pppqb.icu/alantop/services/trackbacks/216799.html菜单中编?br />-javaagent:C:\Program Files\JetBrains\PyCharm 2019.2.1\bin\jetbrains-agent.jar

输入注册?br />
3AGXEJXFK9-eyJsaWNlbnNlSWQiOiIzQUdYRUpYRks5IiwibGljZW5zZWVOYW1lIjoiaHR0cHM6Ly96aGlsZS5pbyIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiIiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwiZmFsbGJhY2tEYXRlIjoiMjA4OS0wNy0wNyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkFDIiwiZmFsbGJhY2tEYXRlIjoiMjA4OS0wNy0wNyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkRQTiIsImZhbGxiYWNrRGF0ZSI6IjIwODktMDctMDciLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJQUyIsImZhbGxiYWNrRGF0ZSI6IjIwODktMDctMDciLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJHTyIsImZhbGxiYWNrRGF0ZSI6IjIwODktMDctMDciLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJETSIsImZhbGxiYWNrRGF0ZSI6IjIwODktMDctMDciLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJDTCIsImZhbGxiYWNrRGF0ZSI6IjIwODktMDctMDciLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJSUzAiLCJmYWxsYmFja0RhdGUiOiIyMDg5LTA3LTA3IiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUkMiLCJmYWxsYmFja0RhdGUiOiIyMDg5LTA3LTA3IiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUkQiLCJmYWxsYmFja0RhdGUiOiIyMDg5LTA3LTA3IiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUEMiLCJmYWxsYmFja0RhdGUiOiIyMDg5LTA3LTA3IiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUk0iLCJmYWxsYmFja0RhdGUiOiIyMDg5LTA3LTA3IiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiV1MiLCJmYWxsYmFja0RhdGUiOiIyMDg5LTA3LTA3IiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiREIiLCJmYWxsYmFja0RhdGUiOiIyMDg5LTA3LTA3IiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiREMiLCJmYWxsYmFja0RhdGUiOiIyMDg5LTA3LTA3IiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUlNVIiwiZmFsbGJhY2tEYXRlIjoiMjA4OS0wNy0wNyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9XSwiaGFzaCI6IjEyNzk2ODc3LzAiLCJncmFjZVBlcmlvZERheXMiOjcsImF1dG9Qcm9sb25nYXRlZCI6ZmFsc2UsImlzQXV0b1Byb2xvbmdhdGVkIjpmYWxzZX0=-WGTHs6XpDhr+uumvbwQPOdlxWnQwgnGaL4eRnlpGKApEEkJyYvNEuPWBSrQkPmVpim/8Sab6HV04Dw3IzkJT0yTc29sPEXBf69+7y6Jv718FaJu4MWfsAk/ZGtNIUOczUQ0iGKKnSSsfQ/3UoMv0q/yJcfvj+me5Zd/gfaisCCMUaGjB/lWIPpEPzblDtVJbRexB1MALrLCEoDv3ujcPAZ7xWb54DiZwjYhQvQ+CvpNNF2jeTku7lbm5v+BoDsdeRq7YBt9ANLUKPr2DahcaZ4gctpHZXhG96IyKx232jYq9jQrFDbQMtVr3E+GsCekMEWSD//dLT+HuZdc1sAIYrw==-MIIElTCCAn2gAwIBAgIBCTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBMB4XDTE4MTEwMTEyMjk0NloXDTIwMTEwMjEyMjk0NlowaDELMAkGA1UEBhMCQ1oxDjAMBgNVBAgMBU51c2xlMQ8wDQYDVQQHDAZQcmFndWUxGTAXBgNVBAoMEEpldEJyYWlucyBzLnIuby4xHTAbBgNVBAMMFHByb2QzeS1mcm9tLTIwMTgxMTAxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5ndaik1GD0nyTdqkZgURQZGW+RGxCdBITPXIwpjhhaD0SXGa4XSZBEBoiPdY6XV6pOfUJeyfi9dXsY4MmT0D+sKoST3rSw96xaf9FXPvOjn4prMTdj3Ji3CyQrGWeQU2nzYqFrp1QYNLAbaViHRKuJrYHI6GCvqCbJe0LQ8qqUiVMA9wG/PQwScpNmTF9Kp2Iej+Z5OUxF33zzm+vg/nYV31HLF7fJUAplI/1nM+ZG8K+AXWgYKChtknl3sW9PCQa3a3imPL9GVToUNxc0wcuTil8mqveWcSQCHYxsIaUajWLpFzoO2AhK4mfYBSStAqEjoXRTuj17mo8Q6M2SHOcwIDAQABo4GZMIGWMAkGA1UdEwQCMAAwHQYDVR0OBBYEFGEpG9oZGcfLMGNBkY7SgHiMGgTcMEgGA1UdIwRBMD+AFKOetkhnQhI2Qb1t4Lm0oFKLl/GzoRykGjAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBggkA0myxg7KDeeEwEwYDVR0lBAwwCgYIKwYBBQUHAwEwCwYDVR0PBAQDAgWgMA0GCSqGSIb3DQEBCwUAA4ICAQBonMu8oa3vmNAa4RQP8gPGlX3SQaA3WCRUAj6Zrlk8AesKV1YSkh5D2l+yUk6njysgzfr1bIR5xF8eup5xXc4/G7NtVYRSMvrd6rfQcHOyK5UFJLm+8utmyMIDrZOzLQuTsT8NxFpbCVCfV5wNRu4rChrCuArYVGaKbmp9ymkw1PU6+HoO5i2wU3ikTmRv8IRjrlSStyNzXpnPTwt7bja19ousk56r40SmlmC04GdDHErr0ei2UbjUua5kw71Qn9g02tL9fERI2sSRjQrvPbn9INwRWl5+k05mlKekbtbu2ev2woJFZK4WEXAd/GaAdeZZdumv8T2idDFL7cAirJwcrbfpawPeXr52oKTPnXfi0l5+g9Gnt/wfiXCrPElX6ycTR6iL3GC2VR4jTz6YatT4Ntz59/THOT7NJQhr6AyLkhhJCdkzE2cob/KouVp4ivV7Q3Fc6HX7eepHAAF/DpxwgOrg9smX6coXLgfp0b1RU2u/tUNID04rpNxTMueTtrT8WSskqvaJd3RH8r7cnRj6Y2hltkja82HlpDURDxDTRvv+krbwMr26SB/40BjpMUrDRCeKuiBahC0DCoU/4+ze1l94wVUhdkCfL0GpJrMSCDEK+XEurU18Hb7WT+ThXbkdl6VpFdHsRvqAnhR2g4b+Qzgidmuky5NUZVfEaZqV/g==


AlanTop 2019-09-08 09:44 发表评论
]]>zabbix 4.0lts 删除support share菜单 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/08/216797.htmlAlanTopAlanTopSat, 07 Sep 2019 21:44:00 GMT//www.pppqb.icu/alantop/archive/2019/09/08/216797.html//www.pppqb.icu/alantop/comments/216797.html//www.pppqb.icu/alantop/archive/2019/09/08/216797.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216797.html//www.pppqb.icu/alantop/services/trackbacks/216797.html
/support
删除菜单目?/div>

AlanTop 2019-09-08 05:44 发表评论
]]>zabbix 4.0 lts 修改语言Z文后Q图像显C字体ؕ码的解决Ҏ - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/08/216796.htmlAlanTopAlanTopSat, 07 Sep 2019 21:26:00 GMT//www.pppqb.icu/alantop/archive/2019/09/08/216796.html//www.pppqb.icu/alantop/comments/216796.html//www.pppqb.icu/alantop/archive/2019/09/08/216796.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216796.html//www.pppqb.icu/alantop/services/trackbacks/216796.html
chmod 777 simkai.ttf
vim /usr/share/zabbix/include/defines.inc.php
修改
define('ZBX_GRAPH_FONT_NAME',           'simkai'); 


AlanTop 2019-09-08 05:26 发表评论
]]>
centos 7 单网卡多ip - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/08/216795.htmlAlanTopAlanTopSat, 07 Sep 2019 20:38:00 GMT//www.pppqb.icu/alantop/archive/2019/09/08/216795.html//www.pppqb.icu/alantop/comments/216795.html//www.pppqb.icu/alantop/archive/2019/09/08/216795.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216795.html//www.pppqb.icu/alantop/services/trackbacks/216795.html
增加2?br />
IPADDR2=10.2.3.105
NETMASK2=255.255.255.0


AlanTop 2019-09-08 04:38 发表评论
]]>
windows 获取pȝ和cpu信息 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/07/216794.htmlAlanTopAlanTopSat, 07 Sep 2019 11:51:00 GMT//www.pppqb.icu/alantop/archive/2019/09/07/216794.html//www.pppqb.icu/alantop/comments/216794.html//www.pppqb.icu/alantop/archive/2019/09/07/216794.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216794.html//www.pppqb.icu/alantop/services/trackbacks/216794.html
wmic
cpu get name 
获取cpu物理?br />
cpu get numberofcores
获取cpu核心?br />
cpu get numberoflogicalprocessors
获取cpuU程?br />


AlanTop 2019-09-07 19:51 发表评论
]]>
试cpu性能和显卡性能的工?/title><link>//www.pppqb.icu/alantop/archive/2019/09/07/216793.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sat, 07 Sep 2019 11:42:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2019/09/07/216793.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216793.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/09/07/216793.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216793.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216793.html</trackback:ping><description><![CDATA[软g名称 CINEBENCH<br />官方下蝲Qhttps://www.maxon.net/en/support/downloads/<br /><img src ="//www.pppqb.icu/alantop/aggbug/216793.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-09-07 19:42 <a href="//www.pppqb.icu/alantop/archive/2019/09/07/216793.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>centos 6 安装zabbix 4.0 lts agent - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/06/216789.htmlAlanTopAlanTopFri, 06 Sep 2019 15:58:00 GMT//www.pppqb.icu/alantop/archive/2019/09/06/216789.html//www.pppqb.icu/alantop/comments/216789.html//www.pppqb.icu/alantop/archive/2019/09/06/216789.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216789.html//www.pppqb.icu/alantop/services/trackbacks/216789.htmlhttps://repo.zabbix.com/zabbix/4.0/rhel/6/x86_64/
2
. wget .rpm
3.yum localinstall zabbix-agent-x86_64.rpm
4.

vim /etc/zabbix/zabbix_agentd.conf

EnableRemoteCommands=1 #允许zabbix服务器远Ezabbix_agentd执行命o LogRemoteCommands=1 #开启远E执行命令日? Server=10.8.9.155 #填写zabbix服务器IP地址 ServerActive=10.8.9.155 #填写zabbix服务器IP地址 Hostname=cloucentos6.0 #填写zabbix_agentd客户端计机?br />
service zabbix-agent start 
或?systemctl start zabbix-agent


AlanTop 2019-09-06 23:58 发表评论
]]>
zabbix 4.0 lts 安装后的使用配置 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/06/216788.htmlAlanTopAlanTopFri, 06 Sep 2019 14:58:00 GMT//www.pppqb.icu/alantop/archive/2019/09/06/216788.html//www.pppqb.icu/alantop/comments/216788.html//www.pppqb.icu/alantop/archive/2019/09/06/216788.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216788.html//www.pppqb.icu/alantop/services/trackbacks/216788.html无需加密
讄L名和服务器ipQ主?被动都设|ؓ服务器ipQ?br />2.服务器配|里面增加主?br />d L?ip 和模?加操作系l模板即?br />
L里面有每个主机每个项目的囑Ş?br />
人的头像里面讄中文Q当界面颜色讄不回来的时候,先切换成英文版,再设|中文就ok
未配|模板的话,agent客户端上来的图标不是l色的?img src ="//www.pppqb.icu/alantop/aggbug/216788.html" width = "1" height = "1" />

AlanTop 2019-09-06 22:58 发表评论
]]>
zabbix 4.0 lts 在centos 7.6上安装php - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/06/216786.htmlAlanTopAlanTopFri, 06 Sep 2019 09:34:00 GMT//www.pppqb.icu/alantop/archive/2019/09/06/216786.html//www.pppqb.icu/alantop/comments/216786.html//www.pppqb.icu/alantop/archive/2019/09/06/216786.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216786.html//www.pppqb.icu/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 发表评论
]]>
zabbix 4.0 lts logo 目录 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/06/216785.htmlAlanTopAlanTopFri, 06 Sep 2019 09:31:00 GMT//www.pppqb.icu/alantop/archive/2019/09/06/216785.html//www.pppqb.icu/alantop/comments/216785.html//www.pppqb.icu/alantop/archive/2019/09/06/216785.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216785.html//www.pppqb.icu/alantop/services/trackbacks/216785.html/usr/share/zabbix/assets/img


AlanTop 2019-09-06 17:31 发表评论
]]>
centos 7 修改?/title><link>//www.pppqb.icu/alantop/archive/2019/09/06/216782.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Fri, 06 Sep 2019 07:02:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2019/09/06/216782.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216782.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/09/06/216782.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216782.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216782.html</trackback:ping><description><![CDATA[yum install wget<br /><span style="color: #4f4f4f; 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; background-color: #f6f8fa;">wget -O /etc/yum</span><span style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif; overflow-wrap: break-word; font-variant-ligatures: common-ligatures; white-space: pre; color: #009900 !important;">.repos</span><span style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif; overflow-wrap: break-word; font-variant-ligatures: common-ligatures; white-space: pre; color: #009900 !important;">.d</span><span style="color: #4f4f4f; 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; background-color: #f6f8fa;">/CentOS-Base</span><span style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif; overflow-wrap: break-word; font-variant-ligatures: common-ligatures; white-space: pre; color: #009900 !important;">.repo</span><span style="color: #4f4f4f; 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; background-color: #f6f8fa;"> //mirrors</span><span style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif; overflow-wrap: break-word; font-variant-ligatures: common-ligatures; white-space: pre; color: #009900 !important;">.aliyun</span><span style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif; overflow-wrap: break-word; font-variant-ligatures: common-ligatures; white-space: pre; color: #009900 !important;">.com</span><span style="color: #4f4f4f; 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; background-color: #f6f8fa;">/repo/Centos-</span><span style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif; overflow-wrap: break-word; font-variant-ligatures: common-ligatures; white-space: pre; color: #006666 !important;">7.</span><span style="color: #4f4f4f; 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; background-color: #f6f8fa;">repo<br /></span><span style="color: #4f4f4f; 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; background-color: #f6f8fa;">yum clean all <br /></span><span style="color: #4f4f4f; 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; background-color: #f6f8fa;">yum makecache</span><br /><span style="color: #4f4f4f; 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; background-color: #f6f8fa;"><br /><br /></span><img src ="//www.pppqb.icu/alantop/aggbug/216782.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-09-06 15:02 <a href="//www.pppqb.icu/alantop/archive/2019/09/06/216782.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>win7 win2012修改默认?389q程端口 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/05/216775.htmlAlanTopAlanTopThu, 05 Sep 2019 09:11:00 GMT//www.pppqb.icu/alantop/archive/2019/09/05/216775.html//www.pppqb.icu/alantop/comments/216775.html//www.pppqb.icu/alantop/archive/2019/09/05/216775.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216775.html//www.pppqb.icu/alantop/services/trackbacks/216775.html修改一下两个值后Q重启?br />HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\Wds\Repwd\Tds\Tcp
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-TCP  portnumber Qwin2012 只需要改q一个)

重启remote desktop service服务卛_?br />

centos下端口{?br />

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 发表评论
]]>
Winpȝ - 该死QWebGL 遇到了问?(chrome览? - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/09/05/216773.htmlAlanTopAlanTopThu, 05 Sep 2019 07:18:00 GMT//www.pppqb.icu/alantop/archive/2019/09/05/216773.html//www.pppqb.icu/alantop/comments/216773.html//www.pppqb.icu/alantop/archive/2019/09/05/216773.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216773.html//www.pppqb.icu/alantop/services/trackbacks/216773.htmlchrome://flags/

在这个页面里扑ֈ Override software rendering listQ将其启用?br />
造成
原因Q?/span>在同一个时间突然发出大量的jshq渲染界面?/span>

AlanTop 2019-09-05 15:18 发表评论
]]>
M变现课(如何读书的爱好转变为年?0万的自由职业Q?/title><link>//www.pppqb.icu/alantop/archive/2019/08/31/216756.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sat, 31 Aug 2019 09:27:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2019/08/31/216756.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216756.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/08/31/216756.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216756.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216756.html</trackback:ping><description><![CDATA[     摘要: M变现课(如何读书的爱好转变为年?0万的自由职业Q?nbsp; <a href='//www.pppqb.icu/alantop/archive/2019/08/31/216756.html'>阅读全文</a><img src ="//www.pppqb.icu/alantop/aggbug/216756.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-08-31 17:27 <a href="//www.pppqb.icu/alantop/archive/2019/08/31/216756.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>mongodb模糊查询 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/08/23/216734.htmlAlanTopAlanTopFri, 23 Aug 2019 15:10:00 GMT//www.pppqb.icu/alantop/archive/2019/08/23/216734.html//www.pppqb.icu/alantop/comments/216734.html//www.pppqb.icu/alantop/archive/2019/08/23/216734.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216734.html//www.pppqb.icu/alantop/services/trackbacks/216734.html
db.sites.find(
{ "name": {$regex:/电信/}
    }
)


AlanTop 2019-08-23 23:10 发表评论
]]>
tb 重画开单记?/title><link>//www.pppqb.icu/alantop/archive/2019/08/20/216715.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 20 Aug 2019 04:32:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2019/08/20/216715.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216715.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/08/20/216715.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216715.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216715.html</trackback:ping><description><![CDATA[     摘要:   <a href='//www.pppqb.icu/alantop/archive/2019/08/20/216715.html'>阅读全文</a><img src ="//www.pppqb.icu/alantop/aggbug/216715.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-08-20 12:32 <a href="//www.pppqb.icu/alantop/archive/2019/08/20/216715.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>vs 2017 ?vs 2019序列?/title><link>//www.pppqb.icu/alantop/archive/2019/08/18/216706.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sat, 17 Aug 2019 16:35:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2019/08/18/216706.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216706.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/08/18/216706.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216706.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216706.html</trackback:ping><description><![CDATA[vs2017专业版:KBJFW-NXHK6-W4WJM-CRMQB-G3CDH<br /> vs2017企业版:NJVYC-BMHX2-G77MM-4XJMR-6Q8QF <br /> vs2019企业版:BF8Y8-GN2QH-T84XB-QVY3B-RC4DF<br /> vs2019专业版:NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y</p> <img src ="//www.pppqb.icu/alantop/aggbug/216706.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-08-18 00:35 <a href="//www.pppqb.icu/alantop/archive/2019/08/18/216706.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>centos 7.6 监控|卡量 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/08/13/216675.htmlAlanTopAlanTopTue, 13 Aug 2019 13:49:00 GMT//www.pppqb.icu/alantop/archive/2019/08/13/216675.html//www.pppqb.icu/alantop/comments/216675.html//www.pppqb.icu/alantop/archive/2019/08/13/216675.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216675.html//www.pppqb.icu/alantop/services/trackbacks/216675.html1.安装
yum install iftop -y
2.查看|卡量
iftop -i eth1
3.监控特定ip的流?/div>
监控某个特定IP的带宽访问情况:
iftop -i eth1 -B -F 182.92.***.20
昄182.92.***.20q个IP与服务器的网卡eth1交互的数据量Q单位是Byte?/div>
4.退?/div>
q
5.昄界面说明Q?/div>
"<="?=>"Q表C的是流量的方向
"TX"Q从|卡发出的流?/div>
"RX"Q网卡接收流?/div>
"TOTAL"Q网卡发送接收L?/div>
"cum"Qiftop开始运行到当前旉点的L?/div>
"peak"Q网卡流量峰?/div>
"rates"Q分别表C最q?s?0s?0s 的^均流?/div>

AlanTop 2019-08-13 21:49 发表评论
]]>tb开拓者画U?/title><link>//www.pppqb.icu/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>//www.pppqb.icu/alantop/archive/2019/07/30/216613.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216613.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/07/30/216613.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216613.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216613.html</trackback:ping><description><![CDATA[<div class="dpun">PlotString ("demo","▽▽▲▼",high*1.2,Red);</div><img src ="//www.pppqb.icu/alantop/aggbug/216613.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-07-30 19:34 <a href="//www.pppqb.icu/alantop/archive/2019/07/30/216613.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>tb 开拓?跨周期应?/title><link>//www.pppqb.icu/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>//www.pppqb.icu/alantop/archive/2019/07/25/216604.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216604.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/07/25/216604.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216604.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/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 />//www.CodeHighlighter.com/<br /><br />-->Params<br /><span style="color: #008000; ">//</span><span style="color: #008000; ">此处d参数</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; ">大周期开仓条?/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; "> =周期开仓条?/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 ="//www.pppqb.icu/alantop/aggbug/216604.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-07-25 17:23 <a href="//www.pppqb.icu/alantop/archive/2019/07/25/216604.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>tb跨周期函?/title><link>//www.pppqb.icu/alantop/archive/2019/07/19/216571.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Fri, 19 Jul 2019 14:26:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2019/07/19/216571.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216571.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/07/19/216571.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216571.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216571.html</trackback:ping><description><![CDATA[<div class="dpun"><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 />//www.CodeHighlighter.com/<br /><br />--><span style="color: #008000; ">//</span><span style="color: #008000; ">------------------------------------------------------------------------<br /></span><span style="color: #008000; ">//</span><span style="color: #008000; "> U? k_Bar<br /></span><span style="color: #008000; ">//</span><span style="color: #008000; "> 名称: 跨周期函?-基础BAR数据<br /></span><span style="color: #008000; ">//</span><span style="color: #008000; "> cd: 用户函数<br /></span><span style="color: #008000; ">//</span><span style="color: #008000; "> cd: 用户函数<br /></span><span style="color: #008000; ">//</span><span style="color: #008000; "> 输出: 数值型<br /></span><span style="color: #008000; ">//</span><span style="color: #008000; ">------------------------------------------------------------------------</span><span style="color: #008000; "><br /></span><span style="color: #000000; "><br /><br />Params <br />    Numeric TimeFrame(</span><span style="color: #000000; ">1440</span><span style="color: #000000; ">);    <br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 目标旉周期Q按月线=4周(40320)Q周U?7?10080)Q日U?24时Q?440Q?br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 其他日内的周期等于相应的分钟敎ͼ如:1时=60Q?nbsp;30分钟=30。。?br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 1分钟图表Q支持不规则分钟敎ͼ?分钟?分钟?4分钟{?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">        <br />    Numeric BarsBack(</span><span style="color: #000000; ">0</span><span style="color: #000000; ">); <br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 目标旉周期BAR偏移Q?br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 1--表示当前周期下的当前BAR对应目标周期的前一根BAR<br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 0--表示当前周期下的当前BAR对应目标周期的当前BAR截止到目前ؓ止的BAR数据?/span><span style="color: #008000; "><br /></span><span style="color: #000000; "><br />Vars<br />    Numeric TradeDate;                </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 当前KU实际交易日期(主要解决夜盘问题Q?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    Numeric TradeHour;                </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 当前KU实际交易时_时Q?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    Numeric TradeMinute;            </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 当前KU实际交易时_分钟Q?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    NumericSeries Index;            </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 当前BAR在TimeFrame旉周期下的索引?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    Numeric SessionStartHour;        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 当前KU实际的交易日的W一节交易的起始旉Q小Ӟ</span><span style="color: #008000; "><br /></span><span style="color: #000000; "><br /><br />    NumericSeries barCnt;            </span><span style="color: #008000; ">//</span><span style="color: #008000; "> d目标周期上一根BAR的数据在当前周期下需要回溯的BAR?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    NumericSeries Ht_CurBar;        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 当前BAR在目标周期下对应的CurrentBar</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    Numeric barCntSum;                 </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 临时变量Q返回目标周期数据需要回溯的BAR?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    NumericSeries Ht_Open;            </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 目标旉周期的开盘h</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    NumericSeries Ht_High;            </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 目标旉周期的最高h</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    NumericSeries Ht_Low;            </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 目标旉周期的最低h</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    NumericSeries Ht_Close;            </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 目标旉周期的收盘h</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    NumericSeries Ht_Vol;            </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 目标旉周期的成交量</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    NumericSeries Ht_OpenInt;        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 目标旉周期的持仓量</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    </span><span style="color: #0000FF; ">bool</span><span style="color: #000000; "> condition(</span><span style="color: #0000FF; ">false</span><span style="color: #000000; ">);            </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 判断在目标时间是否属于不同根BAR</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    Numeric i;<br />    <br />Begin<br /><br />     TradeDate </span><span style="color: #000000; ">=</span><span style="color: #000000; "> TrueDate(</span><span style="color: #000000; ">0</span><span style="color: #000000; ">);         </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 取实际交易日?br /><br />    </span><span style="color: #008000; ">//</span><span style="color: #008000; "> ҎTimeFrame分别处理</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    If(TimeFrame </span><span style="color: #000000; ">==</span><span style="color: #000000; "> </span><span style="color: #000000; ">40320</span><span style="color: #000000; ">)            </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 月线</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    {<br />        Index </span><span style="color: #000000; ">=</span><span style="color: #000000; "> (YearFromDateTime(TradeDate) </span><span style="color: #000000; ">-</span><span style="color: #000000; "> </span><span style="color: #000000; ">1970</span><span style="color: #000000; ">) </span><span style="color: #000000; ">*</span><span style="color: #000000; "> </span><span style="color: #000000; ">12</span><span style="color: #000000; "> </span><span style="color: #000000; ">+</span><span style="color: #000000; "> MonthFromDateTime(TradeDate);<br />    }<br />    Else If(TimeFrame </span><span style="color: #000000; ">==</span><span style="color: #000000; "> </span><span style="color: #000000; ">10080</span><span style="color: #000000; ">)        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 周线</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    {<br />        Index </span><span style="color: #000000; ">=</span><span style="color: #000000; "> IntPart(DateDiff(</span><span style="color: #000000; ">19700105</span><span style="color: #000000; ">,TradeDate)</span><span style="color: #000000; ">/</span><span style="color: #000000; ">7</span><span style="color: #000000; ">);<br />    }<br />    Else If(TimeFrame </span><span style="color: #000000; ">==</span><span style="color: #000000; "> </span><span style="color: #000000; ">1440</span><span style="color: #000000; ">)        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 日线</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    {<br />        Index </span><span style="color: #000000; ">=</span><span style="color: #000000; "> DateDiff(</span><span style="color: #000000; ">19700105</span><span style="color: #000000; ">,TradeDate);<br />    }<br />    Else<br />    {<br />        TradeHour </span><span style="color: #000000; ">=</span><span style="color: #000000; "> HourFromDateTime(Time);<br />        TradeMinute </span><span style="color: #000000; ">=</span><span style="color: #000000; "> MinuteFromDateTime(Time);<br /><br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 取当前品U,W一节交易的开始小时数</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">        SessionStartHour </span><span style="color: #000000; ">=</span><span style="color: #000000; "> IntPart(GetSessionStartTime(</span><span style="color: #000000; ">0</span><span style="color: #000000; ">)</span><span style="color: #000000; ">*</span><span style="color: #000000; ">100</span><span style="color: #000000; ">);<br /><br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 解决4时囄旉划分比较Ҏ问题</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">        If(TimeFrame </span><span style="color: #000000; ">==</span><span style="color: #000000; "> </span><span style="color: #000000; ">240</span><span style="color: #000000; ">) SessionStartHour </span><span style="color: #000000; ">=</span><span style="color: #000000; "> IIF(SessionStartHour </span><span style="color: #000000; ">==</span><span style="color: #000000; "> </span><span style="color: #000000; ">21</span><span style="color: #000000; ">,</span><span style="color: #000000; ">20</span><span style="color: #000000; ">,</span><span style="color: #000000; ">8</span><span style="color: #000000; ">);<br />        <br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 按当前BAR对应旉Q除以TimeFrame的分钟数Q得到的商ؓ索引|索引值相同的在大周期上属于同一根BAR</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">        Index </span><span style="color: #000000; ">=</span><span style="color: #000000; "> DateDiff(</span><span style="color: #000000; ">19700105</span><span style="color: #000000; ">,TradeDate) </span><span style="color: #000000; ">*</span><span style="color: #000000; "> (IntPart(</span><span style="color: #000000; ">1439</span><span style="color: #000000; ">/</span><span style="color: #000000; ">TimeFrame)</span><span style="color: #000000; ">+</span><span style="color: #000000; ">1</span><span style="color: #000000; ">) </span><span style="color: #000000; ">+</span><span style="color: #000000; "> IntPart((IIF(TradeHour </span><span style="color: #000000; ">>=</span><span style="color: #000000; "> SessionStartHour, TradeHour </span><span style="color: #000000; ">-</span><span style="color: #000000; "> SessionStartHour,<br />        TradeHour </span><span style="color: #000000; ">+</span><span style="color: #000000; "> </span><span style="color: #000000; ">24</span><span style="color: #000000; "> </span><span style="color: #000000; ">-</span><span style="color: #000000; "> SessionStartHour) </span><span style="color: #000000; ">*</span><span style="color: #000000; "> </span><span style="color: #000000; ">60</span><span style="color: #000000; "> </span><span style="color: #000000; ">+</span><span style="color: #000000; "> TradeMinute)</span><span style="color: #000000; ">/</span><span style="color: #000000; ">TimeFrame);<br />    }<br /><br />    </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 索引g同的Q则说明属于不同BAR</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    condition </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Index </span><span style="color: #000000; "><></span><span style="color: #000000; "> Index[</span><span style="color: #000000; ">1</span><span style="color: #000000; ">];<br /><br />    If(CurrentBar</span><span style="color: #000000; ">==</span><span style="color: #000000; ">0</span><span style="color: #000000; ">)                </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 如果是第一根Bar, Ht_CurBar=0</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    {<br />        barCnt </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">0</span><span style="color: #000000; ">;<br />        Ht_CurBar </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">0</span><span style="color: #000000; ">;<br />        Ht_Open </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Open;<br />        Ht_High </span><span style="color: #000000; ">=</span><span style="color: #000000; "> High;<br />        Ht_Low </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Low;<br />        Ht_Close </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Close;<br />        Ht_Vol </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Vol;<br />        Ht_OpenInt </span><span style="color: #000000; ">=</span><span style="color: #000000; "> OpenInt;<br />    }<br />    Else<br />    {<br />        If(Condition)              <br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 如果在目标周期下Q属于另一根KU,则Ht_CurBar?</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">        {<br />            barCnt </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">1</span><span style="color: #000000; ">;<br />            Ht_CurBar </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Ht_CurBar[</span><span style="color: #000000; ">1</span><span style="color: #000000; ">] </span><span style="color: #000000; ">+</span><span style="color: #000000; "> </span><span style="color: #000000; ">1</span><span style="color: #000000; ">;<br />            Ht_Open </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Open;<br />            Ht_High </span><span style="color: #000000; ">=</span><span style="color: #000000; "> High;<br />            Ht_Low </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Low;<br />            Ht_Vol </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Vol;<br />        }<br />        Else<br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 如果在目标周期下Q属于同一根KU,则Ht_CurBar不变Q但最高h和最低h要记录h格的变化Q成交量要篏?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">        {<br />            barCnt </span><span style="color: #000000; ">=</span><span style="color: #000000; "> barCnt[</span><span style="color: #000000; ">1</span><span style="color: #000000; ">] </span><span style="color: #000000; ">+</span><span style="color: #000000; "> </span><span style="color: #000000; ">1</span><span style="color: #000000; ">;<br />            Ht_High </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Max(Ht_High[</span><span style="color: #000000; ">1</span><span style="color: #000000; ">],High);<br />            Ht_Low </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Min(Ht_Low[</span><span style="color: #000000; ">1</span><span style="color: #000000; ">],Low);<br />            Ht_Vol </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Ht_Vol[</span><span style="color: #000000; ">1</span><span style="color: #000000; ">] </span><span style="color: #000000; ">+</span><span style="color: #000000; "> Vol;<br />        }<br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 收盘价和持仓量L取最新?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">        Ht_Close </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Close;<br />        Ht_OpenInt </span><span style="color: #000000; ">=</span><span style="color: #000000; "> OpenInt;<br />    }<br /><br /></span><span style="color: #008000; ">//</span><span style="color: #008000; ">    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)<br /></span><span style="color: #008000; ">//</span><span style="color: #008000; ">    +" Ht_Low="+Text(Ht_Low)+" Ht_Close="+Text(Ht_Close)+" Ht_Vol="+Text(Ht_Vol)+" Ht_OpenInt="+Text(Ht_OpenInt));<br />    <br />    </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 前面在当前周期的每根BARQ记录了它对应的目标旉周期的开高低收等数据?br />    </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 接下来把每根BAR对应的数据返回给调用本函数的公式Q通过全局变量Q?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    barCntSum </span><span style="color: #000000; ">=</span><span style="color: #000000; "> barCnt ;<br />    If(BarsBack </span><span style="color: #000000; ">==</span><span style="color: #000000; "> </span><span style="color: #000000; ">0</span><span style="color: #000000; ">)<br />    </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 如果BarsBack?Q则当前BAR记录的是当前BAR所对应目标周期的当前BAR截止到目前ؓ止的BAR数据?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    {<br />        barCntSum </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">0</span><span style="color: #000000; "> ;<br />    }<br />    </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 如果BarsBack?Q则当前BAR记录的是当前BAR所对应目标周期的前一根BAR的数据?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    Else<br />    {<br />        barCntSum </span><span style="color: #000000; ">=</span><span style="color: #000000; "> barCnt ;<br />    }<br /><br />    </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 目标时间周期下的BAR数据写入全局变量q回调用公式</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    SetGlobalVar2(</span><span style="color: #000000; ">"</span><span style="color: #000000; ">Ht_curbar</span><span style="color: #000000; ">"</span><span style="color: #000000; ">,Ht_CurBar);<br />    SetGlobalVar2(</span><span style="color: #000000; ">"</span><span style="color: #000000; ">Ht_open</span><span style="color: #000000; ">"</span><span style="color: #000000; ">,Ht_Open[barCntSum]);<br />    SetGlobalVar2(</span><span style="color: #000000; ">"</span><span style="color: #000000; ">Ht_high</span><span style="color: #000000; ">"</span><span style="color: #000000; ">,Ht_High[barCntSum]);<br />    SetGlobalVar2(</span><span style="color: #000000; ">"</span><span style="color: #000000; ">Ht_low</span><span style="color: #000000; ">"</span><span style="color: #000000; ">,Ht_Low[barCntSum]);<br />    SetGlobalVar2(</span><span style="color: #000000; ">"</span><span style="color: #000000; ">Ht_close</span><span style="color: #000000; ">"</span><span style="color: #000000; ">,Ht_Close[barCntSum]);<br />    SetGlobalVar2(</span><span style="color: #000000; ">"</span><span style="color: #000000; ">Ht_vol</span><span style="color: #000000; ">"</span><span style="color: #000000; ">,Ht_Vol[barCntSum]);<br />    SetGlobalVar2(</span><span style="color: #000000; ">"</span><span style="color: #000000; ">Ht_openInt</span><span style="color: #000000; ">"</span><span style="color: #000000; ">,Ht_OpenInt[barCntSum]);<br /><br />    </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 读取大周期数据的回溯BARC为函数的q回D?/span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    Return barCnt;<br />    <br />End<br /><br /><br /> <br /></span><span style="color: #008000; ">/*</span><span style="color: #008000; "> <br />Params <br />    Numeric TimeFrame(1440);    <br />        // 目标旉周期Q按月线=4周(40320)Q周U?7?10080)Q日U?24时Q?440Q?br />        // 其他日内的周期等于相应的分钟敎ͼ如:1时=60Q?nbsp;30分钟=30。。?br />        // 1分钟图表Q支持不规则分钟敎ͼ?分钟?分钟?4分钟{?br />        <br />    Numeric BarsBack(0); <br />        // 目标旉周期BAR偏移Q?br />        // 1--表示当前周期下的当前BAR对应目标周期的前一根BAR<br />        // 0--表示当前周期下的当前BAR对应目标周期的当前BAR截止到目前ؓ止的BAR数据?br /><br />Vars<br />    Numeric TradeDate;                // 当前KU实际交易日期(主要解决夜盘问题Q?br />    Numeric TradeHour;                // 当前KU实际交易时_时Q?br />    Numeric TradeMinute;            // 当前KU实际交易时_分钟Q?br />    NumericSeries Index;            // 当前BAR在TimeFrame旉周期下的索引?br />    Numeric SessionStartHour;        // 当前KU实际的交易日的W一节交易的起始旉Q小Ӟ<br /><br /><br />    NumericSeries barCnt;            // d目标周期上一根BAR的数据在当前周期下需要回溯的BAR?br />    NumericSeries Ht_CurBar;        // 当前BAR在目标周期下对应的CurrentBar<br />    Numeric barCntSum;                 // 临时变量Q返回目标周期数据需要回溯的BAR?br />    NumericSeries Ht_Open;            // 目标旉周期的开盘h<br />    NumericSeries Ht_High;            // 目标旉周期的最高h<br />    NumericSeries Ht_Low;            // 目标旉周期的最低h<br />    NumericSeries Ht_Close;            // 目标旉周期的收盘h<br />    NumericSeries Ht_Vol;            // 目标旉周期的成交量<br />    NumericSeries Ht_OpenInt;        // 目标旉周期的持仓量<br />    bool condition(false);            // 判断在目标时间是否属于不同根BAR<br />    Numeric i;<br />    <br />Begin<br /><br />     TradeDate = TrueDate(0);         // 取实际交易日?br /><br />    // ҎTimeFrame分别处理<br />    If(TimeFrame == 40320)            // 月线<br />    {<br />        Index = (YearFromDateTime(TradeDate) - 1970) * 12 + MonthFromDateTime(TradeDate);<br />    }<br />    Else If(TimeFrame == 10080)        // 周线<br />    {<br />        Index = IntPart(DateDiff(19700105,TradeDate)/7);<br />    }<br />    Else If(TimeFrame == 1440)        // 日线<br />    {<br />        Index = DateDiff(19700105,TradeDate);<br />    }<br />    Else<br />    {<br />        TradeHour = HourFromDateTime(Time);<br />        TradeMinute = MinuteFromDateTime(Time);<br /><br />        // 取当前品U,W一节交易的开始小时数<br />        SessionStartHour = IntPart(GetSessionStartTime(0)*100);<br />        <br />        // 按当前BAR对应旉Q除以TimeFrame的分钟数Q得到的商ؓ索引|索引值相同的在大周期上属于同一根BAR<br />        Index = DateDiff(19700105,TradeDate) * (IntPart(1440/TimeFrame)+1) + IntPart((IIF(TradeHour >= SessionStartHour, TradeHour - SessionStartHour,TradeHour + 24 - SessionStartHour) * 60 + TradeMinute)/TimeFrame);<br />    }<br /><br />    // 索引g同的Q则说明属于不同BAR<br />    condition = Index <> Index[1];<br /><br />    If(CurrentBar==0)                // 如果是第一根Bar, Ht_CurBar=0<br />    {<br />        barCnt = InvalidNumeric;<br />        Ht_CurBar = InvalidNumeric;<br />        Ht_Open = InvalidNumeric;<br />        Ht_High = InvalidNumeric;<br />        Ht_Low = InvalidNumeric;<br />        Ht_Close = InvalidNumeric;<br />        Ht_Vol = InvalidNumeric;<br />        Ht_OpenInt = InvalidNumeric;<br />    }<br />    Else<br />    {<br />        If(Condition)              <br />        // 如果在目标周期下Q属于另一根KU,则Ht_CurBar?<br />        {<br />            If(Ht_CurBar[1] == InvalidNumeric)<br />            {<br />                Ht_CurBar = 0;<br />            }<br />            Else<br />            {<br />                Ht_CurBar = Ht_CurBar[1] + 1;<br />            }<br />            barCnt = 1;<br />            Ht_Open = Open;<br />            Ht_High = High;<br />            Ht_Low = Low;<br />            Ht_Vol = Vol;<br />        }<br />        Else<br />        // 如果在目标周期下Q属于同一根KU,则Ht_CurBar不变Q但最高h和最低h要记录h格的变化Q成交量要篏?br />        {<br />            If(Ht_CurBar[1] <> InvalidNumeric)<br />            {<br />                barCnt = barCnt[1] + 1;<br />                Ht_High = Max(Ht_High[1],High);<br />                Ht_Low = Min(Ht_Low[1],Low);<br />                Ht_Vol = Ht_Vol[1] + Vol;<br />            }<br />        }<br />        // 收盘价和持仓量L取最新?br />        If(Ht_CurBar <> InvalidNumeric)<br />        {<br />            Ht_Close = Close;<br />            Ht_OpenInt = OpenInt;<br />        }<br />    }<br />    <br />    //Commentary("barCnt = "+Text(barCnt));<br />    //Commentary("Ht_CurBar="+text(Ht_CurBar));<br />    <br />    //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)<br />    //+" Ht_Low="+Text(Ht_Low)+" Ht_Close="+Text(Ht_Close)+" Ht_Vol="+Text(Ht_Vol)+" Ht_OpenInt="+Text(Ht_OpenInt));<br />    <br />    // 前面在当前周期的每根BARQ记录了它对应的目标旉周期的开高低收等数据?br />    // 接下来把每根BAR对应的数据返回给调用本函数的公式Q通过全局变量Q?br />    barCntSum = barCnt ;<br />    If(BarsBack == 0)<br />    // 如果BarsBack?Q则当前BAR记录的是当前BAR所对应目标周期的当前BAR截止到目前ؓ止的BAR数据?br />    {<br />        barCntSum = 0 ;<br />    }<br />    // 如果BarsBack?Q则当前BAR记录的是当前BAR所对应目标周期的前一根BAR的数据?br />    Else<br />    {<br />        barCntSum = barCnt ;<br />    }<br /><br />    // 目标时间周期下的BAR数据写入全局变量q回调用公式<br />    SetGlobalVar2("Ht_curbar",Ht_CurBar);<br />    SetGlobalVar2("Ht_open",Ht_Open[barCntSum]);<br />    SetGlobalVar2("Ht_high",Ht_High[barCntSum]);<br />    SetGlobalVar2("Ht_low",Ht_Low[barCntSum]);<br />    SetGlobalVar2("Ht_close",Ht_Close[barCntSum]);<br />    SetGlobalVar2("Ht_vol",Ht_Vol[barCntSum]);<br />    SetGlobalVar2("Ht_openInt",Ht_OpenInt[barCntSum]);<br /><br />    // 读取大周期数据的回溯BARC为函数的q回D?br />    Return barCnt;<br />    <br />End <br /></span><span style="color: #008000; ">*/</span><span style="color: #000000; "><br /><br /><br /></span></div></div><img src ="//www.pppqb.icu/alantop/aggbug/216571.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-07-19 22:26 <a href="//www.pppqb.icu/alantop/archive/2019/07/19/216571.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>frp内网IK远E连?/title><link>//www.pppqb.icu/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>//www.pppqb.icu/alantop/archive/2019/07/17/216561.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216561.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/07/17/216561.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216561.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216561.html</trackback:ping><description><![CDATA[软g下蝲地址Qhttps://github.com/fatedier/frp/releases<br />服务?centos 7.6<br />客户?windows 10<br /><br />服务器端配置文g frps.ini<br /><br /><div class="dpun"># ~辑配置文g </div><div class="dpun"># frps.ini</div><div class="dpun">#通用讄</div><div class="dpun">[common]</div><div class="dpun"># frp 监听地址</div><div class="dpun">bind_port = 7000</div><div class="dpun">#讉K客户端web服务自定义的端口?nbsp;</div><div class="dpun">vhost_http_port = 8110</div><div class="dpun">#链接口o</div><div class="dpun">token = 12345678</div><div class="dpun"></div><div class="dpun">#frp 控制面板</div><div class="dpun">dashboard_port = 7500</div><div class="dpun"># dashboard 用户名密码可选,默认都ؓ admin</div><div class="dpun">dashboard_user = admin</div><div class="dpun">dashboard_pwd = admin<br /><br /><div class="dpun"><div class="dpun">服务器端q行 ./frps -c frps.ini</div><div class="dpun">q程理面 //ip:7500/</div><div class="dpun"></div><div class="dpun">客户端配|文?/div><div class="dpun"></div><div class="dpun"> # 通用配置</div><div class="dpun">    [common]</div><div class="dpun">    # 服务器端地址 也可以填写域?/div><div class="dpun">    server_addr = 47.103.128.154</div><div class="dpun">    # 服务器端?/div><div class="dpun">    server_port = 7000 </div><div class="dpun">    # 授权token 要与服务器端一?/div><div class="dpun">    token = 12345678</div><div class="dpun">    </div><div class="dpun"></div><div class="dpun">    </div><div class="dpun">    #内网IK提供本地数据库l别?/div><div class="dpun">   [tcp3389]</div><div class="dpun">   type = tcp</div><div class="dpun">   local_ip = 10.2.3.110</div><div class="dpun">   #本地端口</div><div class="dpun">   local_port = 3389</div><div class="dpun">   #q程端口</div><div class="dpun">   remote_port =3389</div><div class="dpun">   </div><div class="dpun">客户端运?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 class="dpun"></div><img src ="//www.pppqb.icu/alantop/aggbug/216561.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-07-17 11:07 <a href="//www.pppqb.icu/alantop/archive/2019/07/17/216561.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>python3 通过tcpq程控制服务器执行命?/title><link>//www.pppqb.icu/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>//www.pppqb.icu/alantop/archive/2019/07/10/216527.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216527.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/07/10/216527.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216527.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/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 />//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; "> 自定义类来实现通信循环</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; "> 必须写入handleҎQ徏立链接时会自动执行handleҎ</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; "> 链接循环</span><span style="color: #008000; "><br /></span></div></div><img src ="//www.pppqb.icu/alantop/aggbug/216527.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-07-10 16:28 <a href="//www.pppqb.icu/alantop/archive/2019/07/10/216527.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>windows server 2012ȀzL?/title><link>//www.pppqb.icu/alantop/archive/2019/07/09/216522.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 09 Jul 2019 06:03:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2019/07/09/216522.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216522.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/07/09/216522.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216522.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216522.html</trackback:ping><description><![CDATA[<div class="dpun">windows server 2012下蝲地址<br />https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2</div><div class="dpun"></div><div class="dpun">q条命o是{换成标准版本Q?/div><div class="dpun">DISM /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:NH3KG-P864D-XYCJH-82DMH-4CX8M</div><div class="dpun">服务器将重启两次</div><div class="dpun"></div><div class="dpun">Windows Server 2012 R2 Retail KeyQh品序列号</div><div class="dpun"></div><div class="dpun">[Key]QNH3KG-P864D-XYCJH-82DMH-4CX8M -- Standard Q可以激z)</div><div class="dpun">[Key]QKPXD3-FDN73-2XYRP-9GCRW-TQ6PB -- Standard</div><div class="dpun">[Key]QTPQN8-XRYYC-VDRQ8-9XK7F-TVHJM -- Standard</div><div class="dpun">[key ]:NB4WH-BBBYV-3MPPC-9RCMV-46XCB-- Standard</div><div class="dpun">[Key]: M98WF-NY2PP-73243-PC8R6-V6B4Y -- Standard</div><div class="dpun">[Key]: MR88Y-BXNRY-VH3DR-349CB-3GK8M -- Standard</div><div class="dpun">[Key]: M89WF-NY2PP-73243-PC8R6-V6B4Y -- Standard</div><div class="dpun"></div><div class="dpun"></div><div class="dpun">(windows server 2012Ȁzȝ) 密钥Q?/div><div class="dpun"></div><div class="dpun"> </div><div class="dpun">  Windows Server 2012 Foundation</div><div class="dpun"> </div><div class="dpun">  RTMNG-7K8HQ-3QVVW-W8QKF-Q9H7D --- 00185-00477-08754-AAOEM</div><div class="dpun"> </div><div class="dpun">  VXHGK-GRJQH-K7WVN-MTXP3-YBFHM --- 00185-65247-05792-ABOEM</div><div class="dpun"> </div><div class="dpun">  BDCBV-BQ27P-9PNJJ-BQJ96-KTJ3Y --- 00185-61015-53182-ABOEM</div><div class="dpun"> </div><div class="dpun">  Windows Server 2012 Essentials</div><div class="dpun"> </div><div class="dpun">  MXHGN-GRJQH-K7WVV-MTXP3-YBFHT --- 00186-00000-00000-AAOEM</div><div class="dpun"> </div><div class="dpun">  JXHGK-GRJQH-N7WVV-MTXP3-YBFHT --- 00186-08304-72192-ABOEM</div><div class="dpun"> </div><div class="dpun">  Windows Server 2012 Standard</div><div class="dpun"> </div><div class="dpun">  VDNYM-JBKJ7-DC4X9-BT3QR-JHRGY --- 00184-00070-00000-AAOEM</div><div class="dpun"> </div><div class="dpun">  BNHD9-KT7MY-4BX83-HTGM4-3C77J --- 00185-48475-45056-AAOEM</div><div class="dpun"> </div><div class="dpun">  Windows Storage Server 2012 Standard</div><div class="dpun"> </div><div class="dpun">  DXHGK-GRJQH-K7WVV-NTXP3-YBFGG --- 00182-85373-02912-ABOEM</div><div class="dpun"> </div><div class="dpun">  Windows Server 2012 Datacenter</div><div class="dpun"> </div><div class="dpun">  B7RRX-RVN4P-PCPBM-89D8Y-X4PQH --- 00184-50100-21572-AAOEM</div><div class="dpun"> </div><div class="dpun">  Q8MTR-F2N87-JPQ4C-8CFK9-C7HJM</div><div class="dpun"> </div><div class="dpun">  HK69K-3N8Y2-VB2XH-4HYGY-CWDWM</div><div class="dpun"> </div><div class="dpun">  W689N-TPP83-V2Q42-683JR-X2C2B</div><div class="dpun"> </div><div class="dpun">  Windows Server 2012 R2 Preview 现在支持两种ȀzL式:</div><div class="dpun"> </div><div class="dpun">  数据中心产品密钥Q?/div><div class="dpun"> </div><div class="dpun">  JGXYY-7NMTC-MHKY3-QCC9B-VQRG7</div><div class="dpun"> </div><div class="dpun">  Datacenter Server 的自动虚拟机Ȁz?(AVMA) 密钥Q?/div><div class="dpun"> </div><div class="dpun">  XVNRV-9HTX4-TH2JD-HVJQD-QRQWG</div><div class="dpun"></div><img src ="//www.pppqb.icu/alantop/aggbug/216522.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-07-09 14:03 <a href="//www.pppqb.icu/alantop/archive/2019/07/09/216522.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>python3 定时重启服务 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/07/03/216477.htmlAlanTopAlanTopWed, 03 Jul 2019 04:19:00 GMT//www.pppqb.icu/alantop/archive/2019/07/03/216477.html//www.pppqb.icu/alantop/comments/216477.html//www.pppqb.icu/alantop/archive/2019/07/03/216477.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216477.html//www.pppqb.icu/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 发表评论
]]>windows7 Qwindows server 2008Qwindows server2012 技术终止时间?/title><link>//www.pppqb.icu/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>//www.pppqb.icu/alantop/archive/2019/06/28/216467.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216467.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/06/28/216467.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216467.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216467.html</trackback:ping><description><![CDATA[<div class="dpun">Windows Server 2008 ?Windows Server 2008 R2Q原本计划于2013q??日终止,后来免费L支持g长至2015q??5日,在这之前Q微软将为Windows Server 2008提供免费的技术支持。在2015q??5日主支持期l束后,用户可以获取另外5q的技术支持,不过q次是收费的了Q微软仍会提供免费的安全更新Q?/div><div class="dpun"></div><div class="dpun">Windows Server 2008 ?Windows Server 2008 R2 技术支持终止时间是2020q??4日?br /><br /><span style="font-family: 宋体; font-size: 16px;">Windows 7 的技术终止时间是2020q??4日?br /><br />windows server 2012 技术终止时?023q?0?0日?/span></div><img src ="//www.pppqb.icu/alantop/aggbug/216467.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-06-28 19:41 <a href="//www.pppqb.icu/alantop/archive/2019/06/28/216467.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C++行库和框架集合 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/02/10/216235.htmlAlanTopAlanTopSun, 10 Feb 2019 06:44:00 GMT//www.pppqb.icu/alantop/archive/2019/02/10/216235.html//www.pppqb.icu/alantop/comments/216235.html//www.pppqb.icu/alantop/archive/2019/02/10/216235.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216235.html//www.pppqb.icu/alantop/services/trackbacks/216235.htmlhttps://www.toutiao.com/i6655869330388943371/


AlanTop 2019-02-10 14:44 发表评论
]]>windows 10 无法?803自动升?809的解x?/title><link>//www.pppqb.icu/alantop/archive/2019/01/31/216229.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Thu, 31 Jan 2019 03:22:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2019/01/31/216229.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216229.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2019/01/31/216229.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216229.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216229.html</trackback:ping><description><![CDATA[     摘要: windows 10 无法?803自动升?809的解x?  <a href='//www.pppqb.icu/alantop/archive/2019/01/31/216229.html'>阅读全文</a><img src ="//www.pppqb.icu/alantop/aggbug/216229.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2019-01-31 11:22 <a href="//www.pppqb.icu/alantop/archive/2019/01/31/216229.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>python3 获取g信息 加密 注册功能 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2019/01/06/216170.htmlAlanTopAlanTopSun, 06 Jan 2019 04:51:00 GMT//www.pppqb.icu/alantop/archive/2019/01/06/216170.html//www.pppqb.icu/alantop/comments/216170.html//www.pppqb.icu/alantop/archive/2019/01/06/216170.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216170.html//www.pppqb.icu/alantop/services/trackbacks/216170.html
import os, sys
import wmi
import hashlib
import base64
c = wmi.WMI()
#处理?/div>
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
#L
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]   #LUUID,有的Lq部分信息取CؓI|ffffff-ffffffq样?/div>
        tmpmsg['SerialNumber'] = board_id.SerialNumber                #L序列?/div>
        tmpmsg['Manufacturer'] = board_id.Manufacturer       #L生品牌厂家
        tmpmsg['Product'] = board_id.Product                 #L型号
        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特征?/div>
        tmpmsg['version'] = bios_id.Version                           #BIOS版本
        tmpmsg['Manufacturer'] = bios_id.Manufacturer.strip()                 #BIOSZg生厂家
        tmpmsg['ReleaseDate'] = bios_id.ReleaseDate                   #BIOS释放日期
        tmpmsg['SMBIOSBIOSVersion'] = bios_id.SMBIOSBIOSVersion       #pȝ理规范版本
        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
#甉|信息Q只有笔记本才会有电池选项
def printBattery():
    isBatterys = False
    for b in c.Win32_Battery():
        isBatterys = True
    return isBatterys
#|卡mac地址Q?/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 专业版注册码 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2018/12/30/216155.htmlAlanTopAlanTopSun, 30 Dec 2018 03:58:00 GMT//www.pppqb.icu/alantop/archive/2018/12/30/216155.html//www.pppqb.icu/alantop/comments/216155.html//www.pppqb.icu/alantop/archive/2018/12/30/216155.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216155.html//www.pppqb.icu/alantop/services/trackbacks/216155.html1.修改hosts
0.0.0.0 account.jetbrains.com
2.软g中输入如下注册码Q注册日期到2019.05Q?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++ 主题选择 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2018/12/27/216150.htmlAlanTopAlanTopThu, 27 Dec 2018 08:47:00 GMT//www.pppqb.icu/alantop/archive/2018/12/27/216150.html//www.pppqb.icu/alantop/comments/216150.html//www.pppqb.icu/alantop/archive/2018/12/27/216150.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216150.html//www.pppqb.icu/alantop/services/trackbacks/216150.html选择主题QObsidianQ?span style="color: #333333; font-family: Arial, "Microsoft YaHei", "\\5FAE软雅?quot;, "\\5B8B?quot;, "Malgun Gothic", Meiryo, sans-serif; font-variant-numeric: normal; font-variant-east-asian: normal; line-height: 21px; background-color: #ffffff;">黑曜yao?/span>Q;
选择字体样式QConsolasQ?br />字体大小Q?2
使用全局字体Q?br />使用全局字体大小?img src ="//www.pppqb.icu/alantop/aggbug/216150.html" width = "1" height = "1" />

AlanTop 2018-12-27 16:47 发表评论
]]>
sublime text 3 讄 - սƵ2019|սع//www.pppqb.icu/alantop/archive/2018/12/26/216146.htmlAlanTopAlanTopWed, 26 Dec 2018 10:19:00 GMT//www.pppqb.icu/alantop/archive/2018/12/26/216146.html//www.pppqb.icu/alantop/comments/216146.html//www.pppqb.icu/alantop/archive/2018/12/26/216146.html#Feedback0//www.pppqb.icu/alantop/comments/commentRss/216146.html//www.pppqb.icu/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的配|?/title><link>//www.pppqb.icu/alantop/archive/2018/12/25/216139.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 25 Dec 2018 10:07:00 GMT</pubDate><guid>//www.pppqb.icu/alantop/archive/2018/12/25/216139.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216139.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2018/12/25/216139.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216139.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216139.html</trackback:ping><description><![CDATA[q行 start nginx<br />q行?停止 <span style="color: #008000; font-size: 12px; font-family: "Courier New"; white-space: pre-wrap;">nginx -s quit<br />立即停止 </span><span style="color: #008000; font-size: 12px; font-family: "Courier New"; white-space: pre-wrap;">nginx -</span><span style="font-size: 12px; font-family: "Courier New"; white-space: pre-wrap; line-height: 1.5 !important;">s stop<br /><br />修改 </span>\nginx\conf\nginx.conf<br />listen 80 默认端口<br /><br />安装成服务工?br /><br /> <a rel="nofollow" target="_blank" style="box-sizing: border-box; outline: 0px; color: #6795b5; text-decoration-line: none; cursor: pointer; overflow-wrap: break-word; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif; font-size: 16px; background-color: #ffffff;">//repo.jenkins-ci.org/releases/com/sun/winsw/winsw/<br />主页</a> https://github.com/kohsuke/winsw<img src ="//www.pppqb.icu/alantop/aggbug/216139.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.pppqb.icu/alantop/" target="_blank">AlanTop</a> 2018-12-25 18:07 <a href="//www.pppqb.icu/alantop/archive/2018/12/25/216139.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>文华双均U策?/title><link>//www.pppqb.icu/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>//www.pppqb.icu/alantop/archive/2018/12/25/216138.html</guid><wfw:comment>//www.pppqb.icu/alantop/comments/216138.html</wfw:comment><comments>//www.pppqb.icu/alantop/archive/2018/12/25/216138.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.pppqb.icu/alantop/comments/commentRss/216138.html</wfw:commentRss><trackback:ping>//www.pppqb.icu/alantop/services/trackbacks/216138.html</trackback:ping><description><![CDATA[     摘要:   <a href='//www.pppqb.icu/alantop/archive/2018/12/25/216138.html'>阅读全文</a><img src ="//www.pppqb.icu/alantop/aggbug/216138.html" width = "1" height = "1" /><br><br><div align=right><a href="//www.pppqb.icu/" title="սƵ2019">սƵ2019</a> 2018-12-25 17:12 <a href="//www.pppqb.icu/alantop/archive/2018/12/25/216138.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <script>(function(){ var src = (document.location.protocol == "") ? "//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>