ssh-keygencat id_rsa.pub >> authorized_keys目标机器上授权chmod 700 ~/.sshchmod 600 ~/.ssh/authorized_keysssh root@{remote.target.host}
分类:
其他好文 时间:
2014-07-16 21:48:06
阅读次数:
171
好吧,能找到这文章的,一般是接到了如下需求:我是从raywenderlich抽了点内容出来做日记,另外,本文说的不是布局的适配,而是因为ios的升级带来的各版本代码上的不兼容。Deployment Target vs. Base SDK总的来说,Base SDK表示你愿意支持的最高版本,位于你要设置...
分类:
移动开发 时间:
2014-07-16 21:18:49
阅读次数:
618
创建一个使用Material主题的应用 1.这里需要先搭建一个应用的运行环境 创建一个AVD: 然后运行这个AVD。 2.创建应用 其中的Min SDK和Target SDK 都选择了L Preivew版本。 3.修改AndroidManifest.xml文件 修改u...
分类:
其他好文 时间:
2014-07-16 20:36:07
阅读次数:
293
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num...
分类:
其他好文 时间:
2014-07-16 19:53:49
阅读次数:
238
题目:Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ...
分类:
其他好文 时间:
2014-07-16 19:48:18
阅读次数:
263
一、批量删除表格复选框 "> " /> 删除按钮 " posttype="string" rel="wids" target="selectedTodo" title="确实要删除这些记录吗?" >删除 二、
分类:
其他好文 时间:
2014-07-16 19:36:05
阅读次数:
173
关于存储的一些知识根据传输协议的不同的,网卡可分为三种,一是以太网卡,二是FC网卡,三是iSCSI网卡。以太网卡:学名Ethernet Adapter,传输协议为IP协议,一般通过光纤线缆或双绞线与以太网交换机连接。接口类型分为光口和电口。光口一般都是通过光纤线缆来进行数据传输,接口模块一般为SFP...
分类:
系统相关 时间:
2014-07-14 00:29:45
阅读次数:
1091
直接上图:
在android 中导入项目后 包出现错误的解决方法
选中项目,右击打开Properties:
1.检查android选项页中是否勾选了project build target。
2.检查java build path 中 orler and explort...
分类:
移动开发 时间:
2014-07-12 21:24:56
阅读次数:
305
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:
其他好文 时间:
2014-07-12 19:06:27
阅读次数:
204
使用frameset进行窗口分帧,构建简易的后台页面。这篇博客就作为一个简易后台管理页面的实战演练。
1 首先,需要一个页面,使用按比例划分为适合的三个区域:头部,菜单,主体。
不能放在中编写。
给每一个进行命名,便于后面链接时target属性可以直接指向指定位置。
代码如下(文件名自定义,我写的是 frameset.html):
后台管理页面
...
分类:
Web程序 时间:
2014-07-12 19:02:55
阅读次数:
289