搜索到与相关的文章
编程技术

J2ME:颜色渐变

1:importjavax.microedition.lcdui.Graphics;2:3:publicclassCrystalRGB{4:5:publicfinalstaticvoiddrawRGBVRect(Graphicsg,intcolor,intx,inty,6:intwidth,intheight){7:int[]rgb=getRGBVColor(color,height);8:for(inti=0;i9:intnTemp=x+width-(i

系统 2019-08-29 23:27:50 2657

编程技术

SSH: connect to host localhost or ip addr po

Solution:Onepossiblereasonisthatbecausethesshserverdaemon,orsshd,isnotloadedandrunningonlocalhost,soanyattempttosshconnecttolocalhostwouldfail.Ichecktoseewhethersshandsshdarerunningbytypingthefollowingcommand:$psaux|grepssh#Result

系统 2019-08-29 22:22:28 2657

CSS

控制td换行的css样式

遇到一个棘手的问题,即便是给td限定的宽度,但是如果里面的内容是连续的,IE就认为是一个单词,不会换行,瞎聪明,google了一通,用css把问题解决了,css这玩意太强了,收藏一下,控制td换行的css样式:style="word-wrap:break-word;word-break:break-all;"123

系统 2019-08-29 22:07:14 2657

编程技术

rcp 的学习技术

(一)创建一个新的Eclipse插件工程请按照下列步骤为你的丰富的客户端应用程序创建一个新的Eclipse插件工程:1.在Eclipse中创建一个新的插件工程,并命名工程为EclipseTradeClient。把这个插件的应用目标定位在Eclipse3.1版本,并且确保点选了"CreateanOSGibundlemanifest"(见图1),并点击Next。图1."NewPlug-inProject"对话框在Eclipse中创建一个新的插件工程Eclips

系统 2019-08-12 09:30:23 2657

各行各业

数论——Lucas定理模板

FormulationFornon-negativeintegersmandnandaprimep,thefollowingcongruencerelationholds:whereandarethebasepexpansionsofmandnrespectively.#include#include#includeusingnamespacestd;typedeflonglongllg;constin

系统 2019-08-12 09:27:03 2657

数据库相关

windbg笔记

数据结构ModuleEEClassMD(MethodDesc)MT(MethoddescTable)Object基本命令~*e!clrstack查看所有持有和等待锁的线程(的下一条要执行的代码)k观察非托管堆栈x<模块名>!*<函数名>*查看符号lm-f显示已经载入的模块及其完整路径sxe<异常类型号>发生指定异常时中断元命令.hh<命令名>打开帮助文档,并显示其命令的文档索引.logopen/t/u<日志文件路径>创建日志文件,将在windbg所有的输出

系统 2019-08-12 01:52:40 2657

SqlServer

走向DBA[MSSQL篇] 从SQL语句的角度 提高数据库

原文:走向DBA[MSSQL篇]从SQL语句的角度提高数据库的访问性能最近公司来一个非常虎的dba10几年的经验这里就称之为蔡老师吧在征得我们蔡老同意的前提下我们来分享一下蔡老给我们带来的宝贵财富欢迎其他的dba来拍砖目录1、什么是执行计划?执行计划是依赖于什么信息。2、统一SQL语句的写法减少解析开销3、减少SQL语句的嵌套4、使用“临时表”暂存中间结果5、OLTP系统SQL语句必须采用绑定变量6、倾斜字段的绑定变量窥测问题7、begintran的事务要

系统 2019-08-12 01:52:36 2657

Tomcat

How Tomcat Works(六)

本文继续分析HttpProcessor类,该类实现了org.apache.catalina.Lifecycle接口和java.lang.Runnable接口我们先分析它的构造函数/***TheHttpConnectorwithwhichthisprocessorisassociated.*/privateHttpConnectorconnector=null;/***TheHTTPrequestobjectwewillpasstoourassociated

系统 2019-08-12 01:33:25 2657

Tomcat

tomcat生成调试日志配置

创建文件logging.properties文件存放于应用WEB-INF/classes下文件内容如下:1handlers=org.apache.juli.FileHandler,java.util.logging.ConsoleHandler23############################################################4#Handlerspecificproperties.5#Describesspecifi

系统 2019-08-12 01:33:22 2657

C#

C#操作 Advantage Database Server 数据库

相关下载http://devzone.advantagedatabase.com/dz/content.aspx?key=311.安装数据库:AdvantageDatabaseServer2.安装数据库工具:AdvantageDataArchitect3.安装.NET数据访问组件(Advantage.Data.Provider.dllfor.net2.0或Advantage.Data.Entity.dllfor3.5以上):Advantage.NETDat

系统 2019-08-12 01:33:03 2657