sudo apt-get install sshifconfigssh 198.211.102.203sudo adduser uernameubuntu装配SSH,支持开启sftp服务 sftp 198.211.102.203apt-get update docker run -d --name ...
分类:
其他好文 时间:
2016-04-11 07:20:17
阅读次数:
106
How would you print just the 10th line of a file? For example, assume that file.txt has the following content: Your script should output the tenth lin ...
分类:
其他好文 时间:
2016-04-11 07:22:17
阅读次数:
148
在配置eclipse中配置maven的时候,最简单的方法就是在线安装,可是有时eclipse却无法在线安装maven(无论是通过Help–>Eclipse MarKetplace或是Help–>Install New Software都会失败) 解决方案: 第一步:下载maven插件包,可点击该链接 ...
分类:
其他好文 时间:
2016-04-11 07:20:17
阅读次数:
128
前言:sevenzipsharp检查密码(包括检查压缩包的有效性)的函数是SevenZipExtractor.check(), sevenzipsharp调用的是7zip的动态链接库,而且不止是7zip,其它压缩软件测试密码这个功能耗时也很久(压缩包小可以忽略,密码错误的时候速度还行,密码正确的话, ...
分类:
其他好文 时间:
2016-04-11 07:19:34
阅读次数:
187
UITableView 1、UITableView样式: UITableView内置了两种样式:UITableViewStylePlain,UITableViewStyleGrouped 2、<UITableViewDataSource,UITableViewDelegate>里的方法: 3、每当有 ...
分类:
其他好文 时间:
2016-04-11 07:17:27
阅读次数:
138
在一篇随笔中,我们已经尝试了在不依赖工具的情况下设置docker的ip,连我都想吐槽,MD单机都这么麻烦,在多机的环境中岂不是要了我的小命! 本文就是为了多机环境中各个节点的容器通信而做的,网络拓朴如下,这里用到了openvswitch工具。 openvswitch为我们建立一个扩展到三层网络的网桥 ...
分类:
其他好文 时间:
2016-04-11 07:14:08
阅读次数:
224
阿里云(合作):https://www.aliyun.com/customer/detail/dbf/ 阿里云(市场):https://market.aliyun.com/products/56014009/cmgj000276.html 运维派:http://www.yunweipai.com/ ...
分类:
其他好文 时间:
2016-04-11 07:15:02
阅读次数:
137
// // ViewController.m // 01-playPlane // // Created by 王 on 16/4/9. // Copyright © 2016年 王. All rights reserved. // #import "ViewController.h" @inter ...
分类:
其他好文 时间:
2016-04-11 07:12:29
阅读次数:
146
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo ...
分类:
其他好文 时间:
2016-04-11 07:10:54
阅读次数:
133
新手笔记,大神不要笑话 前端代码 index.htnl php代码 index.php 需要引入的php函数 它的api在这里 http://www.faceplusplus.com.cn/api-overview/ php的demo http://www.faceplusplus.com.cn/w ...
分类:
其他好文 时间:
2016-04-11 07:11:15
阅读次数:
145
// // ViewController.m // 01-calculate // // Created by 王 on 16/4/9. // Copyright © 2016年 王. All rights reserved. // #import "ViewController.h" @inter ...
分类:
其他好文 时间:
2016-04-11 07:07:07
阅读次数:
143
题目内容: 给出任意一个年月日(年>1900),现在我们不能只是直接计算,要先判断给出的日期是否合法,对于非法的日期要给出错误提示信息,合法的日期要再计算是星期几。 输入格式: 年 月 日 输出格式: 0~6。 星期日用 0 表示,星期一用 1 表示,星期二用 2 表示......星期六用 6 表示 ...
分类:
其他好文 时间:
2016-04-11 07:03:37
阅读次数:
625
PRML exercise 1.8: To derive mean: change of variable z = x - u, use symmetry To derive variance: differentiate normaliation condition (integrate to 1 ...
分类:
其他好文 时间:
2016-04-11 07:02:03
阅读次数:
132
Problem Description
A weird clock marked from 0 to 59 has only a minute hand. It won’t move until a special coin is thrown into its box. There are different kinds of coins as your options. However onc...
分类:
其他好文 时间:
2016-04-11 01:56:24
阅读次数:
159