摘要: function(t, e, n, o, r, i, a, c, u) { for (var s = i, l = u.toY(0), f = [], h = [], p = [], y = [], b = o > 0 ? n.execute(o - 1) : NaN, d = o; d < r; 阅读全文
posted @ 2021-04-14 11:48 yellowshorts 阅读(125) 评论(0) 推荐(0) 编辑
摘要: https://www.52pojie.cn/thread-1405917-1-1.html(出处: 吾爱破解论坛) 前提条件 复制代码 隐藏代码一台root手机 frida环境一套 还要会搜索(回复比较慢) 开启抓包 复制代码 隐藏代码1. 手机中执行 tcpdump tcpdump -i any 阅读全文
posted @ 2021-04-09 10:46 yellowshorts 阅读(1362) 评论(0) 推荐(0) 编辑
摘要: 1.检查重复元素下面的方法可以检查给定列表中是否有重复的元素。它使用了 set() 属性,该属性将会从列表中删除重复的元素。def all_unique(lst): return len(lst) == len(set(lst)) x = [1,1,2,2,3,2,3,4,5,6] y = [1,2 阅读全文
posted @ 2021-04-09 10:09 yellowshorts 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1.工厂模式 function createPerson(name, age, job) { var o = new Object(); o.name = name; o.age = age; o.... 阅读全文
posted @ 2014-11-17 17:15 yellowshorts 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1.访问器属性 var book = { _year: 2004, edition: 1 }; Object.defineProperty(book, "year", { get: funct... 阅读全文
posted @ 2014-11-17 17:04 yellowshorts 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 1.arguments.callee //经典的阶乘(递归)函数 function factorial(num) { if (num <= 1) { return 1; } else { ... 阅读全文
posted @ 2014-11-14 17:12 yellowshorts 阅读(3855) 评论(0) 推荐(0) 编辑
摘要: function createComparisonFunction(propertyName) { return function (object1, object2) { var value1 = object1[property... 阅读全文
posted @ 2014-11-14 16:33 yellowshorts 阅读(10857) 评论(1) 推荐(0) 编辑
摘要: DataView dv = new DataView(table); dv.RowFilter = " Type='10' and Visible='true'"; dv.Sort = "DisplaySequence ASC"; DataTable dt_New = dv.ToTable(); ... 阅读全文
posted @ 2014-11-13 14:08 yellowshorts 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1 function selectDpList(dp) {2 var sIndex = dp.selectedIndex;//返回选中是第几项 0,1....3 var sText = dp.options[dp.selectedIndex].te... 阅读全文
posted @ 2014-11-12 09:47 yellowshorts 阅读(14507) 评论(0) 推荐(1) 编辑
摘要: 对cookies的操作在当访问一个网站就无时无刻的都伴随着我们,记录着我们的一举一动,并将不危害用户隐私的信息,将以保存,这样用户就不用去从新再次操作重复的步骤,这样大大方便了客户,也增加了客户对网站的回头率。jquery.cookie.js 提供了jquery中非常简单的操作cookie的方法。$... 阅读全文
posted @ 2014-10-28 10:12 yellowshorts 阅读(222) 评论(0) 推荐(0) 编辑