iptables commands / docsexecute command apropos iptables to find something about iptabls.root:notfound/ # apropos iptables
ip6tables-save (8) - dump iptables rules to stdout
iptables (8) - ad...
分类:
其他好文 时间:
2015-05-22 13:31:55
阅读次数:
190
自己用C#写个东西玩的,碰到点面向对象的问题,代码如下: abstract class AbsClass { virtual protected void method() { //do something } ...
分类:
Web程序 时间:
2015-05-22 13:22:42
阅读次数:
133
Please note that I am no longer working on this library - you may want to consider using something else for new projects. :)ASIHTTPRequest documentati...
分类:
Web程序 时间:
2015-05-21 17:16:44
阅读次数:
202
1.第一段代码#includeusing namespace std;class ClxBase{public: ClxBase() {}; ~ClxBase() { cout DoSomething(); delete p; return 0;} 运行结果:Do something in cla....
分类:
其他好文 时间:
2015-05-20 22:13:50
阅读次数:
112
I use something similar but thought I'd mention this 'bug' that can happen:when you INSERT '%wa_message' into 'data', bear in mind your typed message ...
分类:
移动开发 时间:
2015-05-20 00:00:35
阅读次数:
212
Handler我们常常用于通知主线程做相对应的操作,但是如果使用不但的话就会造成内存泄露,所以记录写正确的Handler写法。Handler handler = new Handler() {
public void handleMessage(Message msg) {
//do something
};
};
handler.se...
分类:
其他好文 时间:
2015-05-19 22:39:54
阅读次数:
195
发音相似容易混淆的词汇alteration英[??lt?'re??(?)n; '?l-]美[,?lt?'re??n]n. 修改,改变;变更alteration/???lt??re???n/TEM41.N-COUNTAnalterationis a change in or to something....
分类:
其他好文 时间:
2015-05-19 12:39:48
阅读次数:
156
使用 root 用户登录:使用 grant 语句:1、添加一个用户admin并授权通过本地机(localhost)访问,密码"something"mysql>grant all privileges on *.* to admin@localhost identified by 'something...
分类:
数据库 时间:
2015-05-19 12:22:16
阅读次数:
163
https://www.drupal.org/node/2342561$element['something'] = array( '#markup' => t('This is some content'), '#theme_wrapper' => 'paragraph_wrapper',);.....
分类:
移动开发 时间:
2015-05-18 20:30:43
阅读次数:
210
在WEB开发中,为了降低页面等待时间提高用户体验,我们往往会把一些浪费时间的操作放到新线程中在后台执行。简单的实现代码就是://代码一new Thread(()=>{//do something}).Start();可是对于一个请求量大的网址这样做是非常不现实的——每个操作都要开启一个新线程,终于会...
分类:
其他好文 时间:
2015-05-18 18:06:40
阅读次数:
127