一、iptables防火墙 1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # ...
分类:
系统相关 时间:
2021-04-07 11:31:55
阅读次数:
0
//屏蔽鼠标右键 var jsArgument = document.getElementsByTagName("script")[document.getElementsByTagName("script").length-1].src; //获取传递的参数 rightButton = jsArg ...
分类:
Web程序 时间:
2021-04-07 11:24:47
阅读次数:
0
1:公平锁和非公平锁 1.1 流程图 1.2 源码分析 ? 锁使用 final Lock lock = new ReentrantLock(); new Thread(()->{ lock.lock(); try { System.out.println(" "); Thread.sleep(100 ...
分类:
其他好文 时间:
2021-04-07 11:23:49
阅读次数:
0
下面这个例子和上面一样,除了说是子线程要join主线程。本例中还教会了大家,如何从主线程传参数到子线程。 例:1.5.3_2 class ThreadMark_to_win extends Thread { Thread mainT; Test t; public void run() { try ...
分类:
编程语言 时间:
2021-04-07 11:19:09
阅读次数:
0
@Test void contextLoads() { String str ="!dasd_asda_dasjdlkaj"; System.out.println(a(str)); } //截取字符串 转换大写并且输出 String a(String name) { String[] str= { ...
分类:
其他好文 时间:
2021-04-07 11:18:46
阅读次数:
0
A-AC 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K Special Judge, 64bit IO Format: %lld 题目描述 Crystal's fortune predict system is successfully de ...
分类:
其他好文 时间:
2021-04-07 11:07:42
阅读次数:
0
CVE-2017-12636 Couchdb 任意命令执行漏洞 0x01.环境搭建 利用vulhub搭建漏洞环境 service docker start docker-compose up -d 查看开启的端口号 docker-compose ps 启动完成后,访问http://target_ip ...
分类:
数据库 时间:
2021-04-07 10:53:36
阅读次数:
0
static关键字 public class OOPDemo01 { //2:赋初值 { System.out.println("匿名代码块"); } //1:只执行一次 static{ System.out.println("静态代码块"); } //3 public OOPDemo01(){ S ...
分类:
其他好文 时间:
2021-04-07 10:49:07
阅读次数:
0
WARNING: Found orphan containers (toolbox-web) for this project. If you removed or renamed this service in your compose file, you can run this command ...
分类:
其他好文 时间:
2021-04-07 10:38:38
阅读次数:
0
1、安装vue - cli npm install -g @vue/cli2、原因一、 新拉取的项目没有执行 npm install,找不到相关的依赖包(也就是说没有node_modules文件夹)。 解决方法: 执行下 npm install 即可已经安装了,还是报错、3、 ...
分类:
其他好文 时间:
2021-04-07 10:36:36
阅读次数:
0