规则1:隔离应用逻辑 这会让你的代码容易调试规则2:不要分发事件对象
event对象包含了太多信息// a good examplevar handlePopup = { // 事件句柄,处理所有和event对象有关的东西
handleClick: function (e) { ...
分类:
编程语言 时间:
2014-06-07 03:01:00
阅读次数:
255
??
Good News! Utopia Polycom begins to offer a whole new service, Conference Call. This new service enables three users to make phone calls at the same time and talk to each other. It's very useful w...
分类:
其他好文 时间:
2014-06-05 02:12:20
阅读次数:
372
http://0pointer.de/blog/projects/systemd.htmlRethinking PID 1If you are well
connected or good at reading between the lines you might already know wha...
分类:
其他好文 时间:
2014-05-31 11:29:28
阅读次数:
286
链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1449+题意:给出三个整数A,B,C,判断A+B与C的大小关系(-2^63C,输出“>”,若A+B=C,输出“=”,若A+Btypedef
long long int lli;# define ...
分类:
其他好文 时间:
2014-05-28 21:28:09
阅读次数:
338
1 #include 2 #include 3 #include 4 5 int
i,j,n,a,b,c,d,temp1,temp2,temp3,temp4,temp5,temp6; 6 char a1,c1; 7 8 void
solve() 9 {10 temp1=a+b;1...
分类:
其他好文 时间:
2014-05-27 17:19:11
阅读次数:
340
今天神坑的GCPC 2013
B题啊,本来是个很简单的模拟+扫描线,却WA的不明不白经过几个人测试,不得不说一下,CSU OJ 的编译器肯定有点问题coj 1458#include
#include #include #include using namespace std;int b,c;stru...
分类:
其他好文 时间:
2014-05-26 19:46:46
阅读次数:
277
1115: 最短的名字
Time Limit: 5 Sec Memory Limit:
64 MB
Submit: 141 Solved: 56
[Submit][Status][Web
Board]
Description
在一个奇怪的村子中,很多人的名字都很长,比如aaaaa, bbb and abababab。
名字这么长,叫全名显然起来很...
分类:
其他好文 时间:
2014-05-26 05:57:48
阅读次数:
220
-好软件的定义就是它的体积不大不小,功能不多不少,一切都是那么的恰到好处。 -Good
software is neither too big nor too small,neither too Complex nor too
Simple,everything is so right. +点击.....
分类:
其他好文 时间:
2014-05-26 00:54:15
阅读次数:
254
https://www.digitalocean.com/community/tagshttp://db-engines.com/en/http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
分类:
Web程序 时间:
2014-05-24 14:02:05
阅读次数:
300
I believe the fractional reserve gold system
has seen more stress and was probably in good part responsible for cementing the
bottom in gold around $1...
分类:
其他好文 时间:
2014-05-24 09:13:30
阅读次数:
254