致虚极,守静笃!

摘要: Python语言规范 一、Lint 定义:pylint是一个在Python源代码中查找bug的工具,c与c++中这些bug通常用编译器来捕获,由于Python语言的动态性,有些警告可能不对,不过误报应该很少。 优点:可以很容易捕获忽视的错误。 缺点:pylint不完美,需要围绕着他来写代码,抑制告警 阅读全文
posted @ 2019-08-01 11:41 Baron-Li 阅读(239) 评论(0) 推荐(0) 编辑
摘要: create sequence SEQ_ID minvalue 1 maxvalue 99999999 start with 1 increment by 1 nocache order; 建解发器代码为: create or replace trigger tri_test_id before insert on test --S_Depart 是表名 for each row... 阅读全文
posted @ 2019-07-26 11:46 Baron-Li 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Python基础+爬虫基础 一、python的安装: 1、建议安装Anaconda,会自己安装一些Python的类库以及自动的配置环境变量,比较方便。 二、基础介绍 1、什么是命名空间:x=1,1存在内存中,x命名空间是存放名字x与1绑定关系的地方。2、命名空间的加载:python解释器先启动,先加 阅读全文
posted @ 2019-07-23 18:09 Baron-Li 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1、由于是先查再插所以不能使用insert into table1() values(), 要使用insert into table1() select * table2,不能使用values。 2、因为是多张表故查询和插入的时候需要指定是哪张表,否则会报错:指定列模糊。 3、三张表联查时可多次使用 阅读全文
posted @ 2019-07-21 14:44 Baron-Li 阅读(791) 评论(0) 推荐(0) 编辑
摘要: git教程:一、git的简介: -git是分布式版本控制系统由Linus为Linux用C语言写的。 -什么是集中式版本控制系统: 版本库是集中存放在中央服务器,干活的时候用自己的电脑, 所以要先从中央服务器取得最新的版本,然后开始干活,干完活后在将自己的活推送到服务器。 缺点:必须联网。 -什么是分 阅读全文
posted @ 2019-03-19 15:11 Baron-Li 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Why use nested classes in C# code? Enable encapsulation Many times nested classes are implementation details of the class. Users of the main class sho 阅读全文
posted @ 2022-06-24 08:55 Baron-Li 阅读(21) 评论(0) 推荐(0) 编辑
摘要: SQL Server collation refers to a set of character and character encoding rules, and influences how information is stored according to the order in the 阅读全文
posted @ 2022-02-09 09:15 Baron-Li 阅读(64) 评论(0) 推荐(0) 编辑
摘要: ISO 7 layer model Physical The lowest layer of the OSI Model is concerted with electrically and optically transmitting raw unstructured data bits acro 阅读全文
posted @ 2021-09-26 11:18 Baron-Li 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Category Introduction State management is a term that will always come to mind whenever dealing with and application data structure. The biggest probl 阅读全文
posted @ 2021-08-25 10:40 Baron-Li 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Fork源仓储之后如何更新和提交代码 Fork之后自己的远程仓储会看到这个源仓储. Git clone # 至本地. Git remote -v # 查看是否关联源仓促, 如果现实四个则表示关联了源仓促, 如果是两个则表明只和fork仓储关联, 未关联源仓储. Git remote add Cust 阅读全文
posted @ 2021-07-06 10:50 Baron-Li 阅读(414) 评论(0) 推荐(0) 编辑
摘要: .Net Core 项目部署在Linux下, 关闭Shell后项目会自动关闭的解决办法 1. 使用nohup命令即可 nohup dotnet xxxx.dll 阅读全文
posted @ 2021-02-06 15:33 Baron-Li 阅读(468) 评论(1) 推荐(0) 编辑
摘要: Difference between WCF and Web Service Web Services通过网络直接与其他的应用相连. Web Services是平台独立, 语言独立, 为构建与使用标准的web协议和数据格式, 如HTTP, SOAP, XML的应用通讯而开发. 开发者仅仅需要了解如何 阅读全文
posted @ 2021-01-22 11:04 Baron-Li 阅读(69) 评论(0) 推荐(0) 编辑
摘要: Vue.js3 之 跨域问题解决方案 通常情况下, Vue项目需要向后端或者第三方的API取数据, 此时会涉及到跨域问题, 以及跨多个域的问题. 网上给了很多方案, 但是都解决不了我的问题. 我的问题如下: 1. Vue项目的端口为9999 2. 后端项目的端口为9991 3. 第三方API为固定域 阅读全文
posted @ 2021-01-21 17:20 Baron-Li 阅读(4694) 评论(0) 推荐(1) 编辑
摘要: Asp.Net Core5 之 JWT 通用JWT工作流 用户发送凭证给网站登录. 网站后端验证凭证, 声明合适的声明然后生成JWT并返回给用户. 用户获取JWT直到过期, 在后继的请求中奖JWT发送给网站. 网站验证JWT后决定资源是是否可访问. 配置 .NET Core提供了NuGet 包可以直 阅读全文
posted @ 2021-01-19 17:37 Baron-Li 阅读(1344) 评论(0) 推荐(0) 编辑
摘要: Entity Framework Core Update Database 当数据结构改变后更新数据库 方式一: 菜单-> Tooles->External Tools-> Add Title: Update DbContext Command: dotnet.exe Arguments: ef d 阅读全文
posted @ 2021-01-18 14:11 Baron-Li 阅读(390) 评论(0) 推荐(0) 编辑

致虚极,守静笃!