20140617-Windows连接Linux工具介绍 1、正常情况下都不会直接在Linux服务端进行操作,实际使用服务器和工作电脑不会在同一个地方,也不允许在服务器操作。 我这里用SecureCRT 7.0来连接服务器。提供个下载,带注册机工具: 安装完后进行注册,以管理员身份运行KEY,点pat...
Windows 下设置 tramp以前一直以为 tramp 在 windows 下是基本无法工作,或者需要很费劲才能配置好。今天发现通过 puttygen, plink 这些工具(都是 putty 那一套)配置起来其实还挺方便的。1 通过 plink 连接 linux将 plink 放到你的 pat...
委托(delegate)也叫代理是iOS开发中常用的设计模式。我们借助于protocol(参考博文:objective-c协议(protocol))可以很方便的实现这种设计模式。什么是代理?苹果的官方文档给了很清晰的解释:Delegation is a simple and powerful pat...
分类:
其他好文 时间:
2014-07-07 17:29:03
阅读次数:
240
今天在自己的电脑上装了虚拟机,但在虚拟机里想装64位的win7,老是提示:Attempting to load a 64-bit application,however this cpu is not compatible with 64-bit mode在网上查过后,发现是电脑的Virtualiz...
分类:
其他好文 时间:
2014-07-01 22:34:52
阅读次数:
258
XPath获取元素某个属性的值XPath query: clients/attribute::totalXPath获取最后一个元素某个属性的值XPath query: /clients/client[last()]/attribute::order
分类:
其他好文 时间:
2014-07-01 17:02:31
阅读次数:
3735
1.个位数统计:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
char s[1005];
int n, a[10];
int main(){
while(gets(s)) {
memset(a,...
分类:
其他好文 时间:
2014-06-28 08:55:24
阅读次数:
191
#region 创建、跟新词库
///
/// 创建、跟新词库
///
private void CreateIndexData()
{
//索引库文件夹
FSDirectory dir = FSDirectory.Open(new DirectoryInfo(pat...
分类:
Web程序 时间:
2014-06-27 10:17:59
阅读次数:
232
public void uploadDocMentSave(string Type) { if (Request.Files.Count > 0) { HttpPostedFileBase files = Request.Files[0];//获取文件 string filename = Pat.....
分类:
其他好文 时间:
2014-06-25 21:21:02
阅读次数:
286
"Could not find SQL statement to include with refid xxx"A: 认真把每个用到xxx的地方都看一遍
分类:
数据库 时间:
2014-06-25 00:58:20
阅读次数:
216