public class app17_22 { private static String driver = "com.mysql.jdbc.Driver"; private static String url = "jdbc:mysql://localhost:3306/k"; private s ...
分类:
其他好文 时间:
2021-06-02 15:10:03
阅读次数:
0
#es6中的块级作用域let consat ##相对于es5,es5只有var。没有作用域,相当于是全局作用域。而es6中let 和consat都是有作用域的 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title> ...
分类:
其他好文 时间:
2021-06-02 15:08:50
阅读次数:
0
typeof 1. 对于原始类型来说,除了 null 都可以调用typeof显示正确的类型 typeof 1 // 'number' typeof '1' // 'string' typeof undefined // 'undefined' typeof true // 'boolean' typ ...
分类:
Web程序 时间:
2021-06-02 15:04:30
阅读次数:
0
from fastapi.staticfiles import StaticFiles app.mount(path='/coronavirus/',app=StaticFiles(directory=' ./coronavirus/static', name='static')) ...
自动化开发部署和测试 在之前章节中有一个IsValid方法,检查银行账号是是否符合校验码要求,由于这种方法很容易出现代码错误,都会写一个短小的程序来测试验证此方法。 class Program { [STAThread] static void Main(string[] args) { strin ...
分类:
其他好文 时间:
2021-06-02 14:49:27
阅读次数:
0
1.使用场景 地图的使用场景非常广泛,地图定位可以直观的说明位置及周边环境,让用户更好的了解地理位置信息,更好的规划路径,以方便出行,定位,导航等成为互联网最常见的功能之一。 2.技术介绍 市面上常见的地图API有很多,例如: 百度地图API:http://lbsyun.baidu.com 高德地图 ...
新建 axios.js 放入libs目录下 import qs from 'qs'; // create an axios instance const service = axios.create({ baseURL: process.env.VUE_APP_BASE_API, // url = ...
分类:
移动开发 时间:
2021-06-02 14:43:30
阅读次数:
0
1、String的基本特性 String:字符串,使用一对""引起来表示。 String sl = "hello";//字面量的定义方式 String s2 = new String("hello") ; String声明为final的, 不可被继承。 String实现了Serializable接口 ...
分类:
其他好文 时间:
2021-06-02 14:38:33
阅读次数:
0
package leetcode; import java.util.ArrayList; import java.util.List; public class demo_22 { public List<String> generateParenthesis(int n) { List<Stri ...
分类:
其他好文 时间:
2021-06-02 14:38:15
阅读次数:
0
//1. ES5 闭包实现单例模式 let singleton = (function(){ let instance = null; return function(name){ this.name = name; instance = instance? instance : this; ret ...
分类:
编程语言 时间:
2021-06-02 14:36:57
阅读次数:
0