大家都知道事件的用法就是当某个事件(状况)被触发了之后就会去执行某个Function,
尤其是Javascript, 在当红AJAX的催化下, 了解Javascript的Event用法更加重要,
在这里就大概介绍一下avascript的Event用法. Mozilla中: addEventListe...
分类:
编程语言 时间:
2014-06-02 17:33:39
阅读次数:
339
参考:lunar1983的专栏 实现:从给定目录树中grep出含制定字符串的行,并给出所在路径
代码如下所示: #!/bin/sh -if [ $# -ne 2 ] then echo "usage traverse " exitfi{function
ergodic(){for file in `...
分类:
系统相关 时间:
2014-06-02 17:31:29
阅读次数:
395
今天在网络上找到了一个比较好的解决Rhythmbox中文乱码的问题的方法
进入你的音乐文件夹执行如下代码: mid3iconv -e GBK *.mp3 如果没有提示多试几次, 有可能系统会提示:
python-mutagen没有安装。 sudo apt-get install python-mut...
分类:
其他好文 时间:
2014-06-02 17:28:14
阅读次数:
251
下面就介绍这个模块中的几个方法。 struct.pack():我的理解是,python利用
struct模块将字符(比如说 int,long ,unsized int 等)拆成 字节流(用十六进制表示),便于传输。
其函数原型为:struct.pack(fmt, v1, v2, ...),fmt表示...
分类:
编程语言 时间:
2014-06-02 17:13:12
阅读次数:
253
参考:http://blog.sina.com.cn/s/blog_4c451e0e01013419.htmlhttp://blog.csdn.net/voidcc/article/details/25834331http://www.cnblogs.com/Realh/archive/2010/1...
分类:
编程语言 时间:
2014-06-02 16:50:08
阅读次数:
356
2014-05-31 BaoXinjian In Capgemini1. Workflow
的组成部分:
Lookup/Attribute/Message/Notification/Function/ProcessAttributeNotificationFunctionMessageLookup
...
分类:
其他好文 时间:
2014-06-02 16:40:32
阅读次数:
351
owner.componentLayoutCounter问题解:listeners : {
render : function(grid) {// 要在渲染完之后再load才有loading信息 grid.setLoading(fa...
分类:
Web程序 时间:
2014-06-01 11:25:06
阅读次数:
287
title:
Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.
37107287533902102798797998220837590246510135740250
4637693767749000971264812489697007805041701826053...
分类:
其他好文 时间:
2014-06-01 08:53:33
阅读次数:
276
最近在代码中经常看到bind关键词,之前没用过啊,这里记录下。从微软复制过来的例子:
// Define the original function.
var checkNumericRange = function (value) {
if (typeof value !== 'number')
return false;
else
return...
分类:
编程语言 时间:
2014-06-01 04:51:27
阅读次数:
481