1.通过批处理命令,CMD到bat文件所在的路径下cmdhere.bat:@echo offcmd . 2.更方便地一种方法是写进注册表里,直接右键可以cmd到当前路径下cmdhere.reg(要先运行的哦)REGEDIT4[HKEY_CLASSES_ROOT\*\shell\cmdhere]@=....
分类:
其他好文 时间:
2014-06-26 19:28:50
阅读次数:
272
Amoeba是一个以MySQL为底层数据存储,并对应用提供MySQL协议接口的proxy。它集中地响应应用的请求,依据用户事先设置的规则,将SQL请求发送到特定的数据库上执行。基于此可以实现负载均衡、读写分离、高可用性等需求。与MySQL官方的MySQL Proxy相比,作者强调的是amoeba配置的方便(基于XML的配置文件,用SQLJEP语法书写规则,比基于lua脚本的MySQL Proxy简...
分类:
数据库 时间:
2014-06-26 14:18:15
阅读次数:
187
@Test public void test(){ //new UserImpl(); /* ProxyT proxy=new ProxyT(new UserImpl()); proxy.add(); proxy.update();*/ final User user=new UserI...
分类:
编程语言 时间:
2014-06-26 00:14:14
阅读次数:
260
代理模式(Proxy),为其他对象提供一种代理以控制这个对象的访问。 Subject类,定义了RealSubject和Proxy的公共接口,这样就在任何使用RealSubject的地方都可以使用Proxy。class Subject{public: virtual void Reque...
分类:
其他好文 时间:
2014-06-25 20:38:36
阅读次数:
207
1、首先先了解下NSNumber类型:
苹果官方文档地址:https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/Reference/Reference.html
NSNumber是NSValue的一个子类,它是一个对象来存储数字值包括bool...
分类:
移动开发 时间:
2014-06-25 19:33:49
阅读次数:
354
Objective-C is a class-based object system. Each object is an instance of some class; the object'sisapointer points to its class. That class describ.....
分类:
其他好文 时间:
2014-06-25 11:48:57
阅读次数:
162
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V.....
分类:
其他好文 时间:
2014-06-24 23:36:30
阅读次数:
486
??
Classes
类
Classes are the most important building block of any object-oriented system. A class is a description of a set of objects that share the same attributes, operations, relationships, ...
分类:
其他好文 时间:
2014-06-22 21:38:18
阅读次数:
226
前台:
//远程读取设备去向图表数据
var Store1 = new Ext.data.Store({
proxy:{
type:'ajax',
url:'/newmaterial/servlet/GetCountChartGoDatas',
reader:{
type:'array'
}
},
fields:[
"Sys...
分类:
Web程序 时间:
2014-06-22 20:51:18
阅读次数:
314
According to the order of data structure book, Arrays should be introduced in the frist time. When reviewing the some information related to arrays, I feel shocked that many useful classes and methods...
分类:
编程语言 时间:
2014-06-22 18:13:18
阅读次数:
316