会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
白灰尘 C#/JS/HTMl/Jquery/Python
首页
新随笔
管理
订阅
2017年6月6日
Python Mysql Select Dict
摘要: Python Select Mysql 日期转换字符串 ,转换为字典 Python 读取出来的数据格式不是正规Json ,读取出来,直接是字典 Python 2.7 Python 3.+ tornado 输出结果
阅读全文
posted @ 2017-06-06 12:06 wylfocus
阅读(900)
评论(0)
推荐(0)
2014年10月14日
保存页面内容为图片
摘要: 后台数据仅处理数据,固后台无法做到,页面Dom 生成图片, 所以,生成图片的事情交给JS 来做, 后台存储图片数据就好.http://html2canvas.hertzen.com/examples.html1,把,当前页面,生成Canvas ; 得到image 流http://www.dotnet...
阅读全文
posted @ 2014-10-14 16:22 wylfocus
阅读(355)
评论(0)
推荐(0)
2014年8月27日
控制台 批量修改文件名
摘要: static void Main(string[] args) { string text = @"__________________用于批量修改文件_______________________ 注意事项: 1.在CMD 中执行命令 ...
阅读全文
posted @ 2014-08-27 10:25 wylfocus
阅读(386)
评论(0)
推荐(0)
2014年8月26日
bat DOS 打开cmd 带参
摘要: cmd /k cd D:\Tools^<nul^& D:^<nul
阅读全文
posted @ 2014-08-26 13:56 wylfocus
阅读(262)
评论(0)
推荐(0)
2014年8月18日
两个时间交集
摘要: (@a>= @b || @a @b )| @c >@d))______________|___________________|____________ a b c d这是我这里 a,b,c,d 的位置replace 换成你的时间试试吧.
阅读全文
posted @ 2014-08-18 12:00 wylfocus
阅读(201)
评论(0)
推荐(0)
2014年5月20日
APK 无法上传
摘要: 上传JPG 可以上传,但是上传apk ,就有问题了。因为APK 不被 Web 服务器识别建议使用IIS 绑定 C# WEB 工程在IIS 项目里面,添加 MIME 类型.apkapplication/vnd.android.package-archive这样就可以上传,或者下载APK 了。
阅读全文
posted @ 2014-05-20 16:29 wylfocus
阅读(341)
评论(1)
推荐(0)
2013年12月19日
windswaterflow 瀑布流 加载多次重复数据
摘要: 运用瀑布流的时候,当页面滚轴,在屏幕下方的时候,刷新页面,会出现加载多次重复数据,的问题.分析下问题.console.log("start 1")//js code // $.getJSONconsole.log("start 2")//js codeconsole.log("start 3")大家...
阅读全文
posted @ 2013-12-19 16:23 wylfocus
阅读(773)
评论(0)
推荐(0)
2013年3月26日
同一个Area 不同URL 规则
摘要: C# MVC 默认Area没事把自己纠结了一番。同一个Area ,不同的Controller 不同的URL 规则目录结构,熟悉的都应该已经了解了。把Default1 单独提出来,用一种路由规则解析Default2、Default3 用统一规定的URL 路由解析。这时候要把Default1 从默认的路由里面踢出去。注:MVC Controller 只认 结尾为Controller 的文件。。Mvc4Application1.Areas.Default4Controller1 这个是错误的。。Mvc4Application1.Areas.Default4Controller 这个是正确的。。...
阅读全文
posted @ 2013-03-26 16:38 wylfocus
阅读(275)
评论(0)
推荐(0)
2012年8月16日
jQuery Validate 提示信息 和错误信息 在同一位置
摘要: $("#RegeditAction").validate({focusCleanup:true,errorClass:"g-ipt-err",validClass:"g-ipt-active",unhighlight:function(element,errorClass,validClass){$(element).parents("tr").next().find(".tips").show();$(element).removeClass(errorClass).addClass(vali
阅读全文
posted @ 2012-08-16 18:15 wylfocus
阅读(1712)
评论(0)
推荐(0)
2011年12月23日
jiathis jia.js Eval 解密 解密出来的代码
摘要: JiaThis 分享Js 插件,有了这个,可以根据需求去修改一些特定内容了.View Code var JIATHIS_CONFIGS = { webhost: "http://www.jiathis.com", lhost: "http://l.jiathis.com", codehost: "", sc: false, uid: 0, ckprefix: "jt_", jtcbk: "jtss", jtck: "", custom: [], servicelist: {
阅读全文
posted @ 2011-12-23 17:13 wylfocus
阅读(2310)
评论(0)
推荐(0)