`
flyingsword945
  • 浏览: 24273 次
  • 性别: Icon_minigender_2
  • 来自: ...
文章分类
社区版块
存档分类
最新评论
文章列表
详见http://www.deitel.com/Books/Java/JavaHowtoProgram8eEarlyObjectsVersion/ProblemsInstallingNetbeansonWindows7/tabid/3550/Default.aspx Open a Command Prompt running as administrator: Go to Start button > All Programs > Accessories Right click Command Prompt Select Run as administr ...
进入vi的命令 vi filename :打开或新建文件,并将光标置于第一行首 vi +n filename :打开文件,并将光标置于第n行首 vi + filename :打开文件,并将光标置于最后一行首 vi +/pattern filename:打开文件,并将光标置于第一个与pattern匹配的串处 vi -r filename :在上次正用vi编辑时发生系统崩溃,恢复filename vi filename....filename :打开多个文件,依次进行编辑 移动光标类命令 h :光标左移一个字符 l :光标右移一个字符 space:光标右移一 ...
搜索文件: whereis 查看文件位置。which 查看可执行文件的位置。 find   统计行数: 1.统计demo目录下,js文件数量: find demo/ -name "*.js" |wc -l 2.统计demo目录下所有js文件代码行数: find demo/ -name "*.js" |xargs cat|w ...
git最佳入门参考:http://progit.org/book/zh/   基本用法: 1) windows下的安装 下载并安装Git 和 TortoiseGit。我用的是Git-1.7.6-preview20110708.exe和TortoiseGit-1.7.2.0-32bit.msi。 下载TortoiseGit,地址: http://code.google.com/p/tortoisegit/ 安装前必须装上msysgit才能在Windows上使用Git,地址: http://code.google.com/p/msysgit/ 详见http:// ...
http://www.wbemsolutions.com/tutorials/CIM/cim-overview.html
Synopsis wbemcli gc|gcd|dc|ec|ecn|gi|ci|mi|di|ei|ein|ai|ain|ri|rin|gp|sp|cm|cmx [-nl ] [-h ] [-t ] [-dx ] [-dr ] [-noverify ] [-cacert  file] [-clientcert  file] [-clientkey  file] [-ac  assocClass] [-arc  resultClass] [-ar  role] [-arr  resultRole] objectPath [prop=v ...
groovy/Java执行的windows命令行如果包含尖括号会出现错误, 可以采取以下两种方法解决: 1) 加 "cmd", "/C"到命令前面。   备份mysql数据库采用 def myCommandString = ["cmd","/C","C:/Program Files/MySQL/MySQL Server 5.5/bin/mysqldump", "-u****","-p****","dbname>c:/backup.sq ...
在Windows XP/2003下建立NTP服务: 1. 工作之前请先备份注册表文件。 2. 修改以下选项的键值HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer内的「Enabled」设定为1,打开NTP服务器功能(默认是不开启NTP Server服务,除非服务器升级成为域控制器) 3.重启Win32Time服务: net stop w32Time && net start W32Time 详见: http://stan0206.hes78. ...
初探Java企业级开源框架OSGi http://developer.51cto.com/art/200903/112409.htm OSGi优点:1. 热插拔,无须重启。 2. 它是一个稳定高效的系统。OSGi 是一个微核的系统,所谓微核是指其核心只有为数不多的几个jar 包。基于OSGi 框架的系统可分可合,其结构的优势性导致具体的Bundle 不至于影响到全局,不会因为局部的错误导致全局系统的崩溃。每个Bundle 也只有当服务被调用的时候才会启动,因此性能是较一般的框架高出许多。 3. 可复用性强。 Hello world 例子碰到java.lang.ClassNo ...
Struts 内置了Tiles,利用它可以很好复用页面,使用起来就像我们复用类一样。 <card title='<tiles:getAsString name="title"/>'> <tiles:insertAttribute name="menu" /> <tiles:insertAttribute name="body" /> <tiles:insertAttribute name="footer" /> </ca ...
Advice defines both the what and the when of an aspect. A joinpoint is a point in the execution of the application where an aspect can be plugged in. If advice defines the what and when of aspects then pointcuts define the where. A pointcut definition matches one or more joinpoints at which advice sh ...
<bean id="baseSaxophonist" class="com.springinaction.springidol.Instrumentalist" abstract="true"> <property name="instrument" ref="saxophone" /> <property name="song" value="Jingle Bells" /> </bean> < ...
Spring containers: BeanFactory 和 application context的区别 ApplicationContext offers much more: ■ Application contexts provide a means for resolving text messages, including support for internationalization (I18N) of those messages. ■ Application contexts provide a generic way to load file resources, su ...
Bean scope singleton:Scopes the bean definition to a single instance per Spring container (default). prototype:Allows a bean to be instantiated any number of times (once per use). request:Scopes a bean definition to an HTTP request. Only valid when used with a webcapable Spring context (such as with ...
The goal of application security: To prevent unauthorized disclosure, alteration and destruction of data whenever it is stored,processed or transmitted. Firewall and SSL doesn't prevent all. 9 key considerations: Sensitive Data     Understand the data. If your application handles cardholder da ...
Global site tag (gtag.js) - Google Analytics