码迷,mamicode.com
首页 >  
搜索关键字:operator new    ( 77942个结果
vue富文本编辑器
npm i wangeditor --save 页面单独引入 import E from "wangeditor"; <div id="div1"></div> data(){ return{ editor:null, } } mounted() { const editor = new E('#d ...
分类:其他好文   时间:2020-12-15 12:13:24    阅读次数:3
C# 定时器:方法
#region 定时器 //1 分钟 =60000 毫秒 1 时(小时)= 3600000 毫秒 1 天=86400000 毫秒 System.Timers.Timer myTimer = new System.Timers.Timer(60000); myTimer.Elapsed += new ...
分类:Windows程序   时间:2020-12-15 12:11:33    阅读次数:3
BufferedWriter和BufferedReader使用
import java.io.*; public class FileReaderWriter { public static void main(String[] args) throws IOException { File file=new File("d://text.txt");//创建文 ...
分类:其他好文   时间:2020-12-15 12:01:31    阅读次数:2
php 文件删除
/** @JsonRpcMethod- delFile*/ public function delFile($data){ if(empty($data->filename)){ throw new Exception('参数错误',3104); }else{ $filename = $data-> ...
分类:Web程序   时间:2020-12-15 11:58:30    阅读次数:3
C# 通过代码创建SDF数据库
通过c#代码创建SDF数据库文件 // 创建SDF文件,文件路径:c:\test.sdf SqlCeEngine engine = new SqlCeEngine(@"Data Source = c:\test.sdf"); engine.CreateDatabase(); engine.Dispo ...
分类:数据库   时间:2020-12-15 11:49:48    阅读次数:3
力扣#5 最长回文子串
1 class Solution { 2 public String longestPalindrome(String s) { 3 if(s.equals("")) return ""; 4 String origin = s; 5 String reverse = new StringBuffe ...
分类:其他好文   时间:2020-12-14 13:43:53    阅读次数:4
JAVA基础 IO流三 功能流?
Buffered 缓冲流:可以加快节点流的读写效率 字节缓冲流: BufferedInputStream 字节输入缓冲流 BufferedOutputStream 字节输出缓冲流 没有新增方法,可以发生多态 使用: InputStream is = new BufferedInputStream(n ...
分类:编程语言   时间:2020-12-14 13:41:41    阅读次数:5
[Go] go下实现md5加密
下面这个工具包下的函数 package utils import ( "crypto/md5" "encoding/hex" ) //md5加密 func Md5(src string) string { m := md5.New() m.Write([]byte(src)) res := hex. ...
分类:其他好文   时间:2020-12-14 13:19:12    阅读次数:3
接口调用经常出现主键重复错误
找到主表的主键最大值,通过数据库查询执行以下语句:DBCCCHECKIDENT(‘yatai_t_HydaentryTranHistory‘,RESEED,new_reseed_value),new_reseed_value=最大值+1;如果此表名是某单据表名(例如:会员主表,yatai_t_HydaentryTranHistory),只需找出当前表(yatai_t_Hydaent
分类:其他好文   时间:2020-12-14 13:08:36    阅读次数:3
springcloud(一)-Eureka&Ribbon
架构演变 远程服务调用方式 Eureka Ribbon ## 架构演变(了解) 集中式 特点:所有功能代码都在一个项目中 应用场景:访问量不太大的小项目 优点:开发、部署比较简单方便 缺点:修改代码,需要对整个项目进行打包部署,相对比较麻烦 垂直拆分 特点:根据功能把项目拆分成一个个单独的系统,系统 ...
分类:编程语言   时间:2020-12-14 12:59:04    阅读次数:4
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!