billfeller
billfeller
1. 使用Fiddler Willow -> Add Exten :  2. 使用FiddlerScript 配置自定义请求头: ```javascript static function OnBeforeRequest(oSession: Session) { if (oSession.HostnameIs("xxxx.domain.com")) { oSession.oRequest["Accept"] = "image/webp,image/wxpic,image/sharpp,image/*,*/*;q=0.8"; } ``` 推荐:http://shalles.github.io/blog/tools/fiddler/translate/0000/04/11/Translate-fiddler-script-a
1. 渲染普通的Baseline类型JPEG是从上到下的。 2. 渲染Progressive类型JPEG是渐进式的,在整个图片还没有加载完,就可以显示整个轮廓,逐渐变清晰,直到最后整张图片渲染完成。 可以使用 imagemagick 查看图片是否渐进式的,如下: ``` $ /usr/local/imagemagick/bin/identify -verbose baseline.jpg | grep Interlace Interlace: None ``` 使用Imagemagick转换Baseline JPEG为Progressive JPEG ``` $ /usr/local/imagemagick/bin/convert -interlace plane baseline.jpg progressive.jpg $ /usr/local/imagemagick/bin/identify...
http://deepliquid.com/content/Jcrop_Manual.html
Error: Connection lost: The server closed the connection. Solution: Your server closed the connection on you for whatever reason. It may be because you kept the connection open too long....
``` var a = 1, b = null; a == 1 && b = 2; console.log(b); // Uncaught ReferenceError: Invalid left-hand side in assignment ``` 原因:运算符优先级 && > = ,所以...
https://cnodejs.org/topic/5556efce7cabb7b45ee6bcac https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/ https://nodesource.com/blog/understanding-the-nodejs-event-loop/    
rysnc
## Description rsync is a file transfer program capable of efficient remote update via a fast differencing algorithm. ``` Usage: rsync [OPTION]... SRC [SRC]... DEST or rsync [OPTION]... SRC [SRC]......
1. 右键菜单 -> 屏幕分辨率  2. win+r -> 运行 "desk.cpl"  3. win -> 运行 "desk.cpl" 最后,在屏幕分辨率上管理显示屏。
1. 添加onclick事件: 2. 添加样式:.click { cursor: pointer; } 3. 使用通用库,如使用 FastClick,就不会遇到兼容性问题 原因: iOS 上,屏幕是触碰的,所以页面元素默认会有 touch 一类事件,而不是 click。也就是说,我点击上面的 .overlay 元素时,iOS 上的 Safari 冒泡的是 touch 一类事件,而不是 click。只有两类元素,链接与 input 输入域才有 click 事件,但通过 cursor:...
1. 设置wxml,wcss直接按html,css语法高亮  2. 代码片段 https://github.com/Abbotton/weapp-snippet-for-sublime-text-2-3