css line-height 在google和fire 有一像素偏差 display-inline-block 对齐方式有问题 用 vertical-align:middle select option 只有火狐支持 onclick 解决办法 就是迷你select下拉菜单 $(this).find ...
分类:
其他好文 时间:
2020-05-14 22:20:09
阅读次数:
91
题意: "codeforces链接" 给定长度为 $n$ 的数字串 $s$ 和长度为 $d$ 的不含前导零的数字串 $x,y(x \le y)$。 求 存在长度至少为 $\left\lfloor\frac{d}{2}\right\rfloor$ 的子串是 $s$ 的子串 的数字串 $t \in [x ...
分类:
其他好文 时间:
2020-05-14 12:46:24
阅读次数:
58
博客:https://www.cnblogs.com/chengxiao/p/6194356.html https://www.cnblogs.com/piperck/p/6030122.html python实现: def merge(left, right): """ params: left= ...
分类:
编程语言 时间:
2020-05-14 09:11:45
阅读次数:
64
身份证号18位,前6位省市区,再8位年月日的生日,第17位(倒数第二位)性别,奇男偶女,第18位验证,可以是X。 Excel中,mid函数可以提取第17位,或者left、right嵌套提取。 如果只做一次,直接筛选0、2、4、6、8,填女,其余的填男。如果要做多次,isodd或者iseven判断奇偶 ...
分类:
其他好文 时间:
2020-05-13 23:26:37
阅读次数:
83
Oracle select a.table_name,b.COLUMN_NAME,b.DATA_TYPE from user_tables a left join user_tab_columns b on a.table_name=b.table_name where b.DATA_TYPE='T ...
分类:
数据库 时间:
2020-05-13 19:56:46
阅读次数:
80
唔,在 WinForm 中,当设置了控件的 Anchor 属性时,其 Location 属性依然是相对父控件的 Top Left 定位,只是在后续窗口大小发生改变时,会保持 Anchor 指定的边缘(等于在自动调整 Location),并不是 Location 相对 Anchor 来定位。所以 An... ...
function Time3(left) { if (left == 0) { document.getElementById("kaptchaImg").innerHTML = "获取验证码"; document.getElementById("kaptchaImg").disabled = fa ...
分类:
其他好文 时间:
2020-05-13 17:00:46
阅读次数:
64
一、页面增加上传控件,并在上传时判断是否是Excel文件(根据后缀名判断): 1 <table> 2 <tr> 3 <td> 4 <span style="color: Red; clear: both; vertical-align: middle;">*</span> Excel文件: 5 </ ...
分类:
Web程序 时间:
2020-05-13 16:48:16
阅读次数:
89
[TOC] 1、感知机模型 感知机是一个线性分类器,感知机的公式是 $$ f(x) = sign(wx+b) $$ 其中 $$ \operatorname{sign}(x)=\left\{\begin{array}{ll} +1, & x \geqslant 0 \\ 1, & x 关于$wx+b$ ...
分类:
其他好文 时间:
2020-05-13 15:23:41
阅读次数:
65
经过调查是Linux系统磁盘满了,需要清理磁盘。 查看当前磁盘使用情况:df -h 可以看到上面/dev/vda1 de Use%=100%,然后看一下vda1是什么? 所以问题找到了,就是系统磁盘满了,满了,就清理掉无用数据,到根目录下使用命令du -sh * 查看各目录占用空间大小(du -ah ...
分类:
系统相关 时间:
2020-05-13 11:58:34
阅读次数:
296