上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 60 下一页
摘要: Java 项目工程搭建 --创建父工程 Java 项目工程搭建 --创建子模块(依赖父工程) 这个建方比较干净,不会生成乱七八糟的东西,(建完以后,其它模块可以 Copy 改名字) 选择 Maven 直接下一步 只要输入一个AtifactId 没有过多的依赖,适合专业人事 建主启动程序 建 cont 阅读全文
posted @ 2020-06-06 14:52 VipSoft 阅读(2607) 评论(0) 推荐(0)
摘要: 一下篇,常用 Java 项目工程搭建 --创建子模块(依赖父工程) 也不算常用,常用的是 ctrl+c、ctrl+v ,哈哈 Package要手动改下,生成的很丑 选能支持 Alibaba Cloud 的版本,2.2.7支持Cloud 所以这边 boot 选 2.2.7,如果是 2.3.X 这边左边 阅读全文
posted @ 2020-06-06 14:35 VipSoft 阅读(1584) 评论(0) 推荐(0)
摘要: Java 项目工程搭建 --创建父工程 Java 项目工程搭建 --创建子模块(依赖父工程) Intellij 2018 更多详细内容见尚硅谷阳哥视频,实际项目中更多的是copy,修改pom Intelij IDEA 隐藏 .idea 设置字体 启用注解支持 编译使用 java 8 <!-- 统一管 阅读全文
posted @ 2020-06-05 23:14 VipSoft 阅读(740) 评论(0) 推荐(0)
摘要: .Net Core 3.0 续:Error unprotecting the session cookie.The payload was invalid. 出现了新的BUG warn: Microsoft.AspNetCore.Session.SessionMiddleware[7] Error 阅读全文
posted @ 2020-06-05 15:14 VipSoft 阅读(4016) 评论(4) 推荐(0)
摘要: .Net Core 3.0 warn: Microsoft.AspNetCore.Session.SessionMiddleware[7] Error unprotecting the session cookie. System.Security.Cryptography.Cryptographi 阅读全文
posted @ 2020-06-04 19:25 VipSoft 阅读(5298) 评论(0) 推荐(1)
摘要: app.UseIpRateLimiting(); #需要放在前面,否则抓去不准,还有可能会出现下列错误 本次出现这个错误,是因为 .Net Core 跨域 里面的这行:httpContext.Response.StatusCode = 204; 由于StatusCode 先给它设了 204,所以导致 阅读全文
posted @ 2020-06-04 14:07 VipSoft 阅读(3257) 评论(2) 推荐(0)
摘要: Ctrl+Shift+P 安装 pretty json Ctrl+Alt+J 阅读全文
posted @ 2020-06-01 19:06 VipSoft 阅读(1051) 评论(0) 推荐(1)
摘要: Ctrl+Shift+P 安装 ChineseLocalizations 包 如下图 或者 Preferences -> Package Control 阅读全文
posted @ 2020-06-01 18:37 VipSoft 阅读(233) 评论(0) 推荐(0)
摘要: 1. 默认情况下是方框,看起来不太方便 2. 选中 “同” 然后按 Alt +F3【下方的查询框要出现,没有的话按 Ctrl+F 调出来,否则不会高亮显示】 同时,选中的文字还会填入查找框中, 下面是网上说的 wordhighlight 插件,某些类型的文档,如JSON,双击一下就可以高亮,写代码时 阅读全文
posted @ 2020-06-01 17:37 VipSoft 阅读(12391) 评论(0) 推荐(1)
摘要: 1.将 city_code_cn.json 中的省、市、区,翻译成英文,或直接替换去掉省、市 如:苏州市 -> 苏州 转成拼音后就变成 Suzhou,否则就会转成 Suzhoushi 怪怪的 import pypinyin import re def pinyin(word): s = '' for 阅读全文
posted @ 2020-05-28 18:35 VipSoft 阅读(648) 评论(0) 推荐(0)
摘要: 1.输入乱码如图 2.Preferences -> Browse Packages.. 3.加入 "env": { "PYTHONIOENCODING": "utf8" } 重新编译,可输出中文 阅读全文
posted @ 2020-05-27 16:46 VipSoft 阅读(372) 评论(0) 推荐(0)
摘要: 1.安装 netaddr 组件 pip install netaddr -i https://mirrors.aliyun.com/pypi/simple/ from netaddr import IPNetwork print('https://ipjisuanqi.com/#121.224.14 阅读全文
posted @ 2020-05-23 21:53 VipSoft 阅读(2088) 评论(0) 推荐(0)
摘要: 1.查出有哪些约束 SELECT CONSTRAINT_NAME,CONSTRAINT_TYPE,STATUS FROM USER_CONSTRAINTS WHERE TABLE_NAME ='D_DRUG_DICTIONARY'; 2.删除 唯一约束 ALTER TABLE D_DRUG_DICT 阅读全文
posted @ 2020-05-23 01:08 VipSoft 阅读(3260) 评论(0) 推荐(0)
摘要: 1.Demo,实际项目中不这么使用 class Program { static void Main(string[] args) { //缓存的配置 MemoryCacheOptions cacheOps = new MemoryCacheOptions() { //缓存最大为100份 //##注 阅读全文
posted @ 2020-05-16 14:37 VipSoft 阅读(1571) 评论(0) 推荐(0)
摘要: Startup.cs public class Startup { public static readonly ILoggerFactory efLogger = LoggerFactory.Create(builder => { builder.AddFilter((category, leve 阅读全文
posted @ 2020-05-15 20:54 VipSoft 阅读(2833) 评论(0) 推荐(0)
摘要: using NLog; private static Logger logger = LogManager.GetCurrentClassLogger(); //初始化日志类 NLog.config <?xml version="1.0" encoding="utf-8" ?> <nlog xmln 阅读全文
posted @ 2020-05-15 11:01 VipSoft 阅读(887) 评论(0) 推荐(0)
摘要: 1.Nuget包添加引用: X.PagedList.Mvc.Core 2.View: @using VipSoft.Web.Model @model X.PagedList.IPagedList<VipSoft.Web.Model.DBEntity.Job> @using X.PagedList.M 阅读全文
posted @ 2020-05-14 19:56 VipSoft 阅读(1483) 评论(0) 推荐(0)
摘要: StartUp.cs public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseEndpoints(endpoints => { endpoints.MapControllerRoute( nam 阅读全文
posted @ 2020-05-14 13:57 VipSoft 阅读(288) 评论(0) 推荐(0)
摘要: Startup.cs public void Configure(IApplicationBuilder app, IHostingEnvironment env) { app.UseCorsMiddleware(); //其它代码...... } CorsMiddleware.cs using S 阅读全文
posted @ 2020-05-12 20:56 VipSoft 阅读(482) 评论(1) 推荐(0)
摘要: 仅我的代码“警告 你正在调试 XXX.dll 的发布版本。如果在启用”仅我的代码”的同时使用通过编译器优化的发布版本,调试体验会降级(例如,将不会命中断点) 停止调试 禁用仅我的代码并继续 继续调试 继续调试(不再询问) 阅读全文
posted @ 2020-04-27 14:16 VipSoft 阅读(5579) 评论(0) 推荐(0)
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 60 下一页