自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

成不了佛,便堕落吧

不再有什么感情可说,该有的都有了,只是回味时,一切都那么的遥远

  • 博客(195)
  • 资源 (231)
  • 收藏
  • 关注

原创 windows 处理语音时需要注意的地方(directSound, ACM)

windows 处理语音时需要注意的地方(directSound, ACM)1.DirectSound播放语音(流式方式)时:secondBuffer 如果采用的是循环缓冲区的,需要在播放时采用循环方式,另外向缓冲区填充语音数据时,LockFlag最好是EntireBuffer2.语音编码/解码(调用ACM)需要注意 nBlockAlign 应该为相应的 WaveFormat 的 Bloc

2009-10-21 12:10:00 1118

原创 short数组 到 byte 数组的转换

这里的转换是指在二制上的转换,不是指数值上的转换   public static void Run() { short[] arrs = { -1, 2, 3, -2, 1 }; byte[] arrb = new byte[arrs.Length * 2]; Buffer

2009-10-13 16:27:00 2706

原创 jasper reports - parameters for ‘in clause’

今天有个需求,把参数传到 jasperReport 中,并且放到 where 的 in 条件式中, 比如 where id in (1,2,3)后来发现了 $X{} 的用法,如下  Supply the parameter as a List:Then use the the function$X{IN, , }For example<![CDATA[SELEC

2009-09-25 15:26:00 770

转载 google 的使用技巧

  在Google的输入框里,所有的空格都被Google理解为加号(+)。另外,过分常用的、单独存在没有意义的词汇往往被忽略掉..............如果你想要找含有“purpose of education”这个词组的文章,那么你必须输入【“purpose of education”】。..........为了进一步筛选搜索结果,还需要学会另外一个符号——减号(-)。比如,【

2009-08-27 11:32:00 1060

原创 C# 用 DirectX Sound 播放音乐文章时的异常

Value does not fall within the expected range.C#播放音乐创建 SecondaryBuffer 辅助的 buffer 时出现了异常,开始不清楚什么原因,后来才发现,应该是语音文件的格式不对,这种方式只能播放 Wav 文件格式(PCM格式),所以随便选一个语音文件应该是不行的,如果没有现成的语音文件,可以考虑用 windows 的 录音机来录一个。

2009-08-25 17:44:00 1712

原创 DLL is attempting managed execution inside OS Loader lock 解决

    在使用 Direct sound 时,会弹出下面的信息,如果一直按 VS 中的运行,程序会一直运行下去的,即下面的这个异常似乎可以去掉。      DLL bin/Debug/Microsoft.DirectX.DirectSound.dll is attempting managed execution inside OS Loader lock. Do not attempt to

2009-08-25 10:46:00 2549

原创 C# winform 的闭关按钮变灰,及取消关闭事件

转载请注明来自: http://blog.csdn.net/laorer查了些资料,有两种方式,下面是一种,但是没有达到效果,不知道哪里出了问题     private bool isEnableCloseButton = true; protected override CreateParams CreateParams {

2009-08-14 13:59:00 3934

原创 C# winform 中数据获取与界面显示有关的多线程问题

转载请注明来自: http://blog.csdn.net/laorer 代码中的 Print 可以当做是获取数据,需要注意的是 While(t !=1) 这部分里要加上 Refresh,否则 gif 是不会动的。 找了一些资料,要用到 InvokeRequred , 不清楚具体怎么用,留着后面考虑.  可以考下: http://topic.csdn.net/u/200

2009-08-13 17:07:00 3435 2

原创 PropertyGrid 中修改属性后, 即时显示出来

 比如 一个对象 obj(:UserControl), 有一个属性 prop, 其可以在 PropertyGrid 显示出来并能在上面改变,现在在 PropertyGrid 中改变 属性 prop, 希望 其能立即显示出来,而不是等 propertyGrid 失去焦点后 obj 的改变再显示出来,  只需要在 属性 Prop 的 set 的最后一行加上 Invalid()基本上就可以了  

2009-07-31 15:18:00 1680

原创 列举 所有的 culture

private void InitLocale() { CultureInfo[] cultures = CultureInfo.GetCultures(CultureTypes.AllCultures); foreach (CultureInfo c in cultures) {

2009-07-31 09:16:00 693

原创 C# Panel 中加入 hScrollBar

 需求: 要在 Panel 动态的放置多个 Button, 而且是一字排开, 不换行,  Panel 的宽度固定的, 所以 Button 特别多时, 就需要有滚动条, 由于某种原因, Panel 的 AutoScroll 要设为 false解决:因为不能使用 Panel 自带的 Scroll 功能, 所以需要加个 HScrollBar, 并且要在设置其 OnScroll 事件具体代码如

2009-07-21 18:21:00 4530

转载 关于使用dom4j生成xml时特殊字符处理的解决方法

转自: http://hrbyzq.blogbus.com/logs/20355420.html在使用dom4j生成xml文件时,对于特殊字符“&”,总会自动生成"&",因此在输入""时,<代表在创建writer对象时操作如下:XMLWriter writer = new XMLWriter(fmt); //以输出格式为参数创建xml输出对象 writer.setEscapeTe

2009-07-17 14:38:00 6231

转载 VS2005 C#WinForms控件 的一些属性

转自:http://hi.baidu.com/276598908/blog/item/df473eecb713de3b279791dd.htmlVS2005 C#WinForms控件笔记2008年09月07日 星期日 20:37窗体属性                  1,AcceptButton   默认“回车”选定的按钮,在不使用Table键的情况下,用户敲击

2009-07-09 11:11:00 1886

转载 servlet里经常会用到一些GET方法

servlet里经常会用到一些GET方法refer: http://hi.baidu.com/atomicface/blog/item/de62ac10c099c8cea6ef3f5b.html2009-05-18 14:04servlet里经常会用到一些GET方法,容易弄混,把它们记在这儿了。servletContext.getContextPath()=se

2009-07-03 09:26:00 2253 1

转载 常用长度单位PX/EM/PT/百分比转换公式

后两个可以稍微看下,一般情况下就用 px = (4*pt)/3 吧 http://www.weste.net/2009/2-3/1106261329.html PX、PT、EM、ex和in等都是我们常用的长度单位,尤其在网页的字体大小中经常用到。但是你知道PX、PT和EM之间是如何进行准换的吗?这里icech为大家找到了一个px、pt、em和percent大小转换的一个表格,尤其针

2009-06-29 11:05:00 4174

原创 C# 调用 colorDialog, 列举 字体

private void btnColor_Click(object sender, EventArgs e) { Button btn = sender as Button; ColorDialog colorDialog = new ColorDialog(); colorDialog.Allo

2009-06-25 17:20:00 1995 2

转载 浅学rdl报表

浅学rdl报表 2007-12-21 11:28http://yan.sunny86.blog.163.com/blog/static/421871372007112111284452/分类:编程 字号: 大大  中中  小小 应用于:Microsoft® SQL Server™ 2005 报表服务目录关于这篇文档 其他信息来源 产品版本 简介 

2009-06-23 14:39:00 7838 4

原创 java. socket 通信之后要 flush

socket通信最后数据流要flush一下 http://topic.csdn.net/u/20090603/22/be82eb2a-dee3-445b-b618-31c1cc2107b1.html 写了一个手机程序,上面是所有的import,在模拟器中可以运行 用SUN JAVA WTK生成JAR的程序,放到手机中安装显示程序不兼容, 不知道问什么啊? 我用了诺基亚E**的一个智

2009-06-08 11:13:00 2774

原创 vba 中, 创建文件夹, 获取行数, 新建excel文件

   在文件夹不存在的情况,建立一个文件夹Sub createDir(pathName As String) Dim tmpDir As String    On Error Resume Next    tmpDir = Dir(pathName)    If tmpDir = "" Then        MkDir pathName    End If    End Sub

2009-06-06 18:42:00 3565 4

原创 java 处理 带有 namespace 的 XPath

 由 RobinKin  提供需要对命名空间一一定义 string xml = ""; XmlDocument xmldoc = new XmlDocument(); xmldoc.LoadXml(xml); XmlNamespaceManager xnm = new XmlNamespace

2009-05-22 09:32:00 1833 1

原创 ant 配置 停止 tomcat, 打包程序成 war 文件夹,启动 tomcat 一体

转载请保留: http://blog.csdn.net/laorer , 谢谢! 没什么好说的,就是一个文件,把几个功能集成在一起, 其他的好说,就是停止和启动  tomcat 时遇到了问题,不过已经解决, 代码里有些多余的,你可以自己去掉他  

2009-05-21 21:52:00 3302

原创 js window.open('url','_blank') 打开服务器端临时文件, ie窗口一闪而过

http://blog.csdn.net/laorer String showWindow =" window.open(url,_blank) "; http://xxx.xxx.xxx.xxx/xxxx/files/20090519160357312.doc 功能目的:在客户端用ie打开服务器目录下的一个doc文件实现预览。 我的实现是自己写了个树读取服务器所有的目录文件。用户

2009-05-21 18:00:00 4673

原创 rdlc 报表中 Width, PageWidth, InteractiveWidth 各指的是什么?

 http://blog.csdn.net/laorerWidth:报表的宽度,注意这里的宽度不是最终宽度。子容器宽度超过Report.width。最终宽度会改变。 这个似乎是不包含在 margin 的宽度 PageWidth:报表的默认宽度,默认为8.5in(8.5*2.54=21.59cm),整张纸的宽度 这个宽度是 美国 A4纸的宽度 (letter size),与国内的标准不一

2009-05-13 17:30:00 2654

原创 OnMouseHover事件获取坐标信息

C# winform 中, OnMouseHover事件没有 坐标信息,如何获取坐标信息呢?可以通过  Control.MousePosition   或 Cursor.Position 得到鼠标所在的屏幕坐标信息,然后通过 PointToClient 转换成工作区的坐标信息Point pt = this.PointToClient(Control.MousePosition)

2009-05-08 16:03:00 2226

原创 C# ReportViewer 的显示控制

下面的这段代码可以显示为 printLayout 形式, rptViewer.SetDisplayMode(DisplayMode.PrintLayout); rptViewer.ZoomMode = ZoomMode.Percent; rptViewer.ZoomPercent = 100;  Reference:http://so

2009-04-30 17:36:00 1360

原创 MDIForm激活子窗体

 直接用 是 subForm.Activate();

2009-04-30 15:52:00 901

原创 ControlDesigner 不存在的解决

 在 c#2.0 中,如果自定义设计时的事件,就需要扩展 ControlDesigner,从 msdn 上拷了一个例子,结果报了下面的错误:错误 1 命名空间“System.Windows.Forms.Design”中不存在类型或命名空间名称“ControlDesigner”(是缺少程序集引用吗?) 用对象浏览器查了一下,这个类是存在的,但是编译一直不能通过,而且我的引用中 System.

2009-04-30 10:07:00 5101 2

原创 C# 获取被调用函数的信息

C# 获取被调用函数的信息可以在实现自己的 log 方法中使用在参考中加了两条语句... public partial class CallStack : Form { public CallStack() { InitializeComponent(); } privat

2009-04-24 09:48:00 3813

原创 自定义UserControl中包含封装了集合对象的属性被设计器自动初始化所引起的错误

http://social.microsoft.com/Forums/zh-CN/visualcshartzhchs/thread/231fdd62-8157-43c0-b48a-78b05e9f0b11 写的一个 userControl中,打开使用的 form 的设计页面时,总是出现 "的对象无法转换为类型" 上面这个链接给出院解决方法 在相应的 属性上面加上下面这段,就

2009-04-09 17:53:00 877

原创 c#2.0 中的 dataGridView 的使用

C#中 DataGridView 属性说明http://blog.csdn.net/tangcx/archive/2007/09/12/1782297.aspxDataGridView重绘代码参考--C# http://www.cnblogs.com/ghostljj/archive/2007/10/05/914423.htmlDataGridView Tutorial in C#http

2009-04-08 17:25:00 783

原创 java解析xml时出现 java.net.MalformedURLException: unknown protocol:异常

java解析xml时出现 java.net.MalformedURLException: unknown protocol:异常http://topic.csdn.net/u/20090330/11/e9458948-6700-4703-94df-69c4776a91f5.html?1532567408解决办法:在应用路径里去掉对gnujaxp.jar包的引用。 原因:jdom在解释xml

2009-04-07 11:41:00 2232 1

原创 修改代码时,请不要引用新的 bug

      今天上班,准备继续上周的问题来修改代码,做一些已经实现过的操作,但是突然发现,原来已经实现过的东西,现在有问题了。调试吧,调了几遍,发现有个 list 比原来多加了 一些内容,这些内容是在初始化时操作的,再继续,发现问题所在,开始时,在把 list 的初始化放在form 的构造函数中,后来由于放在 构造函数中引出了一些问题,就放其放在 formLoad 事件中,这样,当重新变化 lis

2009-03-30 10:13:00 1226

原创 C# 中关于 List 的 Xml序列化

 具体代码如下,就是加了两个 Attribute,注意不要写成了 [XmlElement], 否则出现的结果会是 并排的情况,   Exrpe  Exrpe2而下面产生的结果将是      Exrpe    Exrpe2  [XmlArray("Expressions")] [XmlArrayItem("Expression")] pub

2009-03-16 14:37:00 4456

原创 重写 TypeConverter 时,自定义子属性顺序

重写 TypeConverter 时,如果子属性需要按一定的顺序 public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) { Strin

2009-03-16 10:46:00 1189

原创 xml 序列化时, 去掉默认的命名空间

C# 的 xml 序列化时,文档总会带有xmlns:xsd="http://www.w3.org/2001/XMLSchema"andxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"如果想去掉,或者添加自己的命名空间,可以考虑下面的做法  //Create our own namespaces for the outpu

2009-03-11 17:25:00 8721 1

转载 XmlSerializer 常见问题疑难解答

XmlSerializer 常见问题疑难解答 http://msdn.microsoft.com/zh-cn/library/aa302290.aspx发布日期 : 6/30/2004 | 更新日期 : 6/30/2004Christoph Schittko适用于:Microsoft ®Visual Studio ®.NET摘要:Christoph Schitt

2009-03-09 10:11:00 2288

原创 .net 序列化时,需要注意的一些问题

 1. 需要序列化的类可以继承其他类(但好像要满足一些条件),可以实现其他接口2.需要序列化的字段不可以为空值实验所得 3.  enum 不会为空,所以在序列化的时候,带有 enum 类型的属性必须要赋值,否则会报 InvalidOperationException 异常

2009-03-02 10:14:00 658

原创 引入 System.Drawing时,引入不进来

用VS2005 开始新建一个 console 项目,后来要用到 Font,但引入 System.Drawing时,引入不进来,这时可以先新建一个 windows form,然后再引入,基本上就可以解决问题了

2009-02-27 13:58:00 1309

原创 C#, 画线后,移动时去掉重影

开始想的是记住原来的位置,重新用背景色画一次http://topic.csdn.net/u/20090129/13/e259e01f-00e1-4b9d-ac74-4961b79027bc.html  后来在画之前先 graphics.clear(parentColor)就可以了

2009-02-20 17:00:00 2283

原创 winform 在不同的机子上显示不一样的解决

上次做了个 winform 的东东,在本机上显示得好好的,但到了 pe 机子上时,winform就拉长了,不清楚什么原因,后来网上找到原因:AutoScale属性 (http://blog.csdn.net/hesicong/archive/2005/02/09/284907.aspx)最近我我在英文XP SP2环境下制作了一个比较精美的界面,请一个同学帮忙测试。他用的是中文版的操

2009-02-09 16:40:00 1483

快速软件开发 有效控制和完成进度计划

快速 软件 开发 有效控制和完成进度计划

2010-08-20

spring-webflow-2.2.0.M1

spring-webflow-2.2.0.M1.zip

2010-08-18

Best Android Apps.pdf

Best Android Apps.pdf

2010-08-18

Solving Everyday Problems With the Scientific Method Thinking Like a Scientist

Solving Everyday Problems With the Scientific Method Thinking Like a Scientist.pdf

2010-08-18

Improve Your Written English.pdf

Improve Your Written English.pdf

2010-08-13

Hello, Android 3rd Edition.pdf

Hello, Android 3rd Edition.pdf

2010-08-13

Moodle 1.9 English Teacher's Cookbook

Moodle 1.9 English Teacher's Cookbook.pdf

2010-08-13

Manning.jQuery.in.Action.2nd.Edition.Jun.2010

Manning.jQuery.in.Action.2nd.Edition.Jun.2010.pdf

2010-08-12

Lucene-in-Action-2nd-Edition---Manning

Lucene-in-Action-2nd-Edition---Manning.pdf 英文版

2010-08-12

droiddraw-r1b13

droiddraw-r1b13.zip 通过这个工具不仅可以布局应用程序的界面,而且对我们学习应用程序的布局也是个很好的教材,其对操作的描述完全是按照Android SDK中关于界面布局的解析 http://www.moandroid.com/?p=390

2010-07-21

osworkflow-chinese-manual.pdf

osworkflow-chinese-manual.pdf

2010-07-21

IT人健康宝典V2版.pdf

IT人健康宝典V2版.pdf 从其他地方下下来的

2010-07-15

property visual map

property visual map property 的api概览图

2010-07-14

jquery visual map

jquery visual map jquery 的api概览图

2010-07-14

cas-client-3.1.3-release.zip

cas-client-3.1.3-release.zip 单点登出需要的的包

2010-07-14

Python+Tutorial+2.chm

\Python+Tutorial+2.chm

2010-07-14

apache-roller-src-4.0.1 源代码

apache-roller-src-4.0.1 源代码

2010-07-14

roller 另外要加入的 jar包

roller-other.jars.rar activation.jar mail.jar mysql-connector-java-3.1.11-bin.jar

2010-06-30

apache-roller-4.0.1

apache- roller-4.0.1

2010-06-30

批处理 环境变量设置

环境设置 直接批处理,只用于 win下,xp是成功的,vista 和win7没试过

2010-06-30

PortableGit-1.7.3.1-preview20101002.7z

PortableGit-1.7.3.1-preview20101002.7z 使用eclipse的插件egit http://download.csdn.net/source/2819827

2010-11-09

egit.0.9.3

eclipse 3.5以上版本最好, 应该支持3.6, 3.7没试,可能支持 应该还是比较好用 感觉可以直接在本地保存,而不必要连到服务器上,设置都比较简单 按照eclipse的插件方式安装, 如果要用link方式安装的话,把这个解压到一个目录,写个link文件放到dropins目录下 windows下的 git, http://download.csdn.net/source/2819852

2010-11-09

unlocking_android.pdf.pdf

Part I: What is Android—The Big Picture Chapter 1: Targeting Android Chapter 2: Development environment Part II: Learning Android’s Key Technologies Chapter 3: User Interfaces Chapter 4: Intents and Services Chapter 5: Storing and Retrieving Data Chapter 6: Networking Chapter 7: Telephony Chapter 8: Notification and Alarms Chapter 9: Graphics and Animation Chapter 10: Multimedia Chapter 11: Location Based Services Part III: Android applications for the Real Device Chapter 12: Putting it all together: A Field Service Application Chapter 13: Hacking Android Appendix: Installing the Android SDK

2010-11-03

ProgrammingInScala --draft june 13,2007

I Rationale 1 II Scala by Example 7 1 A First Example 11 2 Programming with Actors andMessages 15 3 Expressions and Simple Functions 19 3.1 Expressions And Simple Functions . . . . . . . . . . . . . . . . . . . . . . 19 3.2 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.3 Conditional Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.4 Example: Square Roots by Newton’sMethod . . . . . . . . . . . . . . . . 23 3.5 Nested Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.6 Tail Recursion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4 First-Class Functions 29 4.1 Anonymous Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 4.2 Currying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.3 Example: Finding Fixed Points of Functions . . . . . . . . . . . . . . . . 34 4.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.5 Language Elements Seen So Far . . . . . . . . . . . . . . . . . . . . . . . 36 5 Classes and Objects 39 6 Case Classes and PatternMatching 51 6.1 Case Classes and Case Objects . . . . . . . . . . . . . . . . . . . . . . . . 54 6.2 PatternMatching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

2010-10-28

checkstyle_eclipse5.3插件 及最sun_check.rar

checkstyle_eclipse 支持eclipse3.5 有一份eclipse的格式化模板 

2010-10-25

Sams.Sams.Teach.Yourself.PHP.in.10.Minutes.Mar.2005.eBook-LiB.chm

Lesson 1. Getting to Know PHP PHP Basics Your First Script Summary Lesson 2. Variables Understanding Variables Data Types Summary Lesson 3. Flow Control Conditional Statements Loops Summary Lesson 4. Functions Using Functions Arguments and Return Values Using Library Files Summary Lesson 5. Working with Numbers Arithmetic Numeric Data Types Numeric Functions Summary Lesson 6. Working with Strings Anatomy of a String Formatting Strings String Functions Summary Lesson 7. Working with Arrays What Is an Array? Array Functions Multidimensional Arrays Summary Lesson 8. Regular Expressions Introducing Regular Expressions Using ereg Summary Lesson 9. Working with Dates and Times Date Formats Working with Timestamps Summary Lesson 10. Using Classes Object-Oriented PHP What Is a Class? Creating and Using Objects Summary Lesson 11. Processing HTML Forms Submitting a Form to PHP Processing a Form with PHP Creating a Form Mail Script Summary Lesson 12. Generating Dynamic HTML Setting Default Values Creating Form Elements Summary Lesson 13. Form Validation Enforcing Required Fields Displaying Validation Warnings Enforcing Data Rules Highlighting Fields That Require Attention Summary Lesson 14. Cookies and Sessions Cookies Sessions Summary Lesson 15. User Authentication Types of Authentication Building an Authentication System Summary Lesson 16. Communicating with the Web Server HTTP Headers Server Environment Variables Summary Lesson 17. Filesystem Access Managing Files Reading and Writing Files Summary Lesson 18. Host Program Execution Executing Host Programs The Host Environment Security Considerations Summary Lesson 19. Using a MySQL Database Using MySQL Executing SQL Statements Debugging SQL Summary Lesson 20. Database Abstraction The PEAR DB Class Database Portability Issues Summary Lesson 21. Running PHP on the Command Line The Command-Line Environment Writing Scripts for the Command Line Summary Lesson 22. Error Handling Error Reporting Summary Lesson 23. PHP Configuration Configuration Settings Configuration Directives Loadable Modules Summary Lesson 24. PHP Security Safe Mode Other Security Features Summary Lesson 25. Using PEAR Introducing PEAR Using PEAR Summary Appendix A. Installing PHP Linux/Unix Installation Windows Installation Troubleshooting Index

2010-10-22

php_manual_zh(2010-08-16).chm

入门指引 简介 简明教程 安装与配置 安装前需要考虑的事项 Unix 系统下的安装 Mac OS X 系统下的安装 Windows 系统下的安装 FastCGI 进程管理器 (FPM) PECL 扩展库安装 还有问题? 运行时配置 语言参考 基本语法 类型 变量 常量 表达式 运算符 控制结构 函数 类与对象 命名空间 异常处理 引用的解释 Predefined Variables Predefined Exceptions Predefined Interfaces Context options and parameters

2010-10-21

Structure and Interpretation .chm

1 Building Abstractions with Procedures 1.1 The Elements of Programming 1.1.1 Expressions 1.1.2 Naming and the Environment 1.1.3 Evaluating Combinations 1.1.4 Compound Procedures 1.1.5 The Substitution Model for Procedure Application 1.1.6 Conditional Expressions and Predicates 1.1.7 Example: Square Roots by Newton's Method 1.1.8 Procedures as Black-Box Abstractions 1.2 Procedures and the Processes They Generate 1.2.1 Linear Recursion and Iteration 1.2.2 Tree Recursion 1.2.3 Orders of Growth 1.2.4 Exponentiation 1.2.5 Greatest Common Divisors 1.2.6 Example: Testing for Primality 1.3 Formulating Abstractions with Higher-Order Procedures 1.3.1 Procedures as Arguments 1.3.2 Constructing Procedures Using Lambda 1.3.3 Procedures as General Methods 1.3.4 Procedures as Returned Values

2010-10-21

Agile Web Application Development with Yii 1.1 and PHP5.pdf

Preface 1 Chapter 1: Meet Yii 7 Yii is easy 8 Yii is efficient 8 Yii is extensible 9 MVC architecture 9 The model 10 The view 10 The controller 10 Stitching these together: Yii request routing 11 Blog posting example 11 Object-relational mapping and Active Record 13 Active Record 14 The view and controller 14 Summary 15 Chapter 2: Getting Started 17 Installing Yii 17 Installing a database 19 Creating a new application 19 Hello, World! 22 Creating the controller 22 One final step 26 Reviewing our request routing 27 Adding dynamic content 28 Adding the date and time 28 Adding the date and time, a better approach 29 Moving the data creation to the controller 29 Have you been paying attention? 30

2010-10-21

PHP Hacks -Jack Herrington -December 2005

Chapter 1. Installation and Basics Section 1.1. Hacks 12: Introduction Hack 1. Install PHP Hack 2. Install PEAR Modules Chapter 2. Web Design Section 2.1. Hacks 310: Introduction Hack 3. Create a Skinnable Interface Hack 4. Build a Breadcrumb Trail Hack 5. Create HTML Boxes Hack 6. Add Tabs to Your Web Interface Hack 7. Give Your Customers Formatting Control with XSL Hack 8. Build Lightweight HTML Graphs Hack 9. Properly Size Image Tags Hack 10. Send HTML Email Chapter 3. DHTML Section 3.1. Hacks 1126: Introduction Hack 11. Put an Interactive Spreadsheet on Your Page Hack 12. Create Pop-Up Hints Hack 13. Create Drag-and-Drop Lists Hack 14. Build Dynamic HTML Graphs Hack 15. Section Your Content with Spinners Hack 16. Create Drop-Down Stickies Hack 17. Create Dynamic Navigation Menus Hack 18. Obscure JavaScript Dynamically Hack 19. Build a DHTML Binary Clock Hack 20. Tame Ajax with JSON Hack 21. Make a DHTML Slideshow Hack 22. Add Vector Graphics with PHP Hack 23. Build a Color Selector Hack 24. Create Link Graphs Hack 25. Create an Interactive Calendar Hack 26. Create the Google Maps Scrolling Effect Chapter 4. Graphics

2010-10-19

GETTING THINGS DONE

Part 1: The Art of Getting Things Done 1 Chapter 1 A New Practice for a New Reality 3 Chapter 2 Getting Control of Your Life: The Five Stages of Mastering Workflow 24 Chapter 3 Getting Projects Creatively Under Way: The Five Phases of Project Planning 54 Part 2: Practicing Stress-Free Productivity 83 Chapter 4 Getting Started: Setting Up the Time, Space, and Tools 85 Chapter 5 Collection: Corralling Your "Stuff" 104 Chapter 6 Processing: Getting "In" to Empty 119 Chapter 7 Organizing: Setting Up the Right Buckets 138

2010-09-17

gettingthingsdone.

第一部分 通向从容之道 6 第一章 新情况,新做法 7 像实干家一样思考问题,像思想家一样付诸行动。 第二章 横向管理工作进程的5个阶段 23 我们应该使任何事物都变得越简单越好,而不是比较简单。 第三章 纵向管理:巧妙制定工作计划 47 当着手处理平凡琐事的时候,必须着眼于大局,这样一来,所有的烦琐小事才能够沿着正确的方向发展。 第二部分 远离压力,提高效率 69 第四章 确定时间、空间和工具 70 提升个人工作效率的最佳手段之一,就是拥有你乐于使用的管理工具。 第五章 收集阶段:填充工作篮 83 训练自己发现那些没有到位的事情。 第六章 处理阶段:清空工作篮 97 工作篮是一个处理问题的站点,而不是一个存储容器。 第七章 管理阶段:建立好清单 112 在从局部管理向全局总揽的转化过程中,一个完整和同步的工作清单堪称为一个主要的运作手段。 第八章 检查阶段:回过头看看 142 只要你保证在适当的时间查阅适当的资料,每天几秒钟也就是回顾检查所需要的全部时间。 第九章 行动阶段:选最佳方案 149 你的工作是发现你的工作,然后全身心地投入到其中去。 第十章 创造性地思考工作 163 准备行动、创造条件,对工作进行一些创造性的思考。然后,你就把大多数人远远地抛在后面了。 第三部分 事半功倍的几个窍门 171 第十一章 窍门1:养成收集和自省的习惯 172 焦虑感和内疚感并非是由于承担太多的工作而造成的,这是由于你撕毁了同自己签订的协议而自然导致的后果。 第十二章 窍门2:下一步行动 180 无论问题有多么大、多么严峻,你总可以向解决它们的方向迈出小小的一步,来根除掉束手无策的感觉。行动起来吧。 第十三章 窍门3:关注结果 190 没有明确任务的展望充其量只是一个梦想,而缺乏前景的任务只是痛苦和艰辛的劳作。同时拥有前景和任务才是世界的希望。 第四部分 结论 195

2010-09-17

Getting StartED with Dojo.pdf

Contents at a Glance ........ iv Contents .........v About the Author............. xi About the Technical Reviewer .......... xii Acknowledgments .......... xiii Introduction ...xiv Chapter 1: JavaScript Fundamentals.....1 Chapter 2: Digging Deeper 29 Chapter 3: Enhancing with Dojo ........ 49 Chapter 4: Dojo DOM Basics.............. 87 Chapter 5: Managing User Interaction with Dojo . 119 Chapter 6: Make It Rich .. 141 Chapter 7: Dynamic Data 171 Chapter 8: Widgets ....... 193 Chapter 9: Where to Go from Here... 233 Appendix A: Setting Up a Local Web Server ....... 265 Appendix B: Dojo Base Quick Reference ........... 281 Appendix C: Plug-ins...... 289 Index.......... 317

2010-09-15

Mastering Dojo-JavaScript and Ajax Tools for Great Web Experiences

1 Introduction 9 1.1 Key Aspects of Dojo . 12 1.2 Using the Book . . . 15 1.3 Acknowledgments . . 17 I Ajax the Dojo Way 19 2 Powerful Web Forms Made Easy 20 2.1 What Customers Are Saying About Your Form 21 2.2 Installing Dojo on Your Own Server . . 21 2.3 Adding Dojo and Dijit to a Page . . . . 22 2.4 Laying Out the Form 26 2.5 Improved Form Controls . . . 31 2.6 Wrapping It Up . . . 34 3 Connecting to Outside Services 37 3.1 Dojo Remote Scripting . . . . 37 3.2 JavaScript Idioms for Calling XHR . . 39 3.3 A Wish List with dojo.data and dojox.grid.Grid . 46 3.4 Researching Cigars Using JSONP . . . 56 3.5 Reviews with dojo.xhrGet . . 63 3.6 Errors and Debugging . . . . 67 II The Dojo APIs 70 4 Dojo In Depth 71 4.1 Modularizing JavaScript . . . 71 4.2 Dojo Source Code Organization . . . . 75 4.3 Loading Dojo 78

2010-09-15

Dojo中文手册-- 简单的体验

内容目录 1 简介.. 3 2 Dojo工具包:JavaScript开发的水槽(Kitchen Sink)....3 3 设置和配置Dojo. 4 3.1 选择正确的Dojo创建4 3.2 动态加载package...5 3.3 定制的创建.. 5 4 应用:旅行路线编辑器 6 5 DOM和HTML效果 6 5.1 处理DOM.... 7 5.2 Dojo的HTML效果....8 6 使用dojo.io.bind()的Ajax远程调用8 6.1.1 淡出和移除9 6.1.2 使用XMLHttpRequest来告诉服务器发生了什么.. 9 7 拖放操作.. 10 7.1.1 连接所有的天....11 7.1.2 连接单个的天....11 7.1.3 onLoad 11 8 结论 12

2010-09-15

HTML5 for Web Designers.pdf

HTML5 for Web Designers.pdf

2010-09-14

Smart SVN

Smart SVN

2010-08-31

android book

android book

2010-08-30

heidiSQL mysql gui

HeidiSQL_5.1_Portable mysql gui

2010-08-25

精通Apache Velocity

精通Apache Velocity.pdf 这个可能比较老了,我看了下,似乎是 1.3左右的,

2010-08-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除