码迷,mamicode.com
首页 >  
搜索关键字:ace    ( 20173个结果
将手机号中间四位转换为 * 号
使用正则将手机号中间四位转换为 * 号: let mobile = "131 0000 8080" function convertMobile(mobile){ const mobileReg = /(\d{3})(\d{4})(\d{4})/ig; let mobileCalc = mobile ...
分类:移动开发   时间:2021-03-03 12:03:01    阅读次数:0
不能启动vue项目,需要扩容
1.执行npm run fix-memory-limit 2.再重新启动发现报错"node --max-old-space-size=10048"' 不是内部或外部命令,也不是可运行的程序 3.找到 在项目中 node_modules.bin 下的 webpack.cmd 和 webpack-dev ...
分类:其他好文   时间:2021-03-02 12:41:28    阅读次数:0
C#正则手机号脱敏
Regex.Replace("18888888888", "(\\d{3})\\d{4}(\\d{4})", "$1****$2"); ...
分类:移动开发   时间:2021-03-02 12:36:37    阅读次数:0
程序员面试金典 <Cracking the Coding Interview> 面试题 01.03. URL化 配图
地址 https://leetcode-cn.com/problems/string-to-url-lcci/solution/ URL化。编写一种方法,将字符串中的空格全部替换为%20。假定该字符串尾部有足够的空间存放新增字符,并且知道字符串的“真实”长度。(注:用Java实现的话,请使用字符数组 ...
分类:Web程序   时间:2021-03-01 13:58:11    阅读次数:0
C++语言
typedef type newname; // 为已有的类型取一个新名字 // 枚举类型 enum color {red, green=5, yellow}; // color: 枚举名 // red, green, yellow: 标识符 // 默认,第一个标识符的值为0,第二个标识符的值为1, ...
分类:编程语言   时间:2021-03-01 13:50:41    阅读次数:0
Games201-拉格朗日视角有限元
概念 Deformation 形变 and deformation gradients 形变梯度 elastic 弹性 Strain and stress Hyperelastic material model 超弹性模型 线性有限元 elastic 弹性的 viscoelastic 粘性的 ela ...
分类:其他好文   时间:2021-03-01 13:47:40    阅读次数:0
树状数组
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; typedef vector<ii> vii; typedef ...
分类:编程语言   时间:2021-02-27 13:27:43    阅读次数:0
Python:列表(list)
一:作用 二:定义 三:类型转换 四:内置方法 一:列表类型的作用 如果需存多个值并按顺序取,那用list再合适不过了 二:列表类型的定义 l = [1,2,3,'a'] ##相当于l = list(1,2,3,'a') print(l)print(type(l)) 以上代码执行结果为: [1, 2 ...
分类:编程语言   时间:2021-02-26 13:20:23    阅读次数:0
字符串
1.获取字符串 利用public String substring(int beginIndex)从指定位置开始截取字符串,beginIndex为开始截取的位置。利用public String substring(int beginIndex,int endIndex)可以实现从指定的开始位置截取到 ...
分类:其他好文   时间:2021-02-26 13:19:59    阅读次数:0
Tomcat虚拟路径
Tomcat虚拟路径:作用类似于访问某个设定的路径时,根据虚拟路径的配置去访问一个绝对路径下的项目1.E盘根目录下创建demo文件夹(E:\demo)。复制Tomcat目录下的webapps\ROOT中的WEB-INFO文件夹到demo文件夹。(里面带有一个web.xml文件)2.在tomcat\c ...
分类:其他好文   时间:2021-02-25 12:14:01    阅读次数:0
20173条   上一页 1 ... 20 21 22 23 24 ... 2018 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!