[关闭]
@zhenmin2233 2017-09-01T08:25:42.000000Z 字数 2822 阅读 228

收集乱扔地方,等以后抽象了再分类

https://avgle.github.io/doc/#introduction
写api写不过一个毛片网站。
抓了以后直接magnent离线下载
<----------------------------------------------------------->
http://www.jianshu.com/p/d3b19968a4c2
移动端适配之雪碧图(sprite)背景图片定位
<----------------------------------------------------------->

  1. this.$menuItems = [].slice.call(
  2. this.$element.find(this.options.itemSelector)
  3. );

这样就可以使用 this.$menvItems.map((elment)=> {}) 来使用了
<----------------------------------------------------------->
http://jdev.tw/blog/734/autohotkey-introduction-chinese 教程
https://zhuanlan.zhihu.com/p/24020977 这个有提示下载autohotkey
个人改键代码!!!!! 非常好用,
<----------------------------------------------------------->

https://github.com/ExboCooope/WebHYZ/blob/master/GAME/boss_slz.js
对于学有余力的同学, 推荐学习一下专业的游戏引擎
<----------------------------------------------------------->
python下载视频 you-get 介绍: http://www.jianshu.com/p/a3f8df948395
you-get -o D:/1萧大新分享 --format=mp4 [视频网址]
<----------------------------------------------------------->

https://www.zhihu.com/question/63334274/answer/210862394?utm_medium=social&utm_source=qq
如果赌博输赢的概率是50%,那为什么长久赌博的人多会倾家荡产而不是收益均衡?
<----------------------------------------------------------->

提个问题, 同一网站下 加载过的库, 再进新页面是不是直接在缓存里离线加载, 速度快很多? 是
浏览器按照加载js后面的版本号来加载
src="http: //code.jquery.com/jqurey-3.2.1.min.js"
<----------------------------------------------------------->

发一个工具介绍:whistle
node 工具,学了 node 班的大佬应该用不到。
通过本地开启服务器转发请求,
主要用途是本地调试需要存储cookie的后台接口。

https://www.zybuluo.com/anoninz/note/852580
<----------------------------------------------------------->

$(document).on('mousewheel DOMMouseScroll', (e) => {
e.preventDefault();
}
可以使滚动事件不能滚轮 , 只能用scrollbar滚动页面
<----------------------------------------------------------->

iOS/Android 微信及浏览器中唤起本地APP:
http://blog.csdn.net/linshijun33/article/details/71429669?locationNum=10&fps=1
Android 通过网页打开自己的APP(scheme):
http://blog.csdn.net/qduningning/article/details/37602101
微信都不行, 因为微信封了,只能他同意的app才可以
<----------------------------------------------------------->
有没有针对 DIV 加载完成的 事件? 监视DOM变动么?
如果是监视的话,搜Mutation Observer
<----------------------------------------------------------->

好看的效果

  1. .main {
  2. display: inline-block;
  3. padding: 10px;
  4. background: linear-gradient(to bottom, white, pink);
  5. }
  6. .coupon {
  7. position: relative;
  8. width: 200px;
  9. height: 40px;
  10. margin: 5px;
  11. background-color: #e9ac30;
  12. }
  13. .coupon::before {
  14. position: absolute;
  15. content: "";
  16. display: block;
  17. position: absolute;
  18. top: 0;
  19. left: -5px;
  20. width: 5px;
  21. height: 40px;
  22. border-radius: 2px 0 0 2px;
  23. background: radial-gradient(10px at left,transparent 50%, #e9ac30 50%);
  24. }
  25. .coupon::after {
  26. position: absolute;
  27. content: "";
  28. display: block;
  29. position: absolute;
  30. top: 0;
  31. right: -5px;
  32. width: 5px;
  33. height: 40px;
  34. border-radius: 0 2px 2px 0;
  35. background: radial-gradient(10px at right,transparent 50%, #e9ac30 50%);
  36. }
  37. <div class="main">
  38. <div class="coupon"></div>
  39. <div class="coupon"></div>
  40. <div class="coupon"></div>
  41. <div class="coupon"></div>
  42. <div class="coupon"></div>
  43. </div>

<----------------------------------------------------------->

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注