会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
21
下一页
2024年7月3日
软考双拼,来自网友分享
摘要: 通过搜狗输入法,右键设置向导来设置双拼。弹出来的一瞬间,通过 tab 键+方向键+回车键来设置 Ctrl + Shift 或者 Win + Space 切换到谷歌拼音,然后右键控件,打开首选项,选择小鹤双拼。
阅读全文
posted @ 2024-07-03 17:30 twfb
阅读(240)
评论(0)
推荐(0)
2024年6月26日
AudioRelay连接不上,同wifi ping不通手机
摘要: 路由器设置mac与ip绑定 管理员权限执行 arp -s 手机IP 手机MAC ping 局域网段下不存在的IP
阅读全文
posted @ 2024-06-26 16:01 twfb
阅读(111)
评论(0)
推荐(0)
2024年4月28日
wsl2 bridged
摘要: hyper-v 添加 external, 名字为WIFI notepad %UserProfile%/.wslconfig [wsl2] networkingMode=bridged vmSwitch=WIFI ipv6=true WSL sudo vim /etc/resolv.conf # 编辑
阅读全文
posted @ 2024-04-28 17:05 twfb
阅读(41)
评论(0)
推荐(0)
2024年2月9日
CTFHub 投稿提交 彩蛋 ECB
摘要: 缘起 最近做到做到这道题, flag[42:48] = aes_256_ecb_decode("c6e1d72b1102f9b96b20c1f00cc7a178d5b3f99193faaa60e53b45b9e644d782", key), 自己用Py没解出来... import binascii
阅读全文
posted @ 2024-02-09 02:11 twfb
阅读(79)
评论(0)
推荐(0)
2023年12月25日
CTFhub FastCGI协议
摘要: 原理: https://xz.aliyun.com/t/9544 代码, 参考自: https://github.com/tarunkant/Gopherus import urllib.parse import requests def main(): url = input("url: ").s
阅读全文
posted @ 2023-12-25 01:43 twfb
阅读(103)
评论(0)
推荐(0)
2023年12月15日
WSL Windows 共享ext4文件
摘要: wsl.exe --shutdown mkfs -t ext4 /mnt/f/share.vhdx mkdir /mnt/share mount /mnt/f/share.vhdx /mnt/share df -h
阅读全文
posted @ 2023-12-15 13:52 twfb
阅读(82)
评论(0)
推荐(0)
2023年3月1日
Django filter regex
摘要: 正则表达式语法是使用中的数据库后端的语法。对于没有内置正则表达式支持的 SQLite 来说,这个功能是由(Python)用户定义的 REGEXP 函数提供的,因此正则表达式语法是 Python 的 re 模块的语法。 MySQL Regex 元字符| 行为 -|- ^|匹配搜索字符串开头处的位置 $
阅读全文
posted @ 2023-03-01 15:24 twfb
阅读(118)
评论(0)
推荐(0)
2022年8月24日
Django 按照字段数量去重排序
摘要: items = ( XModel.objects.all() .values(field_name) .annotate(Count(field_name)) .order_by('-{}__count'.format(field_name)) )
阅读全文
posted @ 2022-08-24 09:24 twfb
阅读(110)
评论(0)
推荐(0)
2022年7月28日
css calc 无效 单位 整数 0
摘要: 今天有群友发现calc(100% - 0)和calc(100% - 0px)的显示不一样, 疑惑的是在css中作为属性0=0px=0%, 为什么会显示不一样呢? 便去查了下, 发现中文区并没有记录原因, 所以在这里介绍下 the + or - operators specifically restr
阅读全文
posted @ 2022-07-28 11:02 twfb
阅读(150)
评论(0)
推荐(0)
2021年11月5日
正则 不匹配某个单词
摘要: import re skip_word = 'hede' stranger_char = '虩' content = '''hoho hihi haha hede''' print( '\n'.join(re.findall( '([^{}]*?)\n'.format(stranger_char),
阅读全文
posted @ 2021-11-05 14:04 twfb
阅读(205)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
21
下一页
公告