下午闲着无聊 用python写了个字典转MD5字典的脚本 import requestsimport hashlibdef baopo(script): print(u" 转化开始:") str=open(script).read() str_list=str.split('\n') print(s ...
分类:
编程语言 时间:
2021-04-20 15:25:35
阅读次数:
0
需求:点击按钮,显示文本和隐藏文本 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>jQuery 入门</title> <script src="/static/jQuery-1.11/jquery-1.11 ...
分类:
Web程序 时间:
2021-04-20 14:39:19
阅读次数:
0
Profiling is an indispensable measure for analyzing and optimizing the performance of your program. A typical profiler like GNU gprof will complete th ...
分类:
其他好文 时间:
2021-04-20 14:35:11
阅读次数:
0
在/etc/profile.d目录里下新建 shell脚本 (设置alias别名命令的功能) 让新建的别名生效 设置完成后之际可以使用别名 gj 命令 执行poweroff一样效果的 ...
分类:
其他好文 时间:
2021-04-20 14:33:22
阅读次数:
0
<!DOCTYPE html> <html> <head> <script type="text/javascript"> window.onload=function(){ document.getElementById("too").playbackRate=10; } </script> </ ...
分类:
Web程序 时间:
2021-04-19 15:53:42
阅读次数:
0
通过nginx -t获得 nginx=`nginx -t 2>&1 | grep configuration` if [ ! -z "$nginx" ];then nginxtmp="${nginx#*file}" nginxf="${nginxtmp%test*}" echo $nginxf fi ...
分类:
系统相关 时间:
2021-04-19 15:38:16
阅读次数:
0
H5 端 rem 适配方案与 viewport 适配,媒体查询设置,使用 JS 动态修改rem布局。使用 js 动态设置 viewport 属性,通过设置 viewport 的 initial-scale 相关属性 , 将所有设备布局视口的宽度调整为设计图的宽度。 ...
分类:
其他好文 时间:
2021-04-19 14:57:47
阅读次数:
0
<body> <div id="app"> <input type="text" v-model="num"/> <h1>{{name}},你真的强,有{{num}}个人为他点赞。</h1> </div> <script src="./node_modules/vue/dist/vue.js"></ ...
分类:
其他好文 时间:
2021-04-16 12:11:07
阅读次数:
0
一起学习jquery, 解决的办法是:使用button按钮,而不是submit按钮 看下面的例子 <title>用户修改密码</title> <script type="text/javascript" src="scripts/jquery-2.0.2.js"></script> <script ...
分类:
Web程序 时间:
2021-04-15 12:28:59
阅读次数:
0
<button id="delAll">批量删除</button>//给按钮一个id属性 <input type="checkbox" name="check" checkid="{{$v->id}}">//给input设置一个自定义的id <script src="https://apps.bdi ...
分类:
其他好文 时间:
2021-04-15 12:05:39
阅读次数:
0