上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页
摘要: #查看数据库使用的字符集 SHOW VARIABLES LIKE 'char%' #查看当前数据库路径位置 SHOW GLOBAL VARIABLES LIKE "%datadir%" 阅读全文
posted @ 2020-04-18 09:48 dcrenl 阅读(101) 评论(0) 推荐(0) 编辑
摘要: SQL2008 的收缩日志 由于SQL2008对文件和日志管理进行了优化,所以以下语句在SQL2005中可以运行但在SQL2008中已经被取消:SQL2005 清空日志的方法:Backup Log DNName with no_loggodump transaction DNName with no 阅读全文
posted @ 2020-04-15 14:51 dcrenl 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 一、字体设置 二、自动导入java包和自动清除无用的引用 清除无用的import包手动快捷键:Ctrl + Alt + O 添加引用在代码中光标指向需要添加引用的上,然后使用快捷键:Alt+Enter 需要完全自动引用可进行如下设置中: 三、修改Maven,使下载速度更快 xml文件内容如下: <? 阅读全文
posted @ 2020-03-25 09:29 dcrenl 阅读(407) 评论(0) 推荐(0) 编辑
摘要: sp_configure 'show advanced options', 1;GORECONFIGURE;GOsp_configure 'Ole Automation Procedures', 1;GORECONFIGURE;GO DECLARE @SOURCEPATH VARBINARY(MAX 阅读全文
posted @ 2020-03-06 15:35 dcrenl 阅读(946) 评论(0) 推荐(0) 编辑
摘要: 最近工作因为工作需要,有一个身份验证需要前端验证大陆、港澳台身份证、护照、军官证号码的合法性。初步整理了一下各个验证的正则表达式,如有错误请大家指出,谢谢! 大陆身份证正则表达式: idCardValid(id) { // 1 "验证通过!", 0 //校验不通过 var format = /^(( 阅读全文
posted @ 2020-02-12 17:59 dcrenl 阅读(10535) 评论(0) 推荐(0) 编辑
摘要: vs2019调试运行时提示roslyn\csc.exe错误时在nuget包管理器控制台里输入: Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r 阅读全文
posted @ 2019-11-05 20:26 dcrenl 阅读(334) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get update sudo apt-get install default-jre sudo apt-get install default-jdk 阅读全文
posted @ 2019-05-12 17:36 dcrenl 阅读(1602) 评论(0) 推荐(0) 编辑
摘要: 打开终端先卸载系统的iBus sudo apt-get remove ibus 添加源sudo add-apt-repository ppa:fcitx-team/nightlysudo apt-get update 安装 sudo apt-get install fcitx fcitx-confi 阅读全文
posted @ 2019-05-12 00:15 dcrenl 阅读(4001) 评论(0) 推荐(0) 编辑
摘要: Access: CLng(Rnd(种子数字)*1000000) SQL Server ceiling(rand(abs(checksum(newid())))*1000000) 阅读全文
posted @ 2019-03-23 15:54 dcrenl 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 第一种方式: System.Diagnostics.Stopwatch stopwatch = new Stopwatch(); stopwatch.Start(); // 开始监视代码运行时间 // 需要测试的代码 .... stopwatch.Stop(); // 停止监视 TimeSpan t 阅读全文
posted @ 2019-03-13 09:27 dcrenl 阅读(7306) 评论(0) 推荐(2) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页