<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script src="js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script ...
分类:
其他好文 时间:
2020-03-23 17:09:12
阅读次数:
104
题目 要求 源码 package servlet; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import jav ...
分类:
其他好文 时间:
2020-03-23 15:02:50
阅读次数:
59
不同路径II。题意跟版本一一样,唯一的不同点在于路径上会有障碍物。依然是返回到底有多少不同的路径能从左上角走到右下角。例子, Example 1: Input: [ [0,0,0], [0,1,0], [0,0,0] ] Output: 2 Explanation: There is one obs ...
分类:
其他好文 时间:
2020-03-23 12:40:29
阅读次数:
85
1.手机号验证 let regex = /^1[34578]\d{9}$/g; 2.用户名验证(4到16位(字母,数字,下划线,减号)) let regex = /^[a-zA-Z\$][a-zA-Z0-9_\$]{4,16}$/; 3.qq号验证(5-11位) let regex = /^[1-9 ...
分类:
其他好文 时间:
2020-03-23 11:27:45
阅读次数:
757
1、计算器 bash [17:23:31 root@Centos8 ~] bc bc 1.07.1 Copyright 1991 1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012 2017 Free Software Foundation, Inc. Th ...
分类:
其他好文 时间:
2020-03-23 00:18:48
阅读次数:
83
大家好,今天我们来聊聊js中for循环,咱废话不多说直接进入主题; for语句是循环语句的一种用于创建一个循环,这是在开发中最常见的循环; for的语法for(初始值;条件判断;自身的改变){要重复执行的代码}; <script> var a=0;//定义一个变量 //循环6次,每次都执行a+1 f ...
分类:
Web程序 时间:
2020-03-23 00:10:20
阅读次数:
103
输入标签名+tab > 子标签 * 多少个标签 $ 标签的名称序号 { } 标签的内容 + 并列的标签 [ ] 属性 HTML script + 并列的标签:div#one+div#two 点击tab 引入 表格 链接 a[href=#] 再tab <a href="#"></a> a:link 再 ...
分类:
Web程序 时间:
2020-03-22 23:52:01
阅读次数:
116
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. ...
分类:
其他好文 时间:
2020-03-22 19:57:31
阅读次数:
68
1、Refused to execute script from 'URL' because its MIME type ('texthtml') is not executable, a nd strict MIME type checking is enabled 问题出现的原因:静态文件路径错 ...
分类:
其他好文 时间:
2020-03-22 17:32:34
阅读次数:
79
作为一名前端工程师,能做的优化有哪一些呢?主要包括两方面:页面性能与代码可维护性。 HTML篇 减少不必要的嵌套 适当且精简的id/class名称 有意义地使用id(利用选择符属性) 减少link、script请求 底部引用script CDN加速 利用好HTML5标签 压缩html CSS篇 减少 ...
分类:
其他好文 时间:
2020-03-22 15:59:21
阅读次数:
77