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

VNC介绍及相关命令总结

WhatisVNCserver?VNCstandsforVirtualNetworkComputing.ItwasoriginallydevelopedbyAT&Tasawaytoadministermachineswithoutusingtheconsole.IfyouhaveusedWindowsTerminalServices(RDP),VNCwillseemveryfamiliar.WhyuseVNCserver?InLinux,everythin

系统 2019-08-29 22:55:55 1963

编程技术

iphone:圆角UITextView(和UITextField一样)

iPhone:UITextViewwithroundededges(tolooklikeaUITextField)UITextView是直角边,和UITextField相比看起来比较丑!不幸的,UITextView没有选项设置一个好的边框。有很多方法可以做这件事,比如为UITextView创建一个自己的背景图片,但是我发现一个相对简单的方式来实现这个功能,并且是没有photoshop技能的人也能完成。我在UITextView后面放了一个UITextFiel

系统 2019-08-29 22:41:49 1963

各行各业

POJ 1816 Wild Words

题目大意:给出N个带通配符(?和*)的模式串,M个询问,询问一个给你的字符串能匹配哪些模式串.模式串长度不超过6,询问串长度不超过20.简要分析:带通配符AC自动机?不是的,看字符串的长度都那么小,暴力一下就可以了.把所有模式串丢到Trie里面,*和?也作为一种转移,对于每个询问串,暴力dfs就可以了.代码实现:ViewCode1#include2#include3#include4#include

系统 2019-08-12 09:27:35 1963

各行各业

3212 K-Nice(水题1)

Thisisasupersimpleproblem.Thedescriptionissimple,thesolutionissimple.Ifyoubelieveso,justreaditon.Orifyoudon't,justpretendthatyoucan'tseethisone.Wesayanelementisinsideamatrixifithasfourneighboringelementsinthematrix(Thoseatthecorne

系统 2019-08-12 09:27:32 1963

Python

selenium webdriver+windows+python+chrome遇见

win7系统,在python中调用ChromeDriver一直报错“selenium.common.exceptions.WebDriverException:Message:'ChromeDriverexecutableneedstobeavailableinthepath.”将ChromeDriver的路径添加到系统变量path也不行,后来将ChromeDriver拷贝到/python27/scripts下,问题解决。即,需要拷贝到当前python脚本

系统 2019-08-12 09:27:29 1963

各行各业

multiple levels maven war dependencies (tran

guys.IamaChinese.Ihadsearchedthisquestioninsearchenginesandsometechnologyforums,buticann'tfindtheanswer,soifindhelphere.thefollowingisthedetailofthequestion:Ihavethreewarprojects(project_A,project_B,project_C).project_Cisdependent

系统 2019-08-12 09:27:20 1963

Python

Installing Python 2.6 in CentOS 5 (or RHEL5)

CentOS5usespython2.4,andreplacingitisnotreallyonoptionsinceyumandothercorepackagesdependonit.Mysolutionistocompile2.6anduse/optor/usr/localfortheprefix.Ialsocreateavirtualenvwiththenewpythonexecutable,sowhenI’mintheenvironment2.6b

系统 2019-08-12 09:27:05 1963

各行各业

理解与应用LDAP服务器

http://www.chinaunix.net/jh/49/593660.html关于LDAP的概念随便网上有很多,我不想重复,这里只是说一下我自己的理解。都说它是“轻量级目录协议”,太专业,我不懂,我只把它想象成“简单”的目录协议。几个很重要的概念,以后会用到:---------------------------------------------dn:一条记录的位置dc:一条记录所属区域ou:一条记录所属组织cn/uid:一条记录的名字/ID---

系统 2019-08-12 09:26:46 1963

数据库相关

常见数据库分页SQL语句

本文转自:http://hi.baidu.com/wlw7758/blog/item/f6b0b9110d2a097aca80c4e4.html我们在编写MIS系统和Web应用程序等系统时,都涉及到与数据库的交互,如果数据库中数据量很大的话,一次检索所有的记录,会占用系统很大的资源,因此我们常常采用,需要多少数据就只从数据库中取多少条记录,即采用分页语句。根据自己使用过的内容,把常见数据库SqlServer,Oracle和Mysql的分页语句,从数据库表中

系统 2019-08-12 01:55:27 1963