为了自动化,Insus.NET创建一个windows service来让其自动执行一些无人执实的事务。 项目产生之后,我们所看到的界面如下: 在左边栏位空白处,右击: 点击#4的"Add Installer": 点击#5,“View Code”: 接下来,我们对“Service1” 改一个好叫的名字 ...
throw 抛异常 throw new Exception('参数只能是数字') try...catch 异常 try { //抛异常的代码 } catch (Exception $e) { echo $e->getMessage(); } 实例 /src/TestException.php (抛异 ...
分类:
其他好文 时间:
2021-06-28 19:30:58
阅读次数:
0
之前用Ubuntu虚拟机来编译鸿蒙源码,听说DevEco Device Tool 2.2 Beta1可以在Windows一站式编译。马上尝尝。 1 准备工作 参考社区的文档 参考官网文档,部署Windows环境 上官网下载HUAWEI DevEco Device Tool 2.2 Beta1,简称D ...
1、安装Sql Server 2008R 2、端口设置 运行sql server 配置管理器: 3、下载JDBC包 ...
分类:
数据库 时间:
2021-06-28 19:26:33
阅读次数:
0
OSCP Security Technology - Fuzzing Download vulnserver from the grey corner website. https://thegreycorner.com/vulnserver.html Download immunity debug ...
分类:
其他好文 时间:
2021-06-28 19:14:54
阅读次数:
0
Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color ...
分类:
其他好文 时间:
2021-06-28 19:08:20
阅读次数:
0
脚本如下: # @Time : 2021/6/26 13:31# @Author : cici#左上行号参数row = 1#右上行号2row2 = 1#左下行号3row3 = 9#右下行号4row4 = 9while row <= 9 and row2 <= 9: #列号参数 col = 1 whi ...
分类:
编程语言 时间:
2021-06-28 19:05:56
阅读次数:
0
1、Windows开启Hyper-V 虚拟服务 程序与功能->启动和关闭功能->勾选Hyper-V PS:如果Hyper-V 虚拟机监控程序无法勾选,可以进入BIOS 启用虚拟服务,重启后看是否能勾选,如果依然无法勾选,系统可能不支持开启,使用其他虚拟机也是一样的。 2、官网下载Docker win ...