创建Lua函数载入CSV文件并保存到表中的函数:function GetLines(fileName) indx = 0 myLines ={} for line in io.line(string.format("%s%s", "c:/lua_scripts/",filename)) do i.....
分类:
其他好文 时间:
2014-08-20 22:31:42
阅读次数:
235
Description
Problem F
Supermean
Time Limit: 2 second
"I have not failed. I've just found 10,000 ways that won't work."
Thomas Edison
Do you know how to compute the mean (or average...
分类:
其他好文 时间:
2014-08-20 21:11:33
阅读次数:
378
#include //密码函数void key(int k) { int i=0; do { if(k==123) { return 0; } else if(k!=123) { printf("密码错误!\n"); ...
分类:
其他好文 时间:
2014-08-20 20:59:02
阅读次数:
241
1. 官网 nodejs
2. How do I get started with Node.js,stackoverflow提问,收集很多有用的站点
3. node-books,github收集很多node相关书籍,可以clone下来
4. Nblog,nodejs+express+mongodb实现的博客学习教程,有中文文档
5. cnode,中文nodejs学习论坛
6. ...
分类:
Web程序 时间:
2014-08-20 19:43:42
阅读次数:
252
var _win, _doc, _stt, _do = document.domain, _arr = _do.split(".");function _st() { try { document.domain = _arr.join("."); _arr.shift(); }catch(e){.....
分类:
Web程序 时间:
2014-08-20 19:25:02
阅读次数:
236
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:
其他好文 时间:
2014-08-20 13:52:32
阅读次数:
142
一、主数据库器配置假设主数据库IP地址为:192.168.1.1修改my.cnf在[mysqld]下增加配置server-id=1log-bin=syslog ##################################### 开启日志binlog-do-db=cmstop ########...
分类:
数据库 时间:
2014-08-20 11:58:32
阅读次数:
190
学编程吧java学习之嵌套循环发布了,欢迎大家通过xuebiancheng8.com来访问java嵌套循环主要是指在while,do...while,和for循环中可以彼此嵌套,比方说在while循环中可以嵌套do...while循环,在do...whilez红可以嵌套for循环,总之,他们之间是可以随意嵌套的,只要语法上正确..
分类:
编程语言 时间:
2014-08-20 10:38:36
阅读次数:
239
$(document).ready(something); says: "when the HTML document is ready, do something!"$(document).ready(function() { var $target = $('li:nth-child(4)...
分类:
Web程序 时间:
2014-08-20 09:14:56
阅读次数:
275