2022年9月26日

摘要: program.cs增加contrller支持 var builder = WebApplication.CreateBuilder(args);builder.Services.AddSession();//添加session支持builder.Services.AddHttpContextAcc 阅读全文
posted @ 2022-09-26 10:58 kobe 阅读(89) 评论(0) 推荐(0) 编辑

2022年9月25日

摘要: program.cs增加contrller支持 app.UseStaticFiles(); app.UseRouting(); app.UseAuthorization(); app.MapRazorPages();app.MapControllers();//增加controllers映射 app 阅读全文
posted @ 2022-09-25 14:39 kobe 阅读(281) 评论(0) 推荐(0) 编辑

2022年6月2日

摘要: 极光的坑太多了 IOS底下,setup的时候报错: NSInvalidArgumentException', reason: '+[JCOREService apiRecord:methodName:]: unrecognized selector sent to classflutter: | J 阅读全文
posted @ 2022-06-02 17:32 kobe 阅读(390) 评论(0) 推荐(0) 编辑

2022年4月5日

摘要: service mysqld restart 无效centos 7开始 service 无用了,用systemctlmysql5.6 开始 默认都是 utf-8 阅读全文
posted @ 2022-04-05 17:16 kobe 阅读(100) 评论(0) 推荐(0) 编辑

2021年12月9日

摘要: import logging log_file = 'logs/task.log' logging.basicConfig(level=logging.INFO, format='%(message)s',datefmt='%Y-%m-%d %H:%M:%S', filename=log_file, 阅读全文
posted @ 2021-12-09 11:32 kobe 阅读(28) 评论(0) 推荐(0) 编辑

2021年12月8日

摘要: #安装pywin32pip install pywin32#安装服务> python WinPyServiceExample.py installInstalling service WinPyServiceExampleService installed#更新服务> python WinPySer 阅读全文
posted @ 2021-12-08 11:31 kobe 阅读(314) 评论(0) 推荐(0) 编辑
摘要: kill-svn-folders.reg(扩展名由txt改为reg),内容如下: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN] @="Delete S 阅读全文
posted @ 2021-12-08 09:28 kobe 阅读(243) 评论(0) 推荐(0) 编辑

2021年9月29日

摘要: 经常用到记录下: var query = from p in list where p.Letter == letter select new BrandInfo() { Logo = "https://***" + p.Logo, Name = p.Name, Id =p.Id }; cLInfo 阅读全文
posted @ 2021-09-29 11:47 kobe 阅读(286) 评论(0) 推荐(0) 编辑

2021年9月27日

摘要: 需求是用fiddler抓包,刚好系统又是windows server 2016,这个360驱动复杂了点。 非server系统,只要用360卫视,功能大全里直接搜索wifi,然后双击安装即可 360官方也没个说法,估计忙着造车去了吧,这些业务已经看不上了 正确姿势如下: 1)打开服务器管理器,添加功能 阅读全文
posted @ 2021-09-27 09:57 kobe 阅读(573) 评论(0) 推荐(0) 编辑

2021年9月24日

摘要: 1.添加引用 import requests,sys,socket #获取本机IP地址def getIPList(self): ipList=[] # 下方代码为获取当前主机IPV4 和IPV6的所有IP地址(所有系统均通用) addrs = socket.getaddrinfo(socket.ge 阅读全文
posted @ 2021-09-24 16:25 kobe 阅读(886) 评论(0) 推荐(0) 编辑

导航