04 2018 档案

摘要:比较推荐使用百度翻译api 不推荐有道翻译,比较水。 http://ai.youdao.com/docs/doc-trans-api.s#p02 http://ai.youdao.com/docs/doc-trans-api.s#p08 阅读全文
posted @ 2018-04-25 17:14 贝尔塔猫 阅读(388) 评论(0) 推荐(0) 编辑
摘要:命名变量 多行匹配注意:(.|\n)+? 阅读全文
posted @ 2018-04-25 17:09 贝尔塔猫 阅读(147) 评论(0) 推荐(0) 编辑
摘要:// 驼峰写法 function toUp ($str) { return preg_replace_callback('/\s(\w)|-(\w)/', function ($matches) { if (count($matches) > 2) { return strtoupper($matches[2]); } ... 阅读全文
posted @ 2018-04-25 15:37 贝尔塔猫 阅读(139) 评论(0) 推荐(0) 编辑
摘要:https://raw.githubusercontent.com/dragon8github/wx-h5/master/push.sh 阅读全文
posted @ 2018-04-23 11:30 贝尔塔猫 阅读(179) 评论(0) 推荐(0) 编辑
摘要:myFocus (e) { this.active = true function getElementTop(element){ try { var actualTop = element.offsetTop; var current = element.offsetParent; while (current !== null){ actua... 阅读全文
posted @ 2018-04-23 10:44 贝尔塔猫 阅读(329) 评论(0) 推荐(0) 编辑
摘要:新建test.ahk,然后运行即可。 阅读全文
posted @ 2018-04-19 16:13 贝尔塔猫 阅读(1385) 评论(0) 推荐(0) 编辑
摘要:🌾 💐 🌷 🌹 我的AHK下载地址:https://github.com/dragon8github/Pandora/raw/master/pandora.exe AutoHotKey 下载:https://autohotkey.com/download/ 国内自制的ahk网站:https: 阅读全文
posted @ 2018-04-19 08:54 贝尔塔猫 阅读(7509) 评论(0) 推荐(0) 编辑
摘要:简单示例 https://developers.weixin.qq.com/miniprogram/dev/api/network-request.html 阅读全文
posted @ 2018-04-19 08:29 贝尔塔猫 阅读(274) 评论(0) 推荐(0) 编辑
摘要:如果需要支持cookie,就要加入 http://www.ruanyifeng.com/blog/2016/04/cors.html 阅读全文
posted @ 2018-04-18 17:02 贝尔塔猫 阅读(7969) 评论(0) 推荐(0) 编辑
摘要:index.html 阅读全文
posted @ 2018-04-11 10:36 贝尔塔猫 阅读(193) 评论(0) 推荐(0) 编辑
摘要:var testarr = [] var prevScroll = 0 var cache = 0 // 仅在区域内计算 if (y >= testarr[0] && y = prevScroll) { var down = (function (x) { // 如果存在缓存索引,并且满足滚动的区域,那么return i... 阅读全文
posted @ 2018-04-09 09:26 贝尔塔猫 阅读(140) 评论(0) 推荐(0) 编辑
摘要:http://www.bootcdn.cn/ jquery vue lodash echarts requirejs zepto 阅读全文
posted @ 2018-04-05 09:12 贝尔塔猫 阅读(199) 评论(0) 推荐(0) 编辑
摘要:常用的api 1、$() document.querySelector() 2、$$() document.querySelectorAll() 3、$x() xpath选择器 实战: 阅读全文
posted @ 2018-04-01 10:14 贝尔塔猫 阅读(353) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示