HTML事件共分5类 Window事件(17个)、Form事件、Keyboard事件、Mouse事件、Media事件 Window事件(17个) 针对window对象的事件(应用到<body>书签) onafterprint :文档打印之后运行的脚本onbeforeprint、onbeforeunl ...
分类:
Web程序 时间:
2020-07-25 09:52:02
阅读次数:
111
tput sc ##记录光标位置 tput cup x y ###移动光标至x列y行 tput rc ##返回光标位置 tput civis ##隐藏光标 tput cnorm ## 显示光标 tput setaf ColorNumber## 设置前景色 tput setab ColorNumber ...
分类:
系统相关 时间:
2020-07-25 09:18:53
阅读次数:
107
水个题解压压惊 A. String Transformation 1 贪心就好了。每次选择所有A里最小的、需要改变的字符,然后改变成最小的对应B值,差不多这个意思吧(?) #include <bits/stdc++.h> using namespace std; #define repeat(i,a ...
分类:
其他好文 时间:
2020-07-25 09:14:40
阅读次数:
91
1、打开file->plugins,搜索插件power mode Ⅱ,安装后重启编辑器。 2、打开file->settings就可以看到power mode Ⅱ,按需配置。 ...
分类:
Web程序 时间:
2020-07-24 21:27:47
阅读次数:
164
献给那些公司没有运维,Java开发就自己的孩子们 在本地运行可以连接到linux系统上的mysql 报错信息如下 Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure The ...
分类:
数据库 时间:
2020-07-24 16:45:20
阅读次数:
184
https://zhuanlan.zhihu.com/c_1189883314197168128 45、ORM框架SQLAlchemy https://zhuanlan.zhihu.com/p/120953101 43、数据备份、pymysql模块 https://zhuanlan.zhihu.co ...
分类:
编程语言 时间:
2020-07-24 15:41:38
阅读次数:
96
1.集合 *Collection接口: List : 记录元素保存顺序,且允许有重复元素 Set :不 记录元素保存顺序,且不允许有重复元素 2.List 主要的实现类ArrayList.LinkedList 3.迭代器 Iterator iterator = iterable.inerator() ...
分类:
编程语言 时间:
2020-07-23 22:35:29
阅读次数:
72
1 问题描述 环境Linux+fcitx,JetBrains的IDE无法输入中文,包括IDEA,PyCharm,WebStorm,CLion等等。 2 解决方案 Linux下一般使用fcitx进入中文输入,安装的时候教程一般都会提到以下三个环境变量: export XMODIFIERS="@im=f ...
分类:
其他好文 时间:
2020-07-23 18:58:42
阅读次数:
103
session.auto_start=0 修改为 session.auto_start=1;
output_buffering = Off 修改为 output_buffering = On; ...
分类:
数据库 时间:
2020-07-23 18:56:25
阅读次数:
86
一问题: 用ajax 请求后台数据,动态获取表格,表格最后一栏的修改按钮,点击修改按钮怎样把当前选中的数据回显到修改页面 二解决办法: 借助layui框架的table 举例:教师账户查询模块核心代码 function tsel() { $("#div2").empty(); $("#div2") . ...
分类:
Web程序 时间:
2020-07-23 18:54:04
阅读次数:
96