51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
#F
ssh.sh_for_ubuntu1404
#!/bin/bashsed-i's/PermitRootLoginwithout-password/PermitRootLoginyes/g'/etc/ssh/sshd_configsed-i's/#PasswordAuthenticationyes/PasswordAuthenticationyes/g'/etc/...
代码星球
·
2020-04-03
ssh.sh
for
ubuntu1404
ssh.sh_for_ubuntu1604
#!/bin/bashsed-i's/PermitRootLoginprohibit-password/PermitRootLoginyes/g'/etc/ssh/sshd_configsed-i's/#PasswordAuthenticationyes/PasswordAuthenticationyes/g'/etc...
代码星球
·
2020-04-03
ssh.sh
for
ubuntu1604
ssh.sh_for_centos
#!/bin/bashsed-i's/#PermitRootLoginyes/PermitRootLoginyes/g'/etc/ssh/sshd_configsed-i's/#UseDNSyes/UseDNSno/g'/etc/ssh/sshd_configsed-i's/GSSAPIAuthenticationye...
代码星球
·
2020-04-03
ssh.sh
for
centos
disable-network-config
network:{config:disabled} ...
代码星球
·
2020-04-03
disable-network-config
dpkg.cfg
...
代码星球
·
2020-04-03
dpkg.cfg
cloud.cfg_for_ubuntu
user:defaultdisable_root:falsepreserve_hostname:falsecloud_init_modules:-bootcmd-resizefs-set_hostname#-update_hostname-update_etc_hosts-ca-certs-rsyslog-sshclo...
代码星球
·
2020-04-03
cloud.cfg
for
ubuntu
cloud.cfg_for_centos
users:-defaultdisable_root:0ssh_pwauth:1locale_configfile:/etc/sysconfig/i18nmount_default_fields:[~,~,'auto','defaults,nofail','0','2']resize_rootfs_tmp:/devss...
代码星球
·
2020-04-03
cloud.cfg
for
centos
python /usr/bin/python^M: bad interpreter: No such file
今天在WingIDE下写了个脚本,传到服务器执行后提示:-bash:/usr/bin/autocrorder:/usr/bin/python^M:badinterpreter:Nosuchfileordirectory分析:这是不同系统编码格式引起的:在windows系统中编辑的.sh.py文件可能有不可见字符,所以在...
代码星球
·
2020-04-03
python
usr
bin
bad
interpreter
neutron floating ip 限速
查看浮动ip的id[root@10e131e69e14oz]#openstackfloatingipshow36.111.0.197+---------------------+--------------------------------------+|Field|Value|+------------------...
代码星球
·
2020-04-03
neutron
floating
ip
限速
heat creating first stack
可以用自带的模板生成一个实例,实例包含一些软件,比如WordPress博客系统等[root@armstrong~(keystone_demo)]#openstackstackcreate-thttp://git.openstack.org/cgit/openstack/heat-templates/plain/hot/...
代码星球
·
2020-04-03
heat
creating
first
stack
求水洼(dfs)
在余队长众多的农场中,有这样一片N*M大小的田地,它在下雨后积起了水。 在他的田地中,'W'代表积水,'.'代表土地,一片相互连接的积水叫做“水WA”。(每个格子被认为和相邻的8个格子相连) 现在农场工作人员传回来了田地的航拍图,余队长让你帮他确定有多少个“水WA...
代码星球
·
2020-04-03
水洼
dfs
Before an Exam
题目:http://codeforces.com/problemset/problem/4/B题解:有d组minmax值以及一个sum值,现在要求d个介于min和max之间的数,让其和为sum。此题可以先从sum中减去所有的min,然后对剩下的值进行处理,对其分配时不能超过每一对max-min的值,如果能全部分完,则满...
代码星球
·
2020-04-03
Before
an
Exam
Shortest path of the king1
题目:http://codeforces.com/problemset/problem/3/A题解:由题可得,求最短路程,那么国王走斜方向最近,而且只有四种方向,选择了就不能再变化#include<cstdio>#include<iostream>usingnamespacestd;intmai...
代码星球
·
2020-04-03
Shortest
path
of
the
king1
Factory
Oneindustrialfactoryisreformingworkingplan.Thedirectorsuggestedtosetamythicaldetailproductionnorm.Ifatthebeginningofthedaytherewerexdetailsinthefactorystorage,t...
代码星球
·
2020-04-03
Factory
layui从子iframe打开父iframe的tab选项卡
数据表格字段:{field:'novelId',title:'小说ID',width:100,templet:'<div><ahref="javascript:;"_href="/contentManage/content-chapters.html"novelName="{{d.name}}"onc...
代码星球
·
2020-04-03
iframe
layui
从子
打开
tab
首页
上一页
...
1434
1435
1436
1437
1438
...
下一页
尾页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他