firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running) systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止fire ...
分类:
其他好文 时间:
2018-04-01 16:04:48
阅读次数:
146
题目链接 题目大意: 假设我们有一个正方形的城市,并且街道是直的。城市的地图是n行n列,每一个单元代表一个街道或者一块墙。 碉堡是一个小城堡,有四个开放的射击口。四个方向是面向北、东、南和西。在每一个口子上有一架机关枪。 假设子弹能够穿过任何距离,并且摧毁路上的碉堡。另一方面,子弹不能穿越墙。 我们 ...
分类:
Web程序 时间:
2018-03-31 12:05:22
阅读次数:
194
一、配置防火墙,开启80端口、3306端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable fire ...
分类:
系统相关 时间:
2018-03-27 14:51:27
阅读次数:
304
1: 查看redhat版本号。 2: 防火墙中加入8080 查看防火墙状态,root用户登录,执行命令systemctl status firewalld 开启防火墙:systemctl start firewalld 关闭防火墙:systemctl stop firewalld 放行端口:fire ...
分类:
系统相关 时间:
2018-03-22 10:48:46
阅读次数:
184
这里有3个原因:1.所有的woker thread(工作线程; 辅助线程)都在运行其他的job2.scheduler(调度器)down了(关于这个down。我不太明确是shutdown了。。还是挂掉了。因此下文依旧用down。)3.任务被安排在过去的某一时刻启动(此可能为代码错误) 我的 我的解决方 ...
分类:
其他好文 时间:
2018-03-14 15:15:46
阅读次数:
419
Ubuntu16.04安装官方Firefox 火狐浏览器 延长支持版(Extended Support Release, 简称“ESR”) 延长支持版本(Extended Support Release, 简称“ESR”)是 Mozilla 专门为那些无法或不愿每隔六周就升级一次的企业打造。Fire ...
分类:
系统相关 时间:
2018-03-13 15:38:51
阅读次数:
606
Level 水平 Disposable 可任意处理的 trace 跟踪 critical 关键的;批评的,爱挑剔的;严重的;极重要的 did 做( do的过去式);干;学习;研究 get Brand 品牌 fire 开火 dispose 处理,处置;安排 Brand 品牌 fire 开火 dispo ...
分类:
其他好文 时间:
2018-03-12 16:50:31
阅读次数:
173
IMPORTANT 2.8.0之后版本才可用 键空间通知使得客户端可以通过订阅频道或模式, 来接收那些以某种方式改动了 Redis 数据集的事件。 因为 Redis 目前的订阅与发布功能采取的是发送即忘(fire and forget)策略, 所以如果你的程序需要可靠事件通知(reliable no ...
分类:
其他好文 时间:
2018-03-09 14:09:03
阅读次数:
928
题目描述:Fire Net Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing ...
分类:
Web程序 时间:
2018-03-04 20:05:16
阅读次数:
299
解题思路:Find Gold Someone locked you in the grid house. You can’t escape, until you find the enough gold. But somewhere is on the fire, so you can’t stan ...
分类:
其他好文 时间:
2018-03-04 20:02:17
阅读次数:
209