/** * Copyright 2002-2006,2009 The Apache Software
Foundation. * * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ....
分类:
其他好文 时间:
2014-04-29 21:16:42
阅读次数:
532
Ubuntu默认是安装好了tcpdump工具的,如果没有安装的话使用sudo apt-get
install tcpdump即可安装。 (如果遇到tcpdump: no suitable device
found的问题,检查一下是不是在用root权限运行tcpdump,tcpdump只能在root权...
分类:
其他好文 时间:
2014-04-29 20:18:22
阅读次数:
620
After having installed Ubuntu OS, you should
update config file for root account. The commands are listed as follow:vi
/etc/lightdm/lightdm.conf #open...
分类:
其他好文 时间:
2014-04-29 19:21:56
阅读次数:
555
最近在看读《STL源码剖析》,看到Traits编程技法这节时,不禁感慨STL源码作者的创新能力。那么什么是Traits编程技法呢?且听我娓娓道来:
我们知道容器的许多操作都是通过迭代器展开的。其中容器类似于数组,迭代器类似于指针。我们用数组来写个例子:1 int arr[5] = {1,2,3...
分类:
其他好文 时间:
2014-04-29 18:15:15
阅读次数:
463
/*! * jQuery JavaScript Library v2.1.0 *
http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright
2005, 2014 jQuery Foundation, ...
分类:
Web程序 时间:
2014-04-29 17:24:50
阅读次数:
683
导入工程:File->New->project:选择“Java project
from existing ant buildfile”再从菜单windows->show view->ant
打开ant工具对话框打开ant编译文件build.xml当编译完成后,在源码根目录下会生成一个target目...
分类:
其他好文 时间:
2014-04-29 16:17:53
阅读次数:
519
cd ~/.ssh/如果目录不存在就新建一个 mkdir ~/.ssh制作公匙
ssh-keygen -t rsa默认会生成id_rsa.pub的公匙将公匙推送到指定的服务器 scp id_rsa.pub
username@server:~/.ssh/id_rsa.pub登录到服务器 ssh use...
分类:
系统相关 时间:
2014-04-29 16:01:32
阅读次数:
625
先确保本地Linux服务器SSH服务开启,如果没有开启直接执行指令:service sshd
start然后我们使用ssh指令进行远程登陆ssh username@ip-address输入passwd指令修改旧密码修改默认账号rootvi
/etc/passwd按i键进入编辑状态修改第1行第1个ro...
分类:
系统相关 时间:
2014-04-29 15:51:22
阅读次数:
586
最近看swipe.js源码看到handleEvent这个属性。查了一下资料才知道:使用
addEventListener 可以绑定事件,并传入回调函数。Mozilla 0.9.1 和 Netscape 6.1
之后的版本不但支持传递函数引用,也都允许直接把拥有 handleEvent 方法的对象作为...
分类:
其他好文 时间:
2014-04-29 15:11:22
阅读次数:
416
1.下载angularjs进入其官网下载:https://angularjs.org/?,建议下载最新版的:https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.7/angular.js所有版本:https://code.angular...
分类:
Web程序 时间:
2014-04-29 14:36:28
阅读次数:
895