2015年6月7日
摘要: var workAsync = function() { var p = new Promise(function(resolve, rej) { $.get("http://....", function(rs){ resolve("dddddddd");... 阅读全文
posted @ 2015-06-07 22:53 lyqu 阅读(165) 评论(0) 推荐(0)
摘要: function insertAfter(ele,html){ var new_ele = document.createElement("div"); new_ele.innerHTML = html; var parent = ele.parentNode || documen... 阅读全文
posted @ 2015-06-07 19:18 lyqu 阅读(566) 评论(0) 推荐(0)
  2015年6月6日
摘要: LESS:@r:5px;#container{ border: 1px solid; width: 800px; height:600px; position: relative;}@MyTemplate:{ @{stay0}{ .wh(@left,@... 阅读全文
posted @ 2015-06-06 00:00 lyqu 阅读(2515) 评论(0) 推荐(0)
  2015年6月3日
摘要: 11111111 22222222222 33333333333 阅读全文
posted @ 2015-06-03 18:13 lyqu 阅读(1384) 评论(0) 推荐(0)
摘要: 11111111 22222222222 33333333333 阅读全文
posted @ 2015-06-03 14:54 lyqu 阅读(203) 评论(0) 推荐(0)
摘要: var fs = require("fs");var log = function(msg) { console.log(msg);}function copyFile(source, destination) { if (fs.existsSync(source)) { ... 阅读全文
posted @ 2015-06-03 00:13 lyqu 阅读(542) 评论(0) 推荐(0)
  2015年5月9日
摘要: from wsgiref.simple_server import *def aaa(environ,start_response): # try: # request_body_size = int(environ.get('CONTENT_LENGTH', 0)) # ... 阅读全文
posted @ 2015-05-09 16:21 lyqu 阅读(450) 评论(0) 推荐(0)
  2015年4月17日
摘要: 使用:var express = require("express");var app = express();var list = require("./list.js");app.get("/list/:db",list.handleHttp);var port = 88;console.log... 阅读全文
posted @ 2015-04-17 16:25 lyqu 阅读(1118) 评论(0) 推荐(0)
  2015年4月1日
摘要: aaaaaaaaaaaaa bbbbbbbbbbbbb cccccccccccccc ddddddddddddd 上一张 ... 阅读全文
posted @ 2015-04-01 15:45 lyqu 阅读(2671) 评论(0) 推荐(0)
  2015年3月29日
摘要: 来自:http://blog.csdn.net/liuyukuan/article/details/5974517cmd /c dir 是执行完dir命令后关闭命令窗口。cmd /k dir 是执行完dir命令后不关闭命令窗口。cmd /c start dir 会打开一个新窗口后执行dir指令,原窗... 阅读全文
posted @ 2015-03-29 19:42 lyqu 阅读(527) 评论(0) 推荐(0)