摘要:
软件去官网下载安装即可。 下载地址:https://www.charlesproxy.com/download/ 适用于Charles任意版本的注册码Charles 4.2.7 目前是最新版,可用。 Registered Name: https://zhile.ioLicense Key: 4889
阅读全文
posted @ 2019-09-24 11:32
anobscureretreat
阅读(425)
推荐(0)
摘要:
下载 库文件 参考: https://stackoverflow.com/questions/53355474/kivent-installation-fatal-error-lnk1181-cant-open-input-file-glew32-lib
阅读全文
posted @ 2019-09-22 20:06
anobscureretreat
阅读(534)
推荐(0)
摘要:
下载链接: https://sourceforge.net/project/downloading.php?group_id=67586&filename=glew-1.5.1-win32.zip 点击上面的链接下载最新的GLEW(支持OpenGL 3.0),解压,将 /bin/glew32.dll
阅读全文
posted @ 2019-09-22 20:05
anobscureretreat
阅读(1978)
推荐(0)
摘要:
#在当前测试类的开始与结束执行。 setup_class teardown_class #在每个测试方法开始与结束执行。 setup teardown #在每个测试方法开始与结束执行,与setup/treadown级别相同 setup_method teardown_method 参考: https://github.com/ftobia/pytest-ordering https://pytes
阅读全文
posted @ 2019-09-19 14:27
anobscureretreat
阅读(208)
推荐(0)
摘要:
C:\Users\leahj>C:\Users\leahj\AppData\Local\Programs\Python\Python36\Scripts\pip3 install cv2 Collecting cv2 Could not find a version that satisfies the requirement cv2 (from versions: ) No mat...
阅读全文
posted @ 2019-09-18 16:42
anobscureretreat
阅读(1635)
推荐(0)
摘要:
pytesseract.pytesseract.TesseractError: (1, 'Error opening data file /usr/local/share/tessdata/chi_sim.traineddata Please make sure the TESSDATA_PREFI
阅读全文
posted @ 2019-09-18 15:12
anobscureretreat
阅读(6395)
推荐(0)
摘要:
安装 tesseractbrew install tesseract 加入环境变量export TESSDATA_PREFIX=/usr/local/Cellar/tesseract/4.1.0/share/tessdata 查看安装位置bogon:verify macname$ brew list
阅读全文
posted @ 2019-09-18 14:59
anobscureretreat
阅读(1192)
推荐(0)
摘要:
def getdecrype(l): a=29 length="" while(1): if(l[a]=="x"): break else: length+=l[a] a+=1 hexnum="" for i in length: h...
阅读全文
posted @ 2019-09-18 14:10
anobscureretreat
阅读(686)
推荐(0)
摘要:
#include <iostream> using namespace std; struct Student{ Student(char *name, int age, float score); void show(); char *m_name; int m_age; float m_score; }; Student::Student(char *name, int age, float
阅读全文
posted @ 2019-09-17 19:27
anobscureretreat
阅读(283)
推荐(0)
摘要:
#include <iostream> using namespace std; class Address; //提前声明Address类 //声明Student类 class Student{ public: Student(char *name, int age, float score); public: void show(Address *addr); private: char *m
阅读全文
posted @ 2019-09-17 19:22
anobscureretreat
阅读(375)
推荐(0)
摘要:
>>> import platform >>> platform.platform() 'Darwin-17.7.0-x86_64-i386-64bit' >>> platform.system() 'Darwin' >>> import platform >>> platform.system() 'Windows' >>> import platform >>> platform.system
阅读全文
posted @ 2019-09-17 18:17
anobscureretreat
阅读(1640)
推荐(0)
摘要:
参考:https://blog.csdn.net/sinat_21302587/article/details/65634124https://blog.csdn.net/qq_39620871/article/details/80732521https://blog.csdn.net/weixin
阅读全文
posted @ 2019-09-16 22:11
anobscureretreat
阅读(2566)
推荐(1)
摘要:
str = "www.runoob.com" print(str.upper()) # 把所有字符中的小写字母转换成大写字母 print(str.lower()) # 把所有字符中的大写字母转换成小写字母 print(str.capitalize()) # 把第一个字母转化为大写字母,其余小写 print(str.title()) # 把每个单词的第一个字母转化为大写,其余小写 输出 WWW.RU
阅读全文
posted @ 2019-09-16 22:10
anobscureretreat
阅读(6285)
推荐(0)
摘要:
原因 : 模型还未生成出来 , 此时你去检测的生成完毕的模型 , 模型呢 ? 还没生成 . 模型还没生成就引用了为什么不报错 ? 解决办法 : 当前情况不要以为是你的程序有 bug , 而是你的模型还没生成完毕 , OVER !
阅读全文
posted @ 2019-09-16 22:05
anobscureretreat
阅读(3552)
推荐(0)
posted @ 2019-09-16 22:04
anobscureretreat
阅读(564)
推荐(0)
摘要:
解决:使用tuple转换一次 one_hot_label[tuple(one_hot_index)] = 1.0
阅读全文
posted @ 2019-09-16 22:03
anobscureretreat
阅读(1208)
推荐(0)
摘要:
Content-disposition 是 MIME 协议的扩展,MIME 协议指示 MIME 用户代理如何显示附加的文件。Content-disposition其实可以控制用户请求所得的内容存为一个文件的时候提供一个默认的文件名,文件直接在浏览器上显示或者在访问时弹出文件下载对话框。Content
阅读全文
posted @ 2019-09-15 21:01
anobscureretreat
阅读(1372)
推荐(0)
摘要:
要是想一键启动的,这里有个封装版本的,上传到服务器,执行sh命令就能直接启动,也可以修改配置 链接:https://pan.baidu.com/s/1oVP5DrEQSV9hQmnF2bzM9A提取码:gjh8 1.必须将文件上传到服务器的/opt/目录下 2. 默认配置FileBrowser服务监
阅读全文
posted @ 2019-09-14 23:08
anobscureretreat
阅读(1535)
推荐(0)
摘要:
参考: https://www.jb51.net/article/128874.htm https://www.cnblogs.com/stubborn-donkey/p/7248618.html
阅读全文
posted @ 2019-09-14 21:59
anobscureretreat
阅读(4704)
推荐(0)
摘要:
获取select 选中的 text : $("#test").find("option:selected").text(); 获取select选中的 value: $("#test").val(); 获取select选中的索引: $("#test").get(0).selectedindex; 设置select: 设置select 选中的索引: ...
阅读全文
posted @ 2019-09-14 18:57
anobscureretreat
阅读(3047)
推荐(0)
摘要:
python2中进行Base64编码和解码 python3不太一样:因为3.x中字符都为unicode编码,而b64encode函数的参数为byte类型,所以必须先转码。
阅读全文
posted @ 2019-09-14 01:27
anobscureretreat
阅读(8613)
推荐(1)
摘要:
如果按照 .* 去匹配,最后会把 /edit/ 和 /delete/ 也匹配进去。 所以使用 [-\w+] 表示匹配 - 符号(短横线 hyphen),以及所有小写的英文字母。 参考: https://www.jianshu.com/p/8207b66db9ca https://www.cnblog
阅读全文
posted @ 2019-09-14 01:19
anobscureretreat
阅读(468)
推荐(0)
摘要:
使用python解密 参考: https://www.cnblogs.com/songzhixue/p/11253243.html https://www.cnblogs.com/chenglee/p/9037265.html https://www.cnblogs.com/sunyuweb/p/9
阅读全文
posted @ 2019-09-13 22:18
anobscureretreat
阅读(2445)
推荐(0)
摘要:
<!--引入外部文件的方式--> <script type="text/javascript" src="attack.js"></script> //attack.js 代码 function attackEnemy() { document.write("land on"); alert("re
阅读全文
posted @ 2019-09-11 00:25
anobscureretreat
阅读(22290)
推荐(0)
摘要:
test.css 在html中引入 参考: https://www.cnblogs.com/shenyf/p/8427143.html
阅读全文
posted @ 2019-09-11 00:13
anobscureretreat
阅读(166)
推荐(0)
摘要:
修改settings.py 静态文件配置 在settings.py文件目录中,添加文件view.py 在settings.py文件目录中,修改文件urls.py 可能会报错 说明接口函数少传了一个参数 参数: https://blog.csdn.net/geek_xiong/article/deta
阅读全文
posted @ 2019-09-11 00:02
anobscureretreat
阅读(1437)
推荐(0)
摘要:
#前进 driver.back() #后退 driver.forward() #刷新 driver.refresh() #退出 driver.quit() #获取所有 cookie cookies=driver.get_cookies() #删除所有 cookie 信息。 driver.delete_all_cookies() #获取cookie cookie=driver.ge...
阅读全文
posted @ 2019-09-10 21:24
anobscureretreat
阅读(226)
推荐(0)
摘要:
启动pydoc查看文档 python3 -m pydoc -p 6789 访问http://localhost:6789 或者查看官方文档:https://seleniumhq.github.io/selenium/docs/api/py/api.html
阅读全文
posted @ 2019-09-10 21:20
anobscureretreat
阅读(343)
推荐(0)
摘要:
chrome webdriver 下载 http://chromedriver.storage.googleapis.com/index.html?path=2.46/ or http://npm.taobao.org/mirrors/chromedriver/ 下载后把文件解压,然后放到本机chrome浏览器文件路径里 firefox webdriver https://github....
阅读全文
posted @ 2019-09-10 21:19
anobscureretreat
阅读(120)
推荐(0)
摘要:
#导入库 import pymysql #创建数据库 conn=pymysql.connect(host='localhost',port=3306,db='test',user='root',passwd='password',charset ='utf8') cur=conn.cursor() #查询原数据-----------------------------------------...
阅读全文
posted @ 2019-09-10 21:16
anobscureretreat
阅读(149)
推荐(0)
posted @ 2019-09-10 18:28
anobscureretreat
阅读(517)
推荐(0)
摘要:
# coding=utf-8 from Crypto.PublicKey import RSA from Crypto.Cipher import PKCS1_OAEP, PKCS1_v1_5 import base64 from urllib import parse import Crypto.Cipher.AES import Crypto.Random import os imp...
阅读全文
posted @ 2019-09-10 01:09
anobscureretreat
阅读(221)
推荐(0)
摘要:
To ssh://xxx.com:8022/test/project.git ! [remote rejected] master -> master (pre-receive hook declined)error: failed to push some refs to 'ssh://xxx.c
阅读全文
posted @ 2019-09-09 12:24
anobscureretreat
阅读(738)
推荐(0)
摘要:
图片 链接:https://pan.baidu.com/s/1jeFYO4e4_IYksQEXPD65pw 密码:mibt https://www.jb51.net/article/167577.htm
阅读全文
posted @ 2019-09-09 10:29
anobscureretreat
阅读(408)
推荐(0)
摘要:
#!/usr/bin/env python3# coding=utf-8# Author: yannanxiu"""create_rsa_key() - 创建RSA密钥my_encrypt_and_decrypt() - 加密解密测试"""from Cryptodome.PublicKey impo
阅读全文
posted @ 2019-09-09 10:27
anobscureretreat
阅读(1300)
推荐(0)
摘要:
print(int("54", 8))# 表示把8进制的54转换成十进制数并输出结果。# 8可以是2、8,10,16等进制数 https://www.cnblogs.com/aaronthon/p/9446048.html
阅读全文
posted @ 2019-09-09 10:25
anobscureretreat
阅读(365)
推荐(0)
摘要:
多个字符中选取特定数量的字符:>>> import randomrandom.sample('abcdefghij',3) ['a', 'd', 'b']多个字符中选取特定数量的字符组成新字符串:>>> import random>>> import string>>> string.join(ra
阅读全文
posted @ 2019-09-09 10:24
anobscureretreat
阅读(919)
推荐(0)
摘要:
datetime.datetime.now().strftime('%Y-%m-%d') 参考:https://www.cnblogs.com/general-seven/p/5893744.html
阅读全文
posted @ 2019-09-09 10:23
anobscureretreat
阅读(229)
推荐(0)
摘要:
输出 参考:https://blog.csdn.net/qiubingcsdn/article/details/83079235
阅读全文
posted @ 2019-09-09 10:22
anobscureretreat
阅读(6420)
推荐(0)
摘要:
<!DOCTYPE html> <html> <head> <script src="crypto-js.min.js"></script> </head> <body> <script src="http://code.jquery.com/jquery-1.8.3.min.js"></script> <script src="http://passport.cnblogs.com/script
阅读全文
posted @ 2019-09-09 10:17
anobscureretreat
阅读(266)
推荐(0)