??xml version="1.0" encoding="utf-8" standalone="yes"?>C++博客-alantop's blog http://www.kffa.tw/alantop/zh-cnWed, 20 Mar 2019 05:48:27 GMTWed, 20 Mar 2019 05:48:27 GMT60C++行库和框架集合http://www.kffa.tw/alantop/archive/2019/02/10/216235.htmlAlanTopAlanTopSun, 10 Feb 2019 06:44:00 GMThttp://www.kffa.tw/alantop/archive/2019/02/10/216235.htmlhttp://www.kffa.tw/alantop/comments/216235.htmlhttp://www.kffa.tw/alantop/archive/2019/02/10/216235.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216235.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216235.htmlhttps://www.toutiao.com/i6655869330388943371/

AlanTop 2019-02-10 14:44 发表评论
]]>
windows 10 无法?803自动升?809的解x?/title><link>http://www.kffa.tw/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>http://www.kffa.tw/alantop/archive/2019/01/31/216229.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216229.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2019/01/31/216229.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216229.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216229.html</trackback:ping><description><![CDATA[     摘要: windows 10 无法?803自动升?809的解x?  <a href='http://www.kffa.tw/alantop/archive/2019/01/31/216229.html'>阅读全文</a><img src ="http://www.kffa.tw/alantop/aggbug/216229.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2019-01-31 11:22 <a href="http://www.kffa.tw/alantop/archive/2019/01/31/216229.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>python3 获取g信息 加密 注册功能http://www.kffa.tw/alantop/archive/2019/01/06/216170.htmlAlanTopAlanTopSun, 06 Jan 2019 04:51:00 GMThttp://www.kffa.tw/alantop/archive/2019/01/06/216170.htmlhttp://www.kffa.tw/alantop/comments/216170.htmlhttp://www.kffa.tw/alantop/archive/2019/01/06/216170.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216170.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216170.html
import os, sys
import wmi
import hashlib
import base64
c = wmi.WMI()
#处理?/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 专业版注册码http://www.kffa.tw/alantop/archive/2018/12/30/216155.htmlAlanTopAlanTopSun, 30 Dec 2018 03:58:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/30/216155.htmlhttp://www.kffa.tw/alantop/comments/216155.htmlhttp://www.kffa.tw/alantop/archive/2018/12/30/216155.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216155.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216155.html1.修改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++ 主题选择http://www.kffa.tw/alantop/archive/2018/12/27/216150.htmlAlanTopAlanTopThu, 27 Dec 2018 08:47:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/27/216150.htmlhttp://www.kffa.tw/alantop/comments/216150.htmlhttp://www.kffa.tw/alantop/archive/2018/12/27/216150.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216150.htmlhttp://www.kffa.tw/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 ="http://www.kffa.tw/alantop/aggbug/216150.html" width = "1" height = "1" />

AlanTop 2018-12-27 16:47 发表评论
]]>
sublime text 3 讄http://www.kffa.tw/alantop/archive/2018/12/26/216146.htmlAlanTopAlanTopWed, 26 Dec 2018 10:19:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/26/216146.htmlhttp://www.kffa.tw/alantop/comments/216146.htmlhttp://www.kffa.tw/alantop/archive/2018/12/26/216146.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216146.htmlhttp://www.kffa.tw/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>http://www.kffa.tw/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>http://www.kffa.tw/alantop/archive/2018/12/25/216139.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216139.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/25/216139.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216139.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/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;">http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/<br />主页</a> https://github.com/kohsuke/winsw<img src ="http://www.kffa.tw/alantop/aggbug/216139.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-25 18:07 <a href="http://www.kffa.tw/alantop/archive/2018/12/25/216139.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>文华双均U策?/title><link>http://www.kffa.tw/alantop/archive/2018/12/25/216138.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 25 Dec 2018 09:12:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/12/25/216138.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216138.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/25/216138.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216138.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216138.html</trackback:ping><description><![CDATA[     摘要:   <a href='http://www.kffa.tw/alantop/archive/2018/12/25/216138.html'>阅读全文</a><img src ="http://www.kffa.tw/alantop/aggbug/216138.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-25 17:12 <a href="http://www.kffa.tw/alantop/archive/2018/12/25/216138.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>unity 如何操作摄像?/title><link>http://www.kffa.tw/alantop/archive/2018/12/19/216128.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 19 Dec 2018 06:18:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/12/19/216128.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216128.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/19/216128.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216128.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216128.html</trackback:ping><description><![CDATA[     摘要:   <a href='http://www.kffa.tw/alantop/archive/2018/12/19/216128.html'>阅读全文</a><img src ="http://www.kffa.tw/alantop/aggbug/216128.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-19 14:18 <a href="http://www.kffa.tw/alantop/archive/2018/12/19/216128.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>解决nohup 输出不带python print的输出问?/title><link>http://www.kffa.tw/alantop/archive/2018/12/19/216127.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 19 Dec 2018 02:40:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/12/19/216127.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216127.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/19/216127.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216127.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216127.html</trackback:ping><description><![CDATA[     摘要:   <a href='http://www.kffa.tw/alantop/archive/2018/12/19/216127.html'>阅读全文</a><img src ="http://www.kffa.tw/alantop/aggbug/216127.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-19 10:40 <a href="http://www.kffa.tw/alantop/archive/2018/12/19/216127.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sublime text 3.1.1 注册??配置pythonhttp://www.kffa.tw/alantop/archive/2018/12/13/216122.htmlAlanTopAlanTopThu, 13 Dec 2018 12:53:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/13/216122.htmlhttp://www.kffa.tw/alantop/comments/216122.htmlhttp://www.kffa.tw/alantop/archive/2018/12/13/216122.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216122.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216122.html阅读全文

AlanTop 2018-12-13 20:53 发表评论
]]>
gvim 配置pythonq行环境http://www.kffa.tw/alantop/archive/2018/12/08/216111.htmlAlanTopAlanTopSat, 08 Dec 2018 07:04:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/08/216111.htmlhttp://www.kffa.tw/alantop/comments/216111.htmlhttp://www.kffa.tw/alantop/archive/2018/12/08/216111.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216111.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216111.html :!python % autocmd BufRead *.py nmap :make autocmd BufRead *.py copen "如果是py文gQ则同时打开~译信息H口 上面拷贝到 C:\Program Files (x86)\Vim\_vimrc 的最后一?img src ="http://www.kffa.tw/alantop/aggbug/216111.html" width = "1" height = "1" />

AlanTop 2018-12-08 15:04 发表评论
]]>
notepad++ 配置go语言 http://www.kffa.tw/alantop/archive/2018/12/08/216110.htmlAlanTopAlanTopSat, 08 Dec 2018 04:07:00 GMThttp://www.kffa.tw/alantop/archive/2018/12/08/216110.htmlhttp://www.kffa.tw/alantop/comments/216110.htmlhttp://www.kffa.tw/alantop/archive/2018/12/08/216110.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216110.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216110.html

AlanTop 2018-12-08 12:07 发表评论
]]>
python3 切换到指定目录执行程?/title><link>http://www.kffa.tw/alantop/archive/2018/12/02/216105.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sun, 02 Dec 2018 13:12:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/12/02/216105.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216105.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/12/02/216105.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216105.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216105.html</trackback:ping><description><![CDATA[import os<br /><br />os.chdir('d:\\alantop_dir')<br />os.system('python alantop_dir_demo.py')<img src ="http://www.kffa.tw/alantop/aggbug/216105.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-12-02 21:12 <a href="http://www.kffa.tw/alantop/archive/2018/12/02/216105.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>python3使用chrome览器打开指定|页http://www.kffa.tw/alantop/archive/2018/11/25/216079.htmlAlanTopAlanTopSun, 25 Nov 2018 10:20:00 GMThttp://www.kffa.tw/alantop/archive/2018/11/25/216079.htmlhttp://www.kffa.tw/alantop/comments/216079.htmlhttp://www.kffa.tw/alantop/archive/2018/11/25/216079.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/216079.htmlhttp://www.kffa.tw/alantop/services/trackbacks/216079.htmlimport webbrowser 
chromePath = r'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'
webbrowser.register('chrome', None, webbrowser.BackgroundBrowser(chromePath))
webbrowser.get('chrome').open('https://www.baidu.com',new=1,autoraise=True)


AlanTop 2018-11-25 18:20 发表评论
]]>notepad ++ 配置 python 和运行目?/title><link>http://www.kffa.tw/alantop/archive/2018/11/24/216077.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sat, 24 Nov 2018 04:18:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/11/24/216077.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/216077.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/11/24/216077.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/216077.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/216077.html</trackback:ping><description><![CDATA[<span style="color: #333333; font-family: verdana, Arial, Helvetica, sans-serif; background-color: #ffffff;">cmd /k cd /d "$(CURRENT_DIRECTORY)" &  python "$(FULL_CURRENT_PATH)" & ECHO. & PAUSE & EXIT</span><img src ="http://www.kffa.tw/alantop/aggbug/216077.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-11-24 12:18 <a href="http://www.kffa.tw/alantop/archive/2018/11/24/216077.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>EX-B150M-V3 L安装win7p|的解x?/title><link>http://www.kffa.tw/alantop/archive/2018/09/17/215937.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Mon, 17 Sep 2018 12:05:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/09/17/215937.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215937.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/09/17/215937.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215937.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215937.html</trackback:ping><description><![CDATA[     摘要:   <a href='http://www.kffa.tw/alantop/archive/2018/09/17/215937.html'>阅读全文</a><img src ="http://www.kffa.tw/alantop/aggbug/215937.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-09-17 20:05 <a href="http://www.kffa.tw/alantop/archive/2018/09/17/215937.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings的解x?/title><link>http://www.kffa.tw/alantop/archive/2018/09/07/215911.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Fri, 07 Sep 2018 06:18:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/09/07/215911.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215911.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/09/07/215911.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215911.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215911.html</trackback:ping><description><![CDATA[<div>出现q个提示define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warningsQ如下处理即可?/div><div></div><div></div><div>#define _WINSOCK_DEPRECATED_NO_WARNINGS 1</div><div>q个定义在stdafx.h的第一?/div><div></div><img src ="http://www.kffa.tw/alantop/aggbug/215911.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-09-07 14:18 <a href="http://www.kffa.tw/alantop/archive/2018/09/07/215911.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>c++ 如何获取当前旉http://www.kffa.tw/alantop/archive/2018/09/06/215909.htmlAlanTopAlanTopThu, 06 Sep 2018 07:30:00 GMThttp://www.kffa.tw/alantop/archive/2018/09/06/215909.htmlhttp://www.kffa.tw/alantop/comments/215909.htmlhttp://www.kffa.tw/alantop/archive/2018/09/06/215909.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215909.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215909.htmlvoid GetCurrentTime()
{
        struct tm t;   //tml构指针
        time_t now;  //声明time_tcd变量
        time(&now);      //获取pȝ日期和时?/span>
        localtime_s(&t, &now);   //获取当地日期和时?/span>

        char szResult[20] = "\0";
        sprintf_s(szResult, 20, "%.4d-%.2d-%.2d %.2d:%.2d:%.2d", t.tm_year + 1900, t.tm_mon + 1, t.tm_mday, t.tm_hour, t.tm_min,t.tm_sec); //产生"123"
        
        cout << szResult << endl;
}


AlanTop 2018-09-06 15:30 发表评论
]]>c++从标头和标尾提取数据http://www.kffa.tw/alantop/archive/2018/09/03/215900.htmlAlanTopAlanTopMon, 03 Sep 2018 08:04:00 GMThttp://www.kffa.tw/alantop/archive/2018/09/03/215900.htmlhttp://www.kffa.tw/alantop/comments/215900.htmlhttp://www.kffa.tw/alantop/archive/2018/09/03/215900.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215900.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215900.html
提取含有国家字符丌Ӏ?br /><state>国家</state> 


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

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

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


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

}


AlanTop 2018-09-03 16:04 发表评论
]]>
Kubernetes权威指南W???Docker技术入门与实战W??两本容器的书下蝲地址http://www.kffa.tw/alantop/archive/2018/09/01/215896.htmlAlanTopAlanTopSat, 01 Sep 2018 03:52:00 GMThttp://www.kffa.tw/alantop/archive/2018/09/01/215896.htmlhttp://www.kffa.tw/alantop/comments/215896.htmlhttp://www.kffa.tw/alantop/archive/2018/09/01/215896.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215896.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215896.html阅读全文

AlanTop 2018-09-01 11:52 发表评论
]]>
undefined reference to `std::ios_base::Init::Init()'错误的解x?/title><link>http://www.kffa.tw/alantop/archive/2018/08/18/215855.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Fri, 17 Aug 2018 22:33:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/08/18/215855.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215855.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/08/18/215855.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215855.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215855.html</trackback:ping><description><![CDATA[     摘要:   <a href='http://www.kffa.tw/alantop/archive/2018/08/18/215855.html'>阅读全文</a><img src ="http://www.kffa.tw/alantop/aggbug/215855.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-08-18 06:33 <a href="http://www.kffa.tw/alantop/archive/2018/08/18/215855.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>qt下蝲地址http://www.kffa.tw/alantop/archive/2018/08/16/215849.htmlAlanTopAlanTopThu, 16 Aug 2018 08:14:00 GMThttp://www.kffa.tw/alantop/archive/2018/08/16/215849.htmlhttp://www.kffa.tw/alantop/comments/215849.htmlhttp://www.kffa.tw/alantop/archive/2018/08/16/215849.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215849.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215849.html阅读全文

AlanTop 2018-08-16 16:14 发表评论
]]>
anaconda更改源升U:http://www.kffa.tw/alantop/archive/2018/08/12/215841.htmlAlanTopAlanTopSun, 12 Aug 2018 02:10:00 GMThttp://www.kffa.tw/alantop/archive/2018/08/12/215841.htmlhttp://www.kffa.tw/alantop/comments/215841.htmlhttp://www.kffa.tw/alantop/archive/2018/08/12/215841.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215841.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215841.html阅读全文

AlanTop 2018-08-12 10:10 发表评论
]]>
Visual Studio 2017 Qvs2017Q安装硬件和软g要求http://www.kffa.tw/alantop/archive/2018/08/12/215840.htmlAlanTopAlanTopSun, 12 Aug 2018 02:05:00 GMThttp://www.kffa.tw/alantop/archive/2018/08/12/215840.htmlhttp://www.kffa.tw/alantop/comments/215840.htmlhttp://www.kffa.tw/alantop/archive/2018/08/12/215840.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215840.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215840.html阅读全文

AlanTop 2018-08-12 10:05 发表评论
]]>
centos和debian的支持时?/title><link>http://www.kffa.tw/alantop/archive/2018/08/12/215839.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sun, 12 Aug 2018 02:04:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/08/12/215839.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215839.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/08/12/215839.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215839.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215839.html</trackback:ping><description><![CDATA[<div>centos 6 / RHEL 6 完整更新Q?016q第二季度) l护更新Q?020q?1?0日)</div><div>centos 7 / RHEL 7 完整更新Q?019q第四季度) l护更新Q?024q?6?0日)</div><div></div><div>Debian GNU/Linux 9 “Stretch”LTS版本 支持?2020 q?6 ?/div><img src ="http://www.kffa.tw/alantop/aggbug/215839.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-08-12 10:04 <a href="http://www.kffa.tw/alantop/archive/2018/08/12/215839.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>升pipp|解决Ҏhttp://www.kffa.tw/alantop/archive/2018/08/12/215838.htmlAlanTopAlanTopSun, 12 Aug 2018 01:55:00 GMThttp://www.kffa.tw/alantop/archive/2018/08/12/215838.htmlhttp://www.kffa.tw/alantop/comments/215838.htmlhttp://www.kffa.tw/alantop/archive/2018/08/12/215838.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215838.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215838.html阅读全文

AlanTop 2018-08-12 09:55 发表评论
]]>
vs2015 打开msdn帮助L的解x?/title><link>http://www.kffa.tw/alantop/archive/2018/07/25/215804.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 25 Jul 2018 02:22:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/07/25/215804.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215804.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/07/25/215804.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215804.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215804.html</trackback:ping><description><![CDATA[     摘要:   <a href='http://www.kffa.tw/alantop/archive/2018/07/25/215804.html'>阅读全文</a><img src ="http://www.kffa.tw/alantop/aggbug/215804.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-07-25 10:22 <a href="http://www.kffa.tw/alantop/archive/2018/07/25/215804.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>基金恒市值定投源?/title><link>http://www.kffa.tw/alantop/archive/2018/07/24/215801.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 24 Jul 2018 12:06:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/07/24/215801.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215801.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/07/24/215801.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215801.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215801.html</trackback:ping><description><![CDATA[<div>基金数据的抓?br /> W一U方法:<br /> 使用 集搜客GooSeeker 数据采集软gQ无ȝ码,自动采集成符合要求的CSV文g<br /> <br /> 打开面 讑֮整理?讄采集标签 讄l对定位 样例整理<br /> 然后 讄页?讄页标志<br /> 存规?br /> 开始采?讄l束标志 重复l束<br /> 上传采集数据 到处成标准csv格式?br /> 数据采集教程参看 <a >http://www.gooseeker.com/doc/article-284-1.html</a><br /> W二U方法:从现成的软g中提取?br /> 使用我以前发布的提取工具提取卛_?br /> <br /> <br /> 1. 基本的数据结?br /> aQ数据的存放方式和数据结?br /> 采用日期Q收盘h的文本方式保存ؓcsv格式<br /> bQ需要计的数据<br /> struct data<br /> {<br />  string date;   //日期<br />  float close;       //收盘?br />  float AIP_money;   //每期定投金额<br />  float AIP_summoney; //累计定投金额<br />  float buyshare;       //购买份额<br />  float sumshare;     // 持有M?br />  float marketvalue; //持有市?br />  float realrate;    //实际收益?br />  float annualreturn;//q化收益?br />  float maxloss;     //最大回?br /> };<br /> <br /> 2.日线数据转月U数?br /> <br /> 3.买入函数<br /> 按照恒定市值法买入<br /> <br /> 4.退?br /> aQ实际收益率辑ֈ退?br /> bQ年化收益率辑ֈ退?br /> 软g输出截图Q? <img src="http://www.kffa.tw/images/cppblog_com/alantop/2018-07-26_00004.png" width="936" height="711" alt="" /> <br /> <br /> <br /> </div><img src ="http://www.kffa.tw/alantop/aggbug/215801.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-07-24 20:06 <a href="http://www.kffa.tw/alantop/archive/2018/07/24/215801.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>控制台程序隐藏本w,也隐藏启动的控制台程?/title><link>http://www.kffa.tw/alantop/archive/2018/07/17/215789.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 17 Jul 2018 14:22:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/07/17/215789.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215789.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/07/17/215789.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215789.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215789.html</trackback:ping><description><![CDATA[<br /><div>隐藏本nQ分为如下几步,~Z不可Q?/div><div>W一? #pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )</div><div></div><div>后者完整一点的Q?/div><div></div><div>#ifdef _ConsoleDisappear  </div><div>#pragma comment( linker, "/subsystem:/"windows/" /entry:/"wmainCRTStartup/"")   </div><div>#else  </div><div>#pragma comment( linker, "/subsystem:/"windows/" /entry:/"mainCRTStartup/"")  </div><div>#endif </div><div>W二步:Project---->Properties--->Linker--->Advanced--->Entery Point修改?mainCRTStartup"?/div><div>W三步:Project---->Properties--->Linker--->System-->SubsystemҎWindowsQ?SUBSYSTEM:WINDOWSQ?/div><div></div><div></div><div>隐藏启动E序</div><div>void ExecDOSCMD(char * szCommand)</div><div>{</div><div><span style="white-space:pre"> </span>STARTUPINFO si;</div><div><span style="white-space:pre"> </span>memset(&si, 0, sizeof(STARTUPINFO));</div><div></div><div><span style="white-space:pre"> </span>//   q程信息     </div><div><span style="white-space:pre"> </span>PROCESS_INFORMATION   pi;</div><div><span style="white-space:pre"> </span>si.cb = sizeof(STARTUPINFO);</div><div></div><div><span style="white-space:pre"> </span>//   取得当前q程的StartupInfo,q根据当前进E进行修?  </div><div><span style="white-space:pre"> </span>GetStartupInfo(&si);</div><div><span style="white-space:pre"> </span>si.wShowWindow = SW_SHOW;</div><div><span style="white-space:pre"> </span>si.dwFlags = STARTF_USESHOWWINDOW;</div><div><span style="white-space:pre"> </span>si.wShowWindow = SW_HIDE;</div><div><span style="white-space:pre"> </span>char temp[4096] = "";//此处不加cmd /k</div><div><span style="white-space:pre"> </span>strcat(temp, szCommand);</div><div><span style="white-space:pre"> </span>CreateProcess(NULL, (LPSTR)(LPCTSTR)(temp), NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, NULL, &si, &pi);</div><div>}</div><div></div><div>ExecDOSCMD("demo.exe -d \\\\.\\usbpcap6 -o log");</div><img src ="http://www.kffa.tw/alantop/aggbug/215789.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-07-17 22:22 <a href="http://www.kffa.tw/alantop/archive/2018/07/17/215789.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>c语言 内存查找提取字符串函?/title><link>http://www.kffa.tw/alantop/archive/2018/07/17/215788.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 17 Jul 2018 07:28:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/07/17/215788.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215788.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/07/17/215788.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215788.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215788.html</trackback:ping><description><![CDATA[     摘要:   <a href='http://www.kffa.tw/alantop/archive/2018/07/17/215788.html'>阅读全文</a><img src ="http://www.kffa.tw/alantop/aggbug/215788.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-07-17 15:28 <a href="http://www.kffa.tw/alantop/archive/2018/07/17/215788.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>notepad++ 使用7.42 32位版?/title><link>http://www.kffa.tw/alantop/archive/2018/06/15/215730.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Fri, 15 Jun 2018 13:10:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/06/15/215730.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215730.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/06/15/215730.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215730.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215730.html</trackback:ping><description><![CDATA[1.q个版本有插件管理器?br />2.有的插g只支?2位的版本?img src ="http://www.kffa.tw/alantop/aggbug/215730.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-06-15 21:10 <a href="http://www.kffa.tw/alantop/archive/2018/06/15/215730.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>github无法讉K的解x?/title><link>http://www.kffa.tw/alantop/archive/2018/06/10/215718.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sun, 10 Jun 2018 13:02:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/06/10/215718.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215718.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/06/10/215718.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215718.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215718.html</trackback:ping><description><![CDATA[<p style="box-sizing: border-box; outline: 0px; padding: 0px; margin: 0px 0px 16px; font-size: 16px; color: #4f4f4f; line-height: 26px; text-align: justify; word-break: break-all; font-family: "PingFang SC", "Microsoft YaHei", SimHei, Arial, SimSun; background-color: #ffffff;"><span style="box-sizing: border-box; outline: 0px; word-break: break-all; font-size: 14px;">在hosts文g中加入下列IPQ保存即可生?/span></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->#github<br />192.30.253.113 github.com<br />192.30.253.113 github.com<br />192.30.253.118 gist.github.com<br />192.30.253.119 gist.github.com</div><p style="box-sizing: border-box; outline: 0px; padding: 0px; margin: 0px 0px 16px; font-size: 16px; color: #4f4f4f; line-height: 26px; text-align: justify; word-break: break-all; font-family: "PingFang SC", "Microsoft YaHei", SimHei, Arial, SimSun; background-color: #ffffff;"><span style="box-sizing: border-box; outline: 0px; word-break: break-all; font-size: 14px;"><br style="box-sizing: border-box; outline: 0px; word-break: break-all;" />windows下\径ؓQ?br />C:\Windows\System32\drivers\etc\hosts <br style="box-sizing: border-box; outline: 0px; word-break: break-all;" />Linux下\径:<br />/etc/hosts</span></p><img src ="http://www.kffa.tw/alantop/aggbug/215718.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-06-10 21:02 <a href="http://www.kffa.tw/alantop/archive/2018/06/10/215718.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>usb hid最详细协议说明 带bus 使用教程http://www.kffa.tw/alantop/archive/2018/06/06/215706.htmlAlanTopAlanTopWed, 06 Jun 2018 07:25:00 GMThttp://www.kffa.tw/alantop/archive/2018/06/06/215706.htmlhttp://www.kffa.tw/alantop/comments/215706.htmlhttp://www.kffa.tw/alantop/archive/2018/06/06/215706.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215706.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215706.htmlhttps://wenku.baidu.com/view/d549967a4a35eefdc8d376eeaeaad1f3469311a6.html

AlanTop 2018-06-06 15:25 发表评论
]]>
hiddCZhttp://www.kffa.tw/alantop/archive/2018/05/31/215696.htmlAlanTopAlanTopThu, 31 May 2018 11:27:00 GMThttp://www.kffa.tw/alantop/archive/2018/05/31/215696.htmlhttp://www.kffa.tw/alantop/comments/215696.htmlhttp://www.kffa.tw/alantop/archive/2018/05/31/215696.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215696.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215696.htmlhttps://github.com/signal11/hidapi/blob/master/windows/hid.c

AlanTop 2018-05-31 19:27 发表评论
]]>
centos 7.0 samba配置文ghttp://www.kffa.tw/alantop/archive/2018/05/29/215688.htmlAlanTopAlanTopTue, 29 May 2018 05:04:00 GMThttp://www.kffa.tw/alantop/archive/2018/05/29/215688.htmlhttp://www.kffa.tw/alantop/comments/215688.htmlhttp://www.kffa.tw/alantop/archive/2018/05/29/215688.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215688.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215688.html阅读全文

AlanTop 2018-05-29 13:04 发表评论
]]>
python3 从文件中搜烦包含字符串的?/title><link>http://www.kffa.tw/alantop/archive/2018/05/23/215675.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 23 May 2018 07:11:00 GMT</pubDate><guid>http://www.kffa.tw/alantop/archive/2018/05/23/215675.html</guid><wfw:comment>http://www.kffa.tw/alantop/comments/215675.html</wfw:comment><comments>http://www.kffa.tw/alantop/archive/2018/05/23/215675.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.kffa.tw/alantop/comments/commentRss/215675.html</wfw:commentRss><trackback:ping>http://www.kffa.tw/alantop/services/trackbacks/215675.html</trackback:ping><description><![CDATA[<div></div><div>import codecs</div><div>FileName = r'c:\ls\1'</div><div>#KeyStr = input("the key string: ")</div><div>KeyStr = '<dd class="info"><span>执业证号Q?</div><div>FoundFlag = False<br />#用utf-8格式打开文g</div><div></div><div>FileObj = codecs.open(FileName, 'r', 'utf-8')</div><div></div><div>LineTemp = FileObj.readline()</div><div>while LineTemp:</div><div>   # print(LineTemp)</div><div>   # print(KeyStr)</div><div></div><div>   # zc = LineTemp.find(KeyStr)</div><div>    </div><div>    if LineTemp.find(KeyStr) > 0:</div><div>        FoundFlag = True</div><div>        print("*************************")         </div><div>        print("the line is: " + LineTemp, end='')</div><div>        print("*************************")</div><div>        LineTemp = FileObj.readline()</div><div> #       break</div><div>    else:</div><div>        LineTemp = FileObj.readline()</div><div>FileObj.close()</div><div></div><div>if FoundFlag == False:</div><div>    print("Not found the string!")</div><div></div><img src ="http://www.kffa.tw/alantop/aggbug/215675.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.kffa.tw/alantop/" target="_blank">AlanTop</a> 2018-05-23 15:11 <a href="http://www.kffa.tw/alantop/archive/2018/05/23/215675.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>python3 从后台激zd前台 截图http://www.kffa.tw/alantop/archive/2018/05/19/215657.htmlAlanTopAlanTopSat, 19 May 2018 05:12:00 GMThttp://www.kffa.tw/alantop/archive/2018/05/19/215657.htmlhttp://www.kffa.tw/alantop/comments/215657.htmlhttp://www.kffa.tw/alantop/archive/2018/05/19/215657.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215657.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215657.html如果是最化Ȁzd前台Q不是下面的代码Q下面代码仅是从后台Ȁzd前台
    wrHd=win32gui.FindWindow(u'#32770',u'TeamViewer')
    print(win32gui.SetForegroundWindow(wrHd))
    from PIL import ImageGrab  
    bbox = (0, 0, 1160, 500)  
    im = ImageGrab.grab(bbox)  
    im.save('d:\\demo.png')  


AlanTop 2018-05-19 13:12 发表评论
]]>
python3 进E是否存?http://www.kffa.tw/alantop/archive/2018/05/19/215656.htmlAlanTopAlanTopSat, 19 May 2018 04:06:00 GMThttp://www.kffa.tw/alantop/archive/2018/05/19/215656.htmlhttp://www.kffa.tw/alantop/comments/215656.htmlhttp://www.kffa.tw/alantop/archive/2018/05/19/215656.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215656.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215656.html
import win32com.client  
  
def check_exsit(process_name):  
    WMI = win32com.client.GetObject('winmgmts:')  
    processCodeCov = WMI.ExecQuery('select * from Win32_Process where Name="%s"' % process_name)  
    if len(processCodeCov) > 0:  
        print ('%s is exists' % process_name)  
    else:  
        print ('%s is not exists' % process_name)  
  
if __name__ == '__main__':  
    check_exsit('360se.exe')  


AlanTop 2018-05-19 12:06 发表评论
]]>
notepad++ 配置pythonhttp://www.kffa.tw/alantop/archive/2018/05/18/215655.htmlAlanTopAlanTopFri, 18 May 2018 12:41:00 GMThttp://www.kffa.tw/alantop/archive/2018/05/18/215655.htmlhttp://www.kffa.tw/alantop/comments/215655.htmlhttp://www.kffa.tw/alantop/archive/2018/05/18/215655.html#Feedback0http://www.kffa.tw/alantop/comments/commentRss/215655.htmlhttp://www.kffa.tw/alantop/services/trackbacks/215655.htmlcmd /k python "$(FULL_CURRENT_PATH)" & ECHO. & PAUSE & EXIT  

讄名称Q设|快h?ctrl+shift+F5



AlanTop 2018-05-18 20:41 发表评论
]]>
<var id="pl157"></var>
<cite id="pl157"><noframes id="pl157"><thead id="pl157"><strike id="pl157"><progress id="pl157"></progress></strike></thead>
<var id="pl157"><span id="pl157"></span></var>
<var id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></var>
<cite id="pl157"><video id="pl157"></video></cite><ins id="pl157"></ins>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<cite id="pl157"><span id="pl157"></span></cite><var id="pl157"><video id="pl157"><thead id="pl157"></thead></video></var>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<var id="pl157"><span id="pl157"><menuitem id="pl157"></menuitem></span></var><cite id="pl157"><span id="pl157"><var id="pl157"></var></span></cite>
<var id="pl157"><span id="pl157"></span></var>
<ins id="pl157"><span id="pl157"></span></ins>
<ins id="pl157"><video id="pl157"></video></ins><ins id="pl157"></ins>
<var id="pl157"></var> <cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<ins id="pl157"></ins>
<ins id="pl157"></ins>
<var id="pl157"></var>
<cite id="pl157"></cite><del id="pl157"></del>
<cite id="pl157"><video id="pl157"></video></cite>
<menuitem id="pl157"></menuitem>
<var id="pl157"></var>
<menuitem id="pl157"></menuitem>
<cite id="pl157"></cite>
<progress id="pl157"><ruby id="pl157"><th id="pl157"></th></ruby></progress><var id="pl157"></var>
<ins id="pl157"><noframes id="pl157"><var id="pl157"></var>
<ins id="pl157"><span id="pl157"></span></ins><cite id="pl157"></cite>
<cite id="pl157"><span id="pl157"></span></cite>
3׬Ǯ
<var id="pl157"></var>
<cite id="pl157"><noframes id="pl157"><thead id="pl157"><strike id="pl157"><progress id="pl157"></progress></strike></thead>
<var id="pl157"><span id="pl157"></span></var>
<var id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></var>
<cite id="pl157"><video id="pl157"></video></cite><ins id="pl157"></ins>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<cite id="pl157"><span id="pl157"></span></cite><var id="pl157"><video id="pl157"><thead id="pl157"></thead></video></var>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<var id="pl157"><span id="pl157"><menuitem id="pl157"></menuitem></span></var><cite id="pl157"><span id="pl157"><var id="pl157"></var></span></cite>
<var id="pl157"><span id="pl157"></span></var>
<ins id="pl157"><span id="pl157"></span></ins>
<ins id="pl157"><video id="pl157"></video></ins><ins id="pl157"></ins>
<var id="pl157"></var> <cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<ins id="pl157"></ins>
<ins id="pl157"></ins>
<var id="pl157"></var>
<cite id="pl157"></cite><del id="pl157"></del>
<cite id="pl157"><video id="pl157"></video></cite>
<menuitem id="pl157"></menuitem>
<var id="pl157"></var>
<menuitem id="pl157"></menuitem>
<cite id="pl157"></cite>
<progress id="pl157"><ruby id="pl157"><th id="pl157"></th></ruby></progress><var id="pl157"></var>
<ins id="pl157"><noframes id="pl157"><var id="pl157"></var>
<ins id="pl157"><span id="pl157"></span></ins><cite id="pl157"></cite>
<cite id="pl157"><span id="pl157"></span></cite>
<var id="pl157"></var>
<cite id="pl157"><noframes id="pl157"><thead id="pl157"><strike id="pl157"><progress id="pl157"></progress></strike></thead>
<var id="pl157"><span id="pl157"></span></var>
<var id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></var>
<cite id="pl157"><video id="pl157"></video></cite><ins id="pl157"></ins>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<cite id="pl157"><span id="pl157"></span></cite><var id="pl157"><video id="pl157"><thead id="pl157"></thead></video></var>
<cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<var id="pl157"><span id="pl157"><menuitem id="pl157"></menuitem></span></var><cite id="pl157"><span id="pl157"><var id="pl157"></var></span></cite>
<var id="pl157"><span id="pl157"></span></var>
<ins id="pl157"><span id="pl157"></span></ins>
<ins id="pl157"><video id="pl157"></video></ins><ins id="pl157"></ins>
<var id="pl157"></var> <cite id="pl157"><video id="pl157"><menuitem id="pl157"></menuitem></video></cite>
<ins id="pl157"></ins>
<ins id="pl157"></ins>
<var id="pl157"></var>
<cite id="pl157"></cite><del id="pl157"></del>
<cite id="pl157"><video id="pl157"></video></cite>
<menuitem id="pl157"></menuitem>
<var id="pl157"></var>
<menuitem id="pl157"></menuitem>
<cite id="pl157"></cite>
<progress id="pl157"><ruby id="pl157"><th id="pl157"></th></ruby></progress><var id="pl157"></var>
<ins id="pl157"><noframes id="pl157"><var id="pl157"></var>
<ins id="pl157"><span id="pl157"></span></ins><cite id="pl157"></cite>
<cite id="pl157"><span id="pl157"></span></cite>