-
【zk开发】zk引语的秘密
【zk开发】zk注解的秘密 TheDataBinderthatreadsZUMLannotationstocreatebindinginfo. YouhavetwowaystoannotateZKcomponents.For ZKdatabinding,youcanuse@{...}annotaionexpressionor <a:bind>annotationexpression. ...
388
热度 -
钱币换算 Currency conversion using php and Google calculator api
货币换算CurrencyconversionusingphpandGooglecalculatorapi ? Googleisawonderful!Whilemostofususeitforsearchingthewebforinformation,fewareawarethatithasaninbuiltcalculatorwhichcanalsobeusedforconvertingacurr...
591
热度 -
求通译 技术贴 有空的大神过来攒下
求翻译技术贴有空的大神过来攒下http://msdn.microsoft.com/en-us/data/dn468673CodeFirstInsert/Update/DeleteStoredProcedures(EF6onwards)EF6OnwardsOnly-Thefeatures,APIs,etc.discussedinthispagewereintroducedinEntityFramew...
482
热度 -
《Pro Oracle SQL》Chapter3-3.1Full Scan Access Methods之一
《ProOracleSQL》Chapter3--3.1FullScanAccessMethods之一Chapter3?AccessandJoinMethods访问和连接方法KarenMorton????(page83)???TheoptimizermustdeterminehowtoaccessthedatayourSQLstatementsrequire.Youformulateyourstat...
2304
热度 -
android 不能在子线程中更新ui的议论和分析
android不能在子线程中更新ui的讨论和分析问题描述做过android开发基本都遇见过ViewRootImpl$CalledFromWrongThreadException,上网一查,得到结果基本都是只能在主线程中更改ui,子线程要修改ui只能post到主线程或者使用handler之类。但是仔细看看exception的描述并不是这样的,“Onlytheoriginalthreadthatcre...
125
热度 -
android application生命周期引见
androidapplication生命周期介绍看到application这个类,一直不知道这个是干什么用的,今天刚好有点时间,所以进行了详细的学习。一.先对它的整体概念解释:在android源码中对他的描述是;*Baseclassforthosewhoneedtomaintainglobalapplicationstate.Youcan*provideyourownimplementationb...
13
热度 -
Android乱弹onLowMemory()跟onTrimMemory()
Android乱弹onLowMemory()和onTrimMemory()今天看郭哥的LitePal框架的源码,刚打开LitePalApplication里面的源码看到了这样一幕@Override publicvoidonLowMemory(){ super.onLowMemory(); mContext=getApplicationContext(); }不太懂郭哥的意思.之前依稀记得有人说...
15
热度 -
Objective-C Memory Management Being Exceptional 错误处理与内存
Objective-CMemoryManagementBeingExceptional异常处理与内存Objective-CMemoryManagement??BeingExceptional?异常处理与内存 3.1CocoarequiresthatallexceptionsmustbeoftypeNSException cocoa?需要所有的异常是NSException类型的。 soe...
220
热度 -
Oracle优化全攻略1(Oracle SQL Hint)
Oracle优化全攻略一(OracleSQLHint)其实Oracle的优化器有两种优化方式,基于规则的优化方式(Rule-BasedOptimization,简称为RBO)基于代价的优化方式(Cost-BasedOptimization,简称为CBO)所以hint也不例外,除了/*+rule*/其他的都是CBO优化方式RBO方式:优化器在分析SQL语句时,所遵循的是Oracle内部预定的一些规则...
79
热度 -
Android Camera(4)
AndroidCamera(四)保存媒体文件由用户创建的像图片和视频这样的媒体文件,应该保存到设备的外部存储目录中(SD卡)以节省系统空间,并且允许用户在本设备以外能够访问这些文件。在设备上有很多肯能的保存媒体文件的目录位置,但是作为开发者应该只考虑两个标准的位置:Evironment.getExternalStoragePublicDirectory(Environment.DIRECTORY_...
40
热度 -
I2C 总路线协议
I2C总线协议1.I2C协议2条双向串行线,一条数据线SDA,一条时钟线SCL。SDA传输数据是大端传输,每次传输8bit,即一字节。支持多主控(multimastering),任何时间点只能有一个主控。总线上每个设备都有自己的一个addr,共7个bit,广播地址全0.系统中可能有多个同种芯片,为此addr分为固定部分和可编程部份,细节视芯片而定,看datasheet。1.1I2C位传输数据传输:...
466
热度 -
人们网官方Android客户端源码分析
人人网官方Android客户端源码分析ContentProvider是不同应用程序之间进行数据交换的标准API,ContentProvider以某种Uri的形式对外提供数据,允许其他应用访问或修改数据;其他应用程序使用ContentResolver根据Uri去访问操作指定数据。人人网Android客户端也是使用ContentProvider对需要保存于Android客户端的数据进行管理。1.ren...
91
热度 -
写给系统管理员的25个PHP保险实践
写给系统管理员的25个PHP安全实践PHP是广泛使用的开源服务端脚本语言。通过HTTP或HTTPS协议,ApacheWeb服务允许用户访问文件或内容。服务端脚本语言的错误配置会导致各种问题。因此,PHP应该小心使用。以下是为系统管理员准备的,安全配置PHP的25个实践事例。用于下文的PHP设置样例DocumentRoot:/var/www/html默认Web服务:Apache(可以使用Lightt...
2
热度 -
钱币换算 Currency conversion using php and Google calculator api
货币换算CurrencyconversionusingphpandGooglecalculatorapi?Googleisawonderful!Whilemostofususeitforsearchingthewebforinformation,fewareawarethatithasaninbuiltcalculatorwhichcanalsobeusedforconvertingacurren...
306
热度 -
《Pro Oracle SQL》CHAPTER2-2.11 Determining the Execution Plan
《ProOracleSQL》CHAPTER2--2.11DeterminingtheExecutionPlanDeterminingtheExecutionPlan???确定执行计划?(page74)???Whenahardparseoccurs,Oraclewilldeterminewhichexecutionplanisbestforthequery.?Anexecutionplanissim...
57
热度 -
《Pro Oracle SQL》-chapter 5-5.6 Building Logical Expressions
《ProOracleSQL》--chapter5--5.6BuildingLogicalExpressions5.6BuildingLogicalExpresions构建逻辑表达式(page140)???Onceyouunderstandthequestionthatthestatementyouarewritingneedstoanswer,youhavetobeabletobuildtheSQ...
162
热度 -
Balsamiq Mockups 自定义控件跟页面模板
BalsamiqMockups自定义控件和页面模板 BalsamiqMockups自定义控件和页面模板 WorkingwithSymbols ? Startingwithversion2.0,MockupsforDesktopsupportstheconceptofSymbols.Othersoftwarereferstothissamefeatureastemplatesormasterpa...
568
热度 -
webalizer流量分析软件windows上的配置与使用
webalizer流量分析软件windows下的配置与使用 http://www.cnblogs.com/sdytzz/archive/2011/01/20/1292892.htmlwebalizer,在windows下运行,除了win32版的webalizer外,不需要其他任何支持。win32版的webalizer下载地址在这里下载后,解压缩在任意文件夹下即可然后打开simple.conf,另存...
51088
热度 -
JavaScript1.6新特性系列(通译)
JavaScript1.6新特性系列(翻译) ? JavaScript1.6introducesseveralnewfeatures:E4X,severalnew?Array?methods,andArrayandStringgenerics. ----JavaScript1.6介绍了几个新的功能:E4X,几个新的数组方法,以及Array和String泛型 ? ? ? Arrayextras(数组...
450
热度 -
When Runtime.exec() won't
Runtime.exec()sucks!!!!自己项目中使用到了Runtimert=Runtime.getRuntime();Processp=rt.exec("querysession");p.waitFor();结果在不同的windows操作系统中,程序的运行不一致,在windowsserver2008上可以很好的运行,但是到了windows7上去卡死了!!!!!!!!!!!!!!!!!!!!...
55
热度