转载说明: 本文转载自http://www.aips.me/mac-key-ssh-login-linux.html生成密钥对用密码登录远程主机,将公钥拷贝过去done第一步:生成密匙对执行命令 ssh-keygen -t rsa执行结果如下:1234567891011121314151617181...
分类:
系统相关 时间:
2015-04-23 15:31:42
阅读次数:
199
Because Play is a web application framework, most of the application logic is done by controllers responding to HTTP requests.But sometimes you will n...
分类:
其他好文 时间:
2015-04-22 13:05:58
阅读次数:
146
一、while的语法格式二、until的语法格式三、示例与练习四、补充一、while的语法格式------------------------------------------while测试条件;do语句1语句2······done------------------------------------------条件满足时就循环,直到条件不满足,则退出循环退出循环..
分类:
系统相关 时间:
2015-04-21 02:08:17
阅读次数:
955
Linux下安装eclipse后运行,报错:JVM terminated. Exit code=14
解决办法:# vi /etc/eclipse.ini删除第一行:-PreventMasterEclipseLaunch
Done...
分类:
系统相关 时间:
2015-04-20 22:40:12
阅读次数:
412
【题目链接】:click here~~
【题目大意】:题意:给出一个w*h的方格,问除去不能走的路,从(0,0)到(w,h)共有多少种走法。
【解题思路】:第七场比赛的题,最后一小时在看这道题,比较遗憾最后还是没有A出来,赛后重新看了看题目,理清一下思路,发现就是道简单的dp,
处理一下除去不能走的路,不过要注意题目的一句话:“ The blocking is done in such a...
分类:
其他好文 时间:
2015-04-20 08:10:55
阅读次数:
127
取出一系列字符串中特定长的字符串方法一#!/bin/bash
hello="hello,world.mynameisJerry,what‘syourname?"
forwordin${hello[@]};do
[${#word}-gt4]&&echo$word
done方法二[`echo$word|wc-L`-gt4]&&echo$word方法三[`exprlength$word`-gt4]&&echo$word..
分类:
系统相关 时间:
2015-04-20 07:01:33
阅读次数:
158
1、游标的使用BEGIN DECLARE done INT DEFAULT 0; DECLARE userid INT; DECLARE rs CURSOR FOR SELECT `uid` FROM sinbegin_user WHERE service = 0;/*定义游标*/...
分类:
数据库 时间:
2015-04-17 00:58:31
阅读次数:
225
lengku19872013-01-06 22:27:47Sponsored Linkseasyui datagrid checkbox multiple columns have been done do? it is not possible to do ah.Sponsored Linksxu...
分类:
其他好文 时间:
2015-04-16 19:04:56
阅读次数:
180
C:\Users\admin>ppminstallMojolicious
DownloadingMojolicious-6.08...done
DownloadingIO-Socket-IP-0.37...done
UnpackingMojolicious-6.08...done
UnpackingIO-Socket-IP-0.37...done
GeneratingHTMLforMojolicious-6.08...done
GeneratingHTMLforIO-Socket-IP-0.37...d..
分类:
其他好文 时间:
2015-04-16 10:28:58
阅读次数:
126
#!/bin/bash
#
if[$#-lt1];then
echo"AadminuserARG..."
exit8
fi
if[$1=="add"];then
forIin{1..10};do
ifiduser$I&>/dev/null;then
echo"useruser$Iexist"
else
useradduser$I
echo"user$I"|passwd--stdinuser$I&>/dev/null
echo"user$Ifinished"
fi
done
elif..
分类:
其他好文 时间:
2015-04-15 23:48:23
阅读次数:
232