E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
cookbook
《PHP
Cookbook
》学习笔记(一)
看《PHP
Cookbook
》,边学边写,边写边学。
linglongwunv
·
2010-03-29 17:00
PHP
String
null
hex
Flex学习记录(转
cookbook
在图表中选择一个区域)
首先使用图表的selectionMode 属性设置需要选择的区域类型,然后使用鼠标键盘或者程序 来选择图表中的元素。 与其他列表组件相似,图表的元素是可选的。这有利于用数据网格或二级图表显示数据点上 更多的细节。要使图表可选,就要设定selectionMode 属性为single 或者mulitiple (selectionMode 属性的默认设置是none)。selectionMode
dunhuacc12
·
2010-03-25 17:00
Flex
actionscript
Flex学习记录(转
cookbook
为图表添加效果)
来自mx.effects 包的任何效果都能在图表上的数列或坐标轴添加的效果。一个简单的翻转效 果就可以使图表的显示效果和使用效果大大提高。以下是一个简单的效果,当鼠标离开图表, 图表就会变得透明,当鼠标放在图表上,图表就变得不透明。 <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layo
dunhuacc12
·
2010-03-24 17:00
Flex
flash 检测运行环境
cookbook
第三章 flash.system.Capabilities 检测播放器版本 检测操作系统 检测播放器类型 检测显示设置 缩放影片 改变对齐方式
wuzijingaip
·
2010-03-20 11:00
JavaScript
应用服务器
浏览器
Flash
actionscript
uiswitch custom
iphone-user-interface/192-aendern-des-textes-von-uiswitch-elementen.html EricaSadunhatinIhremBuch"TheIPhoneDeveloper's
Cookbook
ljuncong
·
2010-03-17 11:00
Java reflect
【转】Java反射经典实例 Java Reflection
Cookbook
关键字: 反射 Java提供了一套机制来动态执行方法和构造方法,以及数组操作等,这套机制就叫——反射。
enlbi
·
2010-03-09 16:00
java
spring
Hibernate
框架
J#
ActionScript3
Cookbook
中摘取(五)(搜藏)
1、BitmapData与bitmap的关系addChild()方法添加的对象必须是flash.display.DisplayObject的子类才行,而BitmapData类继承自Object,所以不能直接加到列表中。要加到可视化对象列表中,可使用flash.display.Bitmap类,它是DisplayObject.类的子类,实际上是BitmapData的一个包装类,允许BitmapData
tsyouaschen
·
2010-03-03 11:00
windows
css
Flash
actionscript
ruby
cookbook
-- 10.7检查对象是否具有必需的属性
检查是否具有实例变量 class Object def must_have_instance_variables(*args) vars = instance_variables.inject({}) { |h,var| h[var] = true; h } args.each do |var| unless vars[var]
orcl_zhang
·
2010-03-01 23:00
Ruby
ruby
cookbook
-- 10.6. Listening for Changes to a Class监听类的变化
当增加新方法,类方法删除和取消定义的现有方法 class Tracker def important "This is an important method!" end def self.method_added(sym) if sym == :important raise 'The "i
orcl_zhang
·
2010-03-01 23:00
Ruby
ruby
cookbook
-- 10.4Getting a Reference to a Method(获得方法引用)
A Method object can be stored in a variable and passed as an argument to other methods. This is useful for passing preexisting methods into callbacks and listeners: 一个Method对象可以存储到变量中并作为参数传递给其他
orcl_zhang
·
2010-03-01 23:00
Ruby
ruby
cookbook
-- 使分配程序能够使用注册回调的返回值
#使分配程序能够使用注册回调的返回值 A simple change to the EventDispatcher class makes it possible for the dispatcher to use the return values of the registered callbacks. The original implementation of&n
orcl_zhang
·
2010-02-23 19:00
html
Ruby
ruby
cookbook
-- 使用回掉的松偶合系统
7.11 使用回掉的松偶合系统 Coupling Systems Loosely with Callbacks Here's a mixin module that gives each instance of a class its own hash of "listener" callback blocks. An outside object can listen f
orcl_zhang
·
2010-02-23 19:00
Ruby
ruby
cookbook
-- Looping Through Multiple Iterables in Parallel
Recipe 7.9. Looping Through Multiple Iterables in Parallel Any object that implements the each method can be wrapped in a Generator object. If you've used Java, think of a Generator as being like a J
orcl_zhang
·
2010-02-23 19:00
Ruby
ruby
cookbook
-- 使用find,来查找匹配的文件
ruby操作文件,使用find,来查找匹配的文件 6.20 Use the Find.find method to walk the directory structure and accumulate a list of matching files. Pass in a block to the following method and it'll walk a dire
orcl_zhang
·
2010-02-23 19:00
ext
Ruby
ruby
cookbook
-- Enumerable mixin - good example of Ruby's duck typing
Similarly, File and String both include the Enumerable mixin, so in a lot of cases you can read from an object without caring what type it is. This is a good example of Ruby's duck typing.
orcl_zhang
·
2010-02-23 19:00
Access
Ruby
ruby
cookbook
-- 备份至带版本号的文件名
6.14备份至带版本号的文件名。 Problem You want to copy a file to a numbered backup before overwriting the original file. More generally: rather than overwriting an existing file, you want to use a new file who
orcl_zhang
·
2010-02-23 19:00
F#
Ruby
UP
ruby
cookbook
-- Files and Directories
Chapter 6. Files and Directories 创建目录结构的代码 # create_tree.rb def create_tree(directories, parent=".") directories.each_pair do |dir, files| path = File.join(parent, dir) D
orcl_zhang
·
2010-02-23 19:00
F#
Ruby
ruby
cookbook
-- Choosing Randomly from a Weighted List
Recipe 5.11. Choosing Randomly from a Weighted List Store the elements in a hash, mapped to their relative probabilities. The following code will work with a hash whose keys are mapped to relative in
orcl_zhang
·
2010-02-23 18:00
Ruby
ruby
cookbook
-- Validating an Email Address
Recipe 1.19. Validating an Email Address === Discussion Most email address validation is done with naive regular expressions like the ones given above. Unfortunately, these regular expressions ar
orcl_zhang
·
2010-02-23 18:00
workflow
perl
Ruby
UP
Rails
ruby
cookbook
-- Using an Array or Other Modifiable Object as a Hash
Recipe 5.5. Using an Array or Other Modifiable Object as a Hash Key Suppose you want a reliably hashable Array class. If you want this behavior universally, you can reopen the Array class and redefin
orcl_zhang
·
2010-02-23 18:00
Ruby
ruby
cookbook
-- Creating a Hash with a Default Value
Creating a Hash with a Default Value first_letter_hash = Hash.new { |hash, key| hash[key] = [] } text.split(/\W+/).each { |word| first_letter_hash[word[0,1].downcase] << word } first_lett
orcl_zhang
·
2010-02-23 18:00
F#
Access
Ruby
ruby
cookbook
-- Hash
Hash 1. Except for strings and other built-in objects, most objects have a hash code equivalent to their internal object ID. As seen above, you can override Object#hash to change this, b
orcl_zhang
·
2010-02-23 18:00
Ruby
UP
idea
ruby
cookbook
-- Making a Copy of an Object
Recipe 8.16. Making a Copy of an Object The downside of dup is that it creates a new instance of the object's original class. If you open up a specific object and give it a singleton method, you imp
orcl_zhang
·
2010-02-20 22:00
spring
Ruby
UP
org.apache.commons.lang.builder——ToStringBuilder类
//本示例来自Jakarta Commons
Cookbook
public class PoliticalCandidate { private String lastName
kittyjie
·
2010-02-08 14:00
apache
org.apache.commons.lang.builder——ReflectionToStringBuilder类
先看一下常见的用法: //本示例来自Jakarta Commons
Cookbook
public class PoliticalCandidate { private String
kittyjie
·
2010-02-07 14:00
apache
工作
Security
18本经典WEB电子书
Teach Yourself Visually Html And CSS Pro CSS and HTML Design Patterns JavaScript and DHTML
Cookbook
welcomei
·
2010-02-06 09:00
Web
xml
css
asp.net
asp
访谈和书摘:Eben Hewitt的新书《Java SOA
Cookbook
》
EbenHewitt的新书《JavaSOA
Cookbook
》从Java实现的角度讨论了面向服务架构(SOA)主题。在这本书中,Eben讨论了SOA模型基础,如何使用Web服务来实现它,工具和最佳实践。
Srini Penchikala
·
2010-02-02 00:00
Java反射机制
Java反射经典实例 Java Reflection
Cookbook
Java提供了一套机制来动态执行方法和构造方法,以及数组操作等,这套机制就叫——反射。
jiangm520
·
2010-01-20 21:00
java
spring
Hibernate
框架
J#
ANT十五大最佳实践【转】
Burke, coauthor of Java Extreme Programming
Cookbook
原文:http://www.onjava.com/pub/a/onjava/2003/12
meryvn
·
2010-01-15 15:00
xml
ant
项目管理
脚本
ide
Java反射经典实例
Java反射经典实例Java反射经典实例JavaReflection
Cookbook
Java提供了一套机制来动态执行方法和构造方法,以及数组操作等,这套机制就叫——反射。
黑咖啡
·
2010-01-14 21:00
java 反射
Java反射经典实例 Java Reflection
Cookbook
Java提供了一套机制来动态执行方法和构造方法,以及数组操作等,这套机制就叫——反射。
zwqq01
·
2010-01-13 14:00
java
spring
Hibernate
框架
J#
Jakarta Commons
Cookbook
读书笔记--Commons Collections(容器篇之一)
JakartaCommons
Cookbook
读书笔记--CommonsCollections(容器篇之一)JakartaCommons
Cookbook
读书笔记系列3.5Iterator的扩展3.5.1循环迭代器
Heis的Blog
·
2010-01-12 22:00
Jakarta Commons
Cookbook
读书笔记--Commons Collections(容器篇之一)
《Jakarta Commons
cookbook
读书笔记》系列文章 3.5 Iterator的扩展 3.5.1 循环迭代器LoopingIterator
Heis
·
2010-01-11 22:00
apache
thread
F#
读书
Java反射经典实例 Java Reflection
Cookbook
Java提供了一套机制来动态执行方法和构造方法,以及数组操作等,这套机制就叫——反射。反射机制是如今很多流行框架的实现基础,其中包括Spring、Hibernate等。原理性的问题不是本文的重点,接下来让我们在实例中学习这套精彩的机制。 1. 得到某个对象的属性 <!-- --> 1 public Object getProperty(Object
youngerbaby
·
2010-01-10 11:00
java
spring
框架
Hibernate
J#
ANT十五大最佳实践
Burke, coauthor of Java Extreme Programming
Cookbook
原文:http://www.onjava.com/pub/a/onjava/2003/12
sunguanxing
·
2010-01-07 17:00
xml
ant
脚本
项目管理
ide
java经典书籍
java经典书籍汇总(部分)一、入门《Java2从入门到精通》-推荐《ThinkinginJava》-强烈推荐*O’reilly的Java编程基础系列-参考*二、进阶《Java
CookBook
》-非常推荐
houqingy
·
2010-01-03 14:00
4.9 利用对应的泛型替换Hashtable[转]
摘要:《C#3.0
cookbook
中文版》《C#3.0
cookbook
中文版》本书侧重于解决C#程序员在开发应用程序时遇到的各类问题,并以此组织全书内容。
pcajax
·
2009-12-29 10:00
oracle
C++
c
物流
C#
4.9 利用对应的泛型替换Hashtable[转]
摘要:《C#3.0
cookbook
中文版》《C#3.0
cookbook
中文版》本书侧重于解决C#程序员在开发应用程序时遇到的各类问题,并以此组织全书内容。
pcajax
·
2009-12-29 10:00
oracle
C++
c
C#
物流
jakarta
cookbook
一本好书啊: 第1章 扩展J2SE平台 111.0 简介 111.1 获取Commons Lang 121.2 加入Commons-User邮件列表 131.3 获取Commons Lang源代码 141.4 自动生成toString()内容 151.5 自定义toString()内容 171.6 自动生成hashCode()和equals() 191.7 自动实现compateTo() 2
jarorwar
·
2009-12-25 14:00
bean
log4j
xml
正则表达式
搜索引擎
Silverlight for Embedded tutorial(教程系列)
教程1http://geekswithblogs.net/WindowsEmbedded
Cookbook
/archive/2009/10/01/silverlight-for-embedded-tutorial.aspx
xqhrs232
·
2009-12-16 15:00
HTML页面中内嵌的flash应用的传参方法
How to pass data to a Flex application using SWFObject 2.0 http://
cookbook
s.adobe.com/index.cfm?
keren
·
2009-12-16 11:00
html
Flex
Flash
Adobe
AIR
CSS
Cookbook
创建文字导航菜单和翻转特效
CSS
Cookbook
例子创建文字导航菜单和翻转特效body#navsiteullia{width:auto;}#navsiteullia:hover{border-left:10pxsolid#036
佚名
·
2009-12-15 13:28
Flex 开源组件库
目前Flex社区已经有多个开源的组件库项目了,如:flexBox、JAM、Flex
cookbook
、RIAForge以及CFFLEX。
cwfmaker
·
2009-12-09 14:00
UI
Google
Flex
ruby
cookbook
-- SortedArray
rubycook book: Recipe 4.7. Making Sure a Sorted Array Stays Sorted class SortedArray < Array def initialize(*args,&sort_by) @sort_by = &sort_by || Pro.new{|x,y| x <=> y}
orcl_zhang
·
2009-12-08 23:00
Ruby
Flex Module专题
阅读更多主要参考书目:《ADOBEFLEX3DEVELOPERGUIDE》《Flex.3.Language.Reference.cn.chm》《FLEX3
COOKBOOK
》建议阅读本文档时,参考附件中源码
cuixuxucui
·
2009-12-07 10:00
Flex
Adobe
Flash
XML
应用服务器
Flex Module专题
主要参考书目: 《ADOBE FLEX3 DEVELOPER GUIDE》 《Flex.3.Language.Reference.cn.chm》 《FLEX3
COOKBOOK
》 建议阅读本文档时,参考附件中源码
cuixuxucui
·
2009-12-07 10:00
xml
应用服务器
Flex
Flash
Adobe
[AS3]使用stage出错的问题
这两天看AS3
cookbook
和AS3的帮助文档,里面很多代码执行后都会出现“TypeError: Error #1009: 无法访问空对象引用的属性或方法。”这个错误。
cloud21
·
2009-12-02 09:00
as3
Jakarta Commons
Cookbook
读书笔记--Commons Collections(函子篇)
JakartaCommons
Cookbook
读书笔记--CommonsCollections(函子篇)JakartaCommons
Cookbook
读书笔记系列3CommonsCollectionsv3.0
Heis的Blog
·
2009-11-30 23:00
Jakarta Commons
Cookbook
读书笔记--Commons Collections(函子篇)
《Jakarta Commons
cookbook
读书笔记》系列文章 3 Commons Collections v3.0 功能说明:增强java的泛型框架,引入函子的概念
Heis
·
2009-11-30 21:00
apache
设计模式
框架
算法
读书
分享几本FLASH书籍
《ActionScript 3
Cookbook
》 繁体中文版下载 http://www.yiger.net/soft/ActionScript3.rar 《ActionScript 3.0
Cookbook
xiaozmn
·
2009-11-26 18:00
编程
.net
脚本
Flash
actionscript
上一页
52
53
54
55
56
57
58
59
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他