billfeller

Results 105 issues of billfeller

1. 使用Fiddler Willow -> Add Exten : ![image](https://cloud.githubusercontent.com/assets/998505/26719702/1f7a83f4-47b8-11e7-80ee-068aea07afdf.png) 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/ ![image](https://cloud.githubusercontent.com/assets/998505/26232958/7066d2c2-3c8c-11e7-805b-f067a0141787.png) ![image](https://cloud.githubusercontent.com/assets/998505/26232961/77712ad6-3c8c-11e7-8a57-5bd801cd5aaf.png) ![image](https://cloud.githubusercontent.com/assets/998505/26232964/7f79a5a0-3c8c-11e7-9276-411322e3d772.png) ![image](https://cloud.githubusercontent.com/assets/998505/26232967/85e1204e-3c8c-11e7-8afc-700c51217fe1.png)

## 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. 右键菜单 -> 屏幕分辨率 ![838ba61ea8d3fd1f843c79ad304e251f95ca5f74](https://cloud.githubusercontent.com/assets/998505/25265558/4a877cfc-26a0-11e7-89e7-a0b2afa0932a.jpg) 2. win+r -> 运行 "desk.cpl" ![64380cd7912397dddfbb40935982b2b7d1a28763](https://cloud.githubusercontent.com/assets/998505/25265641/9f7b0ca6-26a0-11e7-98f4-60393a22ef38.jpg) 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语法高亮 ![image](https://cloud.githubusercontent.com/assets/998505/25082193/9c37f576-2381-11e7-85b7-a17969614c5f.png) 2. 代码片段 https://github.com/Abbotton/weapp-snippet-for-sublime-text-2-3