- 军军小站|张军博客
搜索到与相关的文章
编程技术

magento左栏添加筛选Filtering options on Left

Tomakesidebarappearonadesiredcategoryandcontainadesiredattribute,youmustfollownext3simplesteps:1)Makethedesiredcategory“anchor”:Gototheadminpanel->Catalog->ManageCategories.Ontheleft,clickonthecategorythatyouwanttomakefilterable.O

系统 2019-08-12 09:29:48 1933

编程技术

SVN建立工作、下班。同一个项目

subclipse安装方法Eclipse3.2/Callisto,3.3/Europa,3.4/Ganymede+Subclipse1.4.7isnowavailableforEclipse3.2+!Seethechangelogfordetails.ExistingSubclipseusersshouldreadtheupgradeinstructionsforimportantinformationonchangesyoutoneedtomaketoy

系统 2019-08-12 09:29:33 1933

各行各业

protobuf安装

1在网站http://code.google.com/p/protobuf/downloads/list上可以下载Protobuf的源代码。然后解压编译安装便可以使用它了。安装步骤如下所示:也可在https://github.com/google/protobuf/releases/tag/v3.0.0-alpha-3上面下载这个,我是从上面的网站直接跳转过来的找到的提取protobuf-3.0.0-alpha-3cdprotobuf-3.0.0-alph

系统 2019-08-12 09:27:21 1933

各行各业

服务并未及时响应启动或控制请求

问题:2000AdvanceServer系统,IIS里默认站点显示“已停止”,点启动后过一会儿显示“服务并未及时响应启动或控制请求”,重启重装IIS也没有用,怎么解决啊?解决:进入管理工具>>服务>>启动WorldWideWebPublishingService服务。若启动不了,看看它的依存关系,启用它所依赖的服务。同时还要注意启动“EventLog”服务。虽然“WorldWideWebPublishingService”服务和SMTP服务的依存关系列表中

系统 2019-08-12 09:27:12 1933

各行各业

httpd.ini

[ISAPI_Rewrite]CacheClockRate3600RepeatLimit32RewriteRule^(.*)/plus/list-tid-([0-9]+)\.html$$1/plus/list\.php\?tid=$2RewriteRule^(.*)/plus/view-aid-([0-9]+)\.html$$1/plus/view\.php\?aid=$2浏览器输入^(.*)/plus/list-tid-([0-9]+)\.html$则在

系统 2019-08-12 09:26:58 1933

各行各业

UESTC 1237 质因子分解

水题一枚。。#include#include#include#include#include#includeusingnamespacestd;intisprime(intb,intn){inti;for(i=b;i<=sqrt(n);i++){if(n%i==0)returni;}return1;}intres[10005];intmain(){in

系统 2019-08-12 09:26:56 1933

各行各业

让程序只启动一次 -- Mutex

有时在开发程序的时候,有时需要只能同时运行一个实例.Mutex类,称为互拆体,是一个同步基元,它只向一个线程授予对共享资源的独占访问权。当两个或更多线程需要同时访问一个共享资源时,系统需要使用同步机制来确保一次只有一个线程使用该资源。如果一个线程获取了互斥体,则要获取该互斥体的第二个线程将被挂起,直到第一个线程释放该互斥体。下面演示Mutex类来保证应用程序只有唯一实例usingSystem;usingSystem.Collections.Generic;

系统 2019-08-12 09:26:51 1933

各行各业

opencv 实现进度控制

进度控制:#include#include#include//记录滚动条的当前位置intg_slider_pos=0;//滚动条的回调函数参数intpos是指当前滚动条所在位置voidon_changed(intpos){//输出滚动条当前所在位置printf("g_slider_posis%d\n",g_slider_pos);}intmain(intargc

系统 2019-08-12 09:26:42 1933

各行各业

记住我一周免登陆实现

privatevoidaddCookie(HttpServletResponseresponse,Stringusername,Stringpassword){Cookiename=newCookie("userName",username);Cookiepwd=newCookie("password",password);//cookie存在7天name.setMaxAge(7*24*60*60);pwd.setMaxAge(7*24*60*60);re

系统 2019-08-12 09:26:39 1933

编程技术

服务器集群怎么实现?

硬件配置范例:网络服务器两台服务器操作系统硬盘两块服务器数据存贮硬盘视用户需要确定服务器镜像卡(部分软件可使用标准网卡)两块网络服务网卡两块三、双机与磁盘阵列柜集群的软件配置基于NT平台的集群软件Microsoft的MSCS,也有许多第三方的专业软件公司开发的集群软件,如豪威的DATAWARE,VINCA公司的STANDBYSERVER,NSI公司的DOUBLE-TAKE.MSWolfPack的特点MSWolfPack是MSClusterserver的别称

系统 2019-08-12 01:33:15 1933