js 的动态类型有好有坏。好的一面,不必指明变量的类型。不好的是,咱们永远无法确定变量的类型。 typeof运算符可以确定 js 中的6种类型: typeof 10; // => 'number' typeof 'Hello'; // => 'string' typeof false; // => ...
分类:
编程语言 时间:
2020-11-25 12:41:44
阅读次数:
6
一、什么是二维码 二维码又称二维条码,常见的二维码为 "QR Code" ,QR 全称 Quick Response 是一个近几年来移动设备上超流行的一种编码方式,它比传统的Bar Code条形码能存更多的信息,也能表示更多的数据类型。二维条码/二维码(2-dimensional bar code) ...
分类:
其他好文 时间:
2020-11-25 12:31:41
阅读次数:
4
此博客链接: 字符串相加 题目链接:https://leetcode-cn.com/problems/add-strings/ 题目 给定两个字符串形式的非负整数 num1 和num2 ,计算它们的和。 提示: num1 和num2 的长度都小于 5100num1 和num2 都只包含数字 0-9n ...
分类:
其他好文 时间:
2020-11-25 12:07:41
阅读次数:
23
# cat check_gitlab_bak.sh #!/bin/sh source /etc/profile # 定义邮件发送列表 maillist=( zise@feizhu.com ) # 发送邮件函数 send_mail(){ for mail in ${maillist[*]}; do e ...
分类:
其他好文 时间:
2020-11-24 12:46:56
阅读次数:
8
关于isNaN() 判断是否是非数字(如果不是number类型,先隐式类型 转换成number类型,在判断是否非数字) 是非数字,返回true,不是非数字(是非数字 =》false) console.log(isNaN(100)); //false console.log(isNaN(100.55) ...
分类:
其他好文 时间:
2020-11-24 12:41:51
阅读次数:
10
Freeswitch官网太慢了,经常还打不开,把电话挂断原因大全复制一份到这里,方便日常查看 ITU-T Q.850 Code SIP Equiv. Enumeration Cause Description ITU-T Q.850 Code SIP Equiv. Enumeration Cause ...
分类:
其他好文 时间:
2020-11-23 12:49:07
阅读次数:
53
BigDecimal bigNum1 = new BigDecimal("10"); BigDecimal bigNum2 = new BigDecimal("5"); BigDecimal bigNum3; //加法 bigNum3 = bigNum1.add(bigNum2); System.o ...
分类:
其他好文 时间:
2020-11-23 12:40:40
阅读次数:
16
Difficulty: Medium Related Topics: Depth-first Search, Breadth-first Search, Union Find Link: https://leetcode.com/problems/number-of-islands/ Descrip ...
分类:
其他好文 时间:
2020-11-23 12:25:21
阅读次数:
3
实验任务4#include<stdio.h> #include<math.h> int main() { int n,a,b,i,s; printf("Enter a number:"); scanf("%d",&n); while(n){ i=0; s=0; while(n!=0){ a=n%10 ...
分类:
其他好文 时间:
2020-11-23 12:22:09
阅读次数:
3
最近生产环境在这两个参数之间遇到过几次坑。这里记录下。 client_max_body_size client_max_body_size 默认 1M,表示 客户端请求服务器最大允许大小,在“Content-Length”请求头中指定。如果请求的正文数据大于client_max_body_size, ...
分类:
其他好文 时间:
2020-11-23 12:01:24
阅读次数:
6