会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Howhy Blogs
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
41
下一页
2024年3月12日
js类原始和es6方式
摘要: //原始创建类 function UIGoods(gd) { this.data = gd this.choose = 0 } UIGoods.prototype.getTotalPrice = function () { return this.data.price * this.choose }
阅读全文
posted @ 2024-03-12 10:07 howhy
阅读(21)
评论(0)
推荐(0)
2024年3月7日
Js Math随机数
摘要: Math.ceil(1.2) //2 向上取整 Math.floor(1.3) //2 向下取整 Math.round(4.3)//4 四舍五入 Math.random() 0-10随机数 包含0但不包含10 生成0-10随机数 Math.floor(Math.random()*(10+1)) 生成
阅读全文
posted @ 2024-03-07 18:07 howhy
阅读(37)
评论(0)
推荐(0)
js 逻辑中断
摘要: let age=12 console.log(false && age++) //逻辑与前一个为假就中断后面不执行 两个都为真时结果为后一个值 console.log(age) //12 console.log(true|| age++)// 逻辑或前一个为真就中断后面不执行 前一个值为真是 结果为
阅读全文
posted @ 2024-03-07 16:19 howhy
阅读(47)
评论(0)
推荐(0)
2024年3月2日
js 隐式转换
摘要: js 字符串数字与任何数字相加都会转换为字符串 任何数字与字符串数字相减(乘 除)都会转为数字 == 值是否相同 值和类型都相同 console.log(11 + '11') //1111 console.log('11' + 11) //1111 console.log(11 - '11') //
阅读全文
posted @ 2024-03-02 12:04 howhy
阅读(22)
评论(0)
推荐(0)
2024年2月23日
喜马拉雅 web破解url
摘要: import base64 o = [183, 174, 108, 16, 131, 159, 250, 5, 239, 110, 193, 202, 153, 137, 251, 176, 119, 150, 47, 204, 97, 237, 1, 71, 177, 42, 88, 218, 1
阅读全文
posted @ 2024-02-23 14:06 howhy
阅读(457)
评论(0)
推荐(0)
2024年1月17日
python 切片slice和实现一个切片类
摘要: alist=[2,5,32,34,11,44,65,113] print(alist[::])##取所有alist [2, 5, 32, 34, 11, 44, 65, 113] print(alist[::-1])##alist倒序 [113, 65, 44, 11, 34, 32, 5, 2]
阅读全文
posted @ 2024-01-17 15:14 howhy
阅读(25)
评论(0)
推荐(0)
python 序列类型分类
摘要:
阅读全文
posted @ 2024-01-17 13:44 howhy
阅读(12)
评论(0)
推荐(0)
with 上下文管理器
摘要: import contextlib class MyWith: def __enter__(self): print('enter') return self def doThing(self): print('do.....') def __exit__(self, exc_type, exc_v
阅读全文
posted @ 2024-01-17 12:00 howhy
阅读(11)
评论(0)
推荐(0)
2024年1月9日
ThreadPoolExecutor
摘要: from concurrent.futures.thread import ThreadPoolExecutor import requests song_list=[ {'title':'胡广生.mp3','url':'https://webfs.hw.kugou.com/202401081759
阅读全文
posted @ 2024-01-09 11:34 howhy
阅读(29)
评论(0)
推荐(0)
2023年12月27日
tls指纹
摘要: https://tls.browserleaks.com/json from curl_cffi import requests
阅读全文
posted @ 2023-12-27 14:33 howhy
阅读(55)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
41
下一页
公告