git installation in linux:http://git-scm.com/downloads download sw package$tar -zxvf git-1.8.5.tar.gz$cd git-1.8.5$./configure$make$sudo make installg...
分类:
其他好文 时间:
2015-07-29 11:37:45
阅读次数:
154
set go= cin nu ts=4 sw=4 sts=4 noswapfile nobackup acd et cursorline
set backspace=eol,start,indent
syntax onmap :!g++ -o2 -std=c++11 % -o %<
map :!%<map :!javac %
map :...
分类:
系统相关 时间:
2015-07-26 11:07:46
阅读次数:
165
反射时,由于编译器要判断权限,身份等操作,所以比直接操作要慢测试代码: const int NUM = 1000000; Stopwatch sw = new Stopwatch(); sw.Start(); f...
方法一: FileStream textFile = File.Open(@"F:\程序\新手测试\linqApplication1\linqApplication1\IO.txt", FileMode.Append); StreamWriter sw =...
1. 在PC上安装Xmanager。 下载地址:http://dlsw.baidu.com/sw-search-sp/soft/2d/35931/Xmanager4_setup.1410342608.exe2. 运行Xshell, New->Connection, Protocol选择SSH,Hos...
原生的jQuery并没有对移动Web做很好的支持,比如滑动事件。在使用下拉刷新、轮播图移动等操作时,都需要用到滑动事件,怎么处理可以让jQuery支持滑动事件呢1.下载js插件jquery.touchSwipe.min.js2.代码写法:$(function() { $("#ID").sw...
分类:
Web程序 时间:
2015-07-19 20:07:29
阅读次数:
135
void CSssView::OnMenuitem32771() { if(sf==0) { dlg1.Create(IDD_DIALOG1);//创建窗口 dlg1.ShowWindow(SW_SHOW);//隐藏窗口 sf=0;cm=0;pd=1;CM=1;vv=0;df=0;...
分类:
其他好文 时间:
2015-07-18 10:52:22
阅读次数:
126
最近公司新机房搬迁,需要测试新机房和各地机房之间的网络性能,选择了smokeping这个网络性能测试工具,部署的时候参考了网上的很多文章,现将部署步骤记录如下:1、安装其他源rpm-Uvhhttp://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x8..
分类:
其他好文 时间:
2015-07-17 23:03:03
阅读次数:
507
1.隐藏任务条var h:THandle;//变量h:=FindWindow('Shell_TrayWnd',nil);ShowWindow(h,SW_hide); 2.显示任务条h:=FindWindow('Shell_TrayWnd',nil);ShowWindow(h,SW_SHOW); 3....
1.#yum -y install git#git --version此时显示下载的版本是1.7.12.导入证书#rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt3.安装RPMForge源// 打开网址http://pkgs.repoforge.or...
分类:
其他好文 时间:
2015-07-17 11:35:29
阅读次数:
115