php采集CryptoJS加密内容进行解密
<?php// GET传参数if (isset($_GET['url'])) {$url = $_GET['url']; // 验证URL是否有效 if (filter_var($url, FILTER_VALIDATE_URL) &a...
【Python】安装某个库的时候报错:Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-...
在安装某个库的时候如果遇到报错:Command"pythonsetup.pyegg_info"failedwitherrorcode1in/tmp/pip-build-FdRfYJ/pip原因很简单,就是你要装的那个库已经不支持你当前使用的python版本解决方法也很简单:一、升级所使用的python版本二、指定安装低版本的库Python3.6一键安装脚本:此一键脚本来自Rat’sBlog,在此表示感谢,Python版本为3.6...
linux 修改文件用户组和所有者
1、linux下修改文件用户组chgrp: change group的简写,修改文件所属的用户组。chgrp 用户组名 文件名例如:chgrp users test.log如果要修改该目录下所有文件和目录,使用-R参数。chgrp -R users test 要被改变的group名,必须在 /etc/group&nb...
C++ AsciiUnicodeUtf8
AsciiUnicodeUtf8.h:#pragma onceDWORD BytesToHexStr(IN BYTE*nbData,DWORD nbDataSize,OUT char*szpHexBuf); //字节集转十六进制字串DWORD AnsiToUtf8(LPCSTR Ansi,OUT LPSTR szpUtf8Buf);char* UniCod...
C++ MFC_Dll初始化窗口显示
#include"DeBug_dll.h"DWORD WINAPI 显示窗口(LPVOID arg) {AFX_MANAGE_STATE(AfxGetStaticModuleState());DeBug_dll deBug_dll;//实例化对象 DeBug_dlldeBug_dll.DoModal();//DoMoDal 以模态的方式显示窗口 ...
C++ 读内存代码
//注入Dll读内存地址DWORD ReadMemory(UINT_PTR 地址) {__try {return *(DWORD*)地址;}__except(1){return 0;}}跨进程读写:const HWND 窗口句柄{ FindWindowA("窗口类名", "窗口名称")&...
C++ 打开控制台/关闭控制台
//显示控制台AllocConsole();//freopen("CONOUT$", "w+t", stdout); // 重定向STDOUT //把printf函数的输出 黑窗口屏幕上//FILE* file=freopen("c:\\123.txt", "w+t", stdou...
Debian系统Python使用虚拟环境配置模块
首先安装虚拟环境apt-get install python3-venv创建虚拟环境目录python3 -m venv tutorial-env加载虚拟环境source tutorial-env/bin/activate然后安装需要的模块pip3 install -r requirements.txt后台运行py项目nohup python3 -u 项目名....
debian10 apt-get更新源
编辑sources文件/etc/apt/sources.list修改内容为阿里云地址deb http://mirrors.aliyun.com/debian/ buster main non-free contribdeb http://mirrors.aliyun.com/debian/ buster-updates main non-free contribdeb&...
mysql order by rand() limit $num 优化
优化写法前:select * from ay_content where status=1 order by rand() limit 1select id,typename,typeimg from dede_arctype where ishidden=0 and reid!=0 and&nbs...
Powered By Cheug's Blog
Copyright Cheug Rights Reserved.