Html clipboard.js 现代化的拷贝复制粘贴剪切文字 使用方法 请看官网:https://clipboardjs.com/ github: https://github.com/zenorocha/clipboard.js CDN 资源 资源地址:htt ... continue reading html zhuoyuebiji 2019/10/29 547
购买和安装海尔电热水器的总结 产生购买热水器的冲动 在深圳洗澡长期使用自来水,直到 2020 回老家洗过一段时间温水(新冠疫情期间),发现温水去污能力挺好的,洗浴过程中受伤关节的异常感受也没感觉到,也不用担心晚浴用冷水洗头后的清醒(一定程度上影响睡眠)。 ... continue reading 生活感悟 zhuoyuebiji 2020/4/20 539
Django CKEditor 给 a tag(标签)添加 target 默认值 启发文档 https://ckeditor.com/docs/ckeditor4/latest/guide/dev_disallowed_content.html CKEDITOR.on( 'dialogDefinition ... continue reading django zhuoyuebiji 2020/3/7 536
Windows 右键菜单添加带图标的程序 在Windows系统中添加右键菜单(上下文菜单)项时,如果您想为新添加的菜单项指定一个图标,通常需要通过修改Windows注册表来实现。如果您添加了右键菜单项但没有图标显示,可能是因为在注册表中指定图标的路径不正确,或者根本就没有指定图标。 ... continue reading 计算机基础 zhuoyuebiji 2024/4/3 536
'django.contrib.auth.middleware.AuthenticationMiddleware' must be in MIDDLEWARE in order to use the admin application. 错误环境 django 1.11 迁移到 django 2 错误日志 ERRORS: ?: (admin.E408) 'django.contrib.auth.middleware.AuthenticationMid ... continue reading django zhuoyuebiji 2020/5/20 531
Uncaught (in promise) PushError: permission request declined Hi, it's not an code error. Since new Chrome version Notification have to bieng use by "Secure Origins". ... continue reading html zhuoyuebiji 2021/4/1 531
Css 文件 304 错误是什么原因引起的 CSS文件返回304状态码的原因有以下几个: 1. 浏览器缓存了该CSS文件。浏览器会缓存已经访问过的CSS文件,当再次请求同一个文件时,浏览器会先检查缓存,如果缓存版本没有变化,就会返回304状态码告知服务器我还用得着最新文件,使用 ... continue reading html zhuoyuebiji 2023/5/9 531
用百度搜索获取 IP 地址的归属地(已经失效) 思路:把 IP 地址当关键词拼上百度的搜索链接,然后用正则匹配想要的信息。 代码: import re import requests requests.packages.urllib3.disable_warnin ... continue reading python zhuoyuebiji 2019/9/24 528
Django csrf 验证问题及 csrf 原理 相关文档 跨站请求伪造保护 (1.8 官方文档翻译) Cross Site Request Forgery protection (2.2 官方文档) django csrf 验证问题及 csrf 原理 django ... continue reading django zhuoyuebiji 2019/11/14 528
Windows 任何应用程序在 运行 里直接打开(快速启动程序) 使用环境 windows 想法产生 很多时候电脑的桌面 应用 icon 很多了,不方便找到也比较浪费时间,还有 有些 应用 icon 也许不想放在桌面上,如 ... continue reading 计算机基础 zhuoyuebiji 2019/11/1 521