// remote06.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "windows.h" BOOL func(DWORD ProcessID,char* Dll ...
分类:
编程语言 时间:
2020-06-15 19:20:49
阅读次数:
68
tpautoconf -verify ndmp_host_name 成功的验证与如下所示类似: Connecting to host "stripes" as user "root"... Waiting for connect notification message... Opening ses ...
分类:
其他好文 时间:
2020-06-15 17:46:05
阅读次数:
79
[JSOI2018]潜入行动 解题报告 链接 题面 题目大意 一棵节点为 \(n\) 的树, 有 \(k\) 个装置. 当点 \(u\) 上安装了装置后, 对于所有 \((u,v)\), 点 \(v\) 都会被覆盖. 要求每个点上最多只能安装一个装置, \(k\) 个装置必须被用完. 求树上所有节点 ...
分类:
Web程序 时间:
2020-06-15 17:43:35
阅读次数:
63
使用IDEA导入打开Web项目 点击file选项,选择open 选择你需要导入的Web项目文件夹 选择导入的窗口,This View表示当前的IDEA窗口打开新项目,New View表示使用新的IDEA窗口打开项目。 导入成功后还需要对Web项目配置tomcat服务器(前提是本地有安装有tomcat ...
分类:
Web程序 时间:
2020-06-15 16:13:04
阅读次数:
154
继承,面向对象中的继承和现实生活中的继承相同,即:子可以继承父的内容。 例如: 猫可以:喵喵叫、吃、喝、拉、撒 狗可以:汪汪叫、吃、喝、拉、撒 如果我们要分别为猫和狗创建一个类,那么就需要为 猫 和 狗 实现他们所有的功能,如下所示: class 猫: def 喵喵叫(self): print '喵 ...
分类:
其他好文 时间:
2020-06-15 16:12:03
阅读次数:
53
第1关:结构函数 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace H1 { class Prog ...
//设置 HTTP 强制缓存 Cache-Control 头信息 // response.setHeader("Cache-Control", "max-age=300"); 设置了强制缓存,对于html文件修改,谷歌不走强制缓存,对于css,js文件,谷歌浏览器走强制缓存 此时需要强制清除缓存 浏 ...
分类:
其他好文 时间:
2020-06-15 15:49:10
阅读次数:
69
两种方式以及效果: 方式一,使用PIL.Image.blend方式: from PIL import Image, ImageDraw im = Image.open('d:/tmp/58.249.0.220_01_20200604141800866_TIMING.jpg', 'r') im2 = ...
分类:
编程语言 时间:
2020-06-15 15:44:07
阅读次数:
63
xlrd和xlwt 安装代码 pip3 install xlrd pip3 install xlwt xlrd 打开文件 xlrd.open_workbook(filename=None, logfile=<_io.TextIOWrapper name='<stdout>' mode='w' enc ...
分类:
编程语言 时间:
2020-06-15 14:22:06
阅读次数:
65
1、编辑.bash_profile文件,输入命令:open -a TextEdit ~/.bash_profile 2、在~/.bash_profile配置phantomjs路径,export PATH="/usr/local/#phantomjs-2.1.1-macosx/bin$PATH" 3、 ...
分类:
编程语言 时间:
2020-06-15 14:04:11
阅读次数:
134