上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 61 下一页
摘要: 1.Ctrl+Shift+P -> install package 安装 Anaconda 查看Python 安装路径 { "python_interpreter":"C:\\Users\\Jimmy\\AppData\\Local\\Programs\\Python\\Python38\\pyth 阅读全文
posted @ 2020-06-06 23:42 VipSoft 阅读(1530) 评论(0) 推荐(0)
摘要: 想让你的windows下 cmd 和我的一样帅吗。下载 cmder 绿色版,然后用我的配置文件,替换原来的文件启动就可以了 另外加cmder添加到右击菜单中,到安装目录中,执行下面命令 Cmder.exe /REGISTER ALL 配置文件下载:cmder 配置下载 报:no main manif 阅读全文
posted @ 2020-06-06 18:55 VipSoft 阅读(1827) 评论(0) 推荐(0)
摘要: Java 项目工程搭建 --创建父工程 Java 项目工程搭建 --创建子模块(依赖父工程) 这个建方比较干净,不会生成乱七八糟的东西,(建完以后,其它模块可以 Copy 改名字) 选择 Maven 直接下一步 只要输入一个AtifactId 没有过多的依赖,适合专业人事 建主启动程序 建 cont 阅读全文
posted @ 2020-06-06 14:52 VipSoft 阅读(2621) 评论(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 阅读(1599) 评论(0) 推荐(0)
摘要: Java 项目工程搭建 --创建父工程 Java 项目工程搭建 --创建子模块(依赖父工程) Intellij 2018 更多详细内容见尚硅谷阳哥视频,实际项目中更多的是copy,修改pom Intelij IDEA 隐藏 .idea 设置字体 启用注解支持 编译使用 java 8 <!-- 统一管 阅读全文
posted @ 2020-06-05 23:14 VipSoft 阅读(761) 评论(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 阅读(4032) 评论(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 阅读(5316) 评论(0) 推荐(1)
摘要: app.UseIpRateLimiting(); #需要放在前面,否则抓去不准,还有可能会出现下列错误 本次出现这个错误,是因为 .Net Core 跨域 里面的这行:httpContext.Response.StatusCode = 204; 由于StatusCode 先给它设了 204,所以导致 阅读全文
posted @ 2020-06-04 14:07 VipSoft 阅读(3273) 评论(2) 推荐(0)
摘要: Ctrl+Shift+P 安装 pretty json Ctrl+Alt+J 阅读全文
posted @ 2020-06-01 19:06 VipSoft 阅读(1061) 评论(0) 推荐(1)
摘要: Ctrl+Shift+P 安装 ChineseLocalizations 包 如下图 或者 Preferences -> Package Control 阅读全文
posted @ 2020-06-01 18:37 VipSoft 阅读(246) 评论(0) 推荐(0)
摘要: 1. 默认情况下是方框,看起来不太方便 2. 选中 “同” 然后按 Alt +F3【下方的查询框要出现,没有的话按 Ctrl+F 调出来,否则不会高亮显示】 同时,选中的文字还会填入查找框中, 下面是网上说的 wordhighlight 插件,某些类型的文档,如JSON,双击一下就可以高亮,写代码时 阅读全文
posted @ 2020-06-01 17:37 VipSoft 阅读(12518) 评论(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 阅读(661) 评论(0) 推荐(0)
摘要: 1.输入乱码如图 2.Preferences -> Browse Packages.. 3.加入 "env": { "PYTHONIOENCODING": "utf8" } 重新编译,可输出中文 阅读全文
posted @ 2020-05-27 16:46 VipSoft 阅读(384) 评论(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 阅读(2108) 评论(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 阅读(3272) 评论(0) 推荐(0)
摘要: 1.Demo,实际项目中不这么使用 class Program { static void Main(string[] args) { //缓存的配置 MemoryCacheOptions cacheOps = new MemoryCacheOptions() { //缓存最大为100份 //##注 阅读全文
posted @ 2020-05-16 14:37 VipSoft 阅读(1585) 评论(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 阅读(2842) 评论(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 阅读(897) 评论(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 阅读(1495) 评论(0) 推荐(0)
摘要: StartUp.cs public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseEndpoints(endpoints => { endpoints.MapControllerRoute( nam 阅读全文
posted @ 2020-05-14 13:57 VipSoft 阅读(301) 评论(0) 推荐(0)
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 61 下一页