一、配置内核,支持iptables、forward和nat 二、交叉编译iptables a.源码下载: ftp://ftp.netfilter.org/pub/iptables/ b.交叉编译iptables tar -xvf iptables-1.8.4.tar.bz2 cd iptables- ...
分类:
其他好文 时间:
2020-05-18 00:25:40
阅读次数:
101
#include "stdafx.h"#include <windows.h>#include <stdio.h>int main(){ static BYTE buffer[0x1000]; WCHAR path[] = L"\\\\.\\PhysicalDrive0"; STORAGE_DEVI ...
分类:
编程语言 时间:
2020-05-17 17:58:56
阅读次数:
160
import multiprocessing from multiprocessing.managers import BaseManager import threading # 锁可以通过global也可以在Process中传无所谓 share_lock = threading.Lock() # ...
分类:
编程语言 时间:
2020-05-17 01:28:34
阅读次数:
94
angular2-inline This extension replaces the language-vscode-javascript-angular2 extension. This package is a language extension for Microsoft Visual S ...
分类:
其他好文 时间:
2020-05-16 20:39:38
阅读次数:
128
sudo apt install cifs-utils sudo mkdir /mnt/windowshare sudo mount.cifs //192.168.199.234/111 /mnt/windowshare -o username=share, passwd=share 参考地址: h ...
html: <div class="box" style="margin-top:0;" @click="share('weixin')">微信分享</div> <div class="box" style="margin-top:0;" @click="share('qq')">QQ分享</div ...
分类:
其他好文 时间:
2020-05-15 15:47:48
阅读次数:
192
nginx安装lua模块 出现LIBLUAJIT 5.1.SO.2错误的解决方法 云栖社区 阿里云 https://yq.aliyun.com/articles/604301 nginx lua 启动nginx报错找不到libluajit 5.1.so.2 会当凌绝顶的个人空间 OSCHINA ht ...
分类:
其他好文 时间:
2020-05-15 11:33:04
阅读次数:
181
想要在虚拟机中使用VT(嵌套使用VT),需要在虚拟机管理工具(Vmware/VirtualBox)中设置。 不管是Vmware还是VirtualBox都默认是关闭了虚拟机的VT功能, VMware 和 VirtualBox 设置方式如下。 VMware 在虚拟机设置中勾选图中所示即可。 Virtua... ...
分类:
其他好文 时间:
2020-05-15 09:41:59
阅读次数:
135
我的环境CentOS 7.5 首先安装 nginx docker pull nginxdocker pull php:7.1.30-fpm 安装完成之后进行配置,首先要确定网站目录、nginx配置文件目录 mkdir /var/www mkdir /etc/confcd /var/confvim t ...
分类:
Web程序 时间:
2020-05-15 09:35:32
阅读次数:
73
Share Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appe ...
分类:
其他好文 时间:
2020-05-14 11:11:27
阅读次数:
60