1. 显示环境变量HOME $ echo $HOME /home/redbooks 2.
设置一个新的环境变量hello $ export HELLO="Hello!" $ echo $HELLO Hello! 3. 使用env命令显示所有的环境变量
$ ...
分类:
系统相关 时间:
2014-05-01 08:18:05
阅读次数:
403
在VC中使用WebBrowser控件的两方法黄森堂(vcmfc)著ClassWizard方式:1.创建包装类:View->ClassWizard->Add
Class->Form a Type
Library->C:\winnt\system32\shdocvw.dll->只选择IWebBrowse...
分类:
Web程序 时间:
2014-05-01 08:15:32
阅读次数:
470
nginxserver { listen 80; server_name localhost;
root /apps/web/; index index.html; location / { } location /server { ...
分类:
其他好文 时间:
2014-05-01 08:03:15
阅读次数:
902
1. 查看内核版本命令: 1) [root@q1test01 ~]# cat
/proc/version Linux version 2.6.9-22.ELsmp (bhcompile@crowe.devel.redhat.com)
(gcc version 3.4.4 20050721 (Red ...
分类:
系统相关 时间:
2014-05-01 07:15:14
阅读次数:
575
#include#include#includeusing namespace std;int
main(){ int n,i; char a[100000]; cin>>a; sort(a,a+strlen(a)); do{
cout<<a<<endl; }while(next_permut...
分类:
其他好文 时间:
2014-05-01 06:20:37
阅读次数:
368
1){print_r($argv);}?>另存为 ./test.php[root@xiuran
test]#php ./test.php xxx fdf3Array( [0] =>test.php [1] => xxx [2] =>
fdf)
分类:
Web程序 时间:
2014-05-01 06:12:29
阅读次数:
379
vector的标准模板是:template > class
T>而普通模板则是template class
T>,如何创建一个模板能包容以上两个形式通用?http://zhidao.baidu.com/question/412950067.html
分类:
编程语言 时间:
2014-05-01 06:06:16
阅读次数:
331
本文对PHP编程中易犯错误进行总结,希望新手能够避免!1:为什么我得不到变量我在一网页向另一网页POST数据name,为什么输出$name时却得不到任何值?在PHP4.2以后的版本中register_global默认为off若想取得从另一页面提交的变量:方法一:在PHP.ini中找到register...
分类:
Web程序 时间:
2014-05-01 05:55:59
阅读次数:
547
void listFiles(){ namespace fs = boost::filesystem;
boost::filesystem::path path=boost::filesystem::current_path();
fs::directory_iterator item_beg...
分类:
其他好文 时间:
2014-05-01 05:23:07
阅读次数:
310
今天没有加班,将近六点到家,然后尝试了新买的路由,发现有一点新功能,就是在连接网络时可以手动按下路由的点来连接,省掉了输入用户名和密码的过程,这点真的不错。今天开放方面还是做一些表单方面的修改完善工作,在一开始select的value传值到后台Long型变量的时候总是报错,各种郁闷尝试了很久才发现,...
分类:
其他好文 时间:
2014-05-01 05:06:45
阅读次数:
260