摘要:
program.cs增加contrller支持 var builder = WebApplication.CreateBuilder(args);builder.Services.AddSession();//添加session支持builder.Services.AddHttpContextAcc 阅读全文
摘要:
program.cs增加contrller支持 app.UseStaticFiles(); app.UseRouting(); app.UseAuthorization(); app.MapRazorPages();app.MapControllers();//增加controllers映射 app 阅读全文
摘要:
极光的坑太多了 IOS底下,setup的时候报错: NSInvalidArgumentException', reason: '+[JCOREService apiRecord:methodName:]: unrecognized selector sent to classflutter: | J 阅读全文
摘要:
service mysqld restart 无效centos 7开始 service 无用了,用systemctlmysql5.6 开始 默认都是 utf-8 阅读全文
摘要:
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, 阅读全文
摘要:
#安装pywin32pip install pywin32#安装服务> python WinPyServiceExample.py installInstalling service WinPyServiceExampleService installed#更新服务> python WinPySer 阅读全文
摘要:
kill-svn-folders.reg(扩展名由txt改为reg),内容如下: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN] @="Delete S 阅读全文
摘要:
经常用到记录下: var query = from p in list where p.Letter == letter select new BrandInfo() { Logo = "https://***" + p.Logo, Name = p.Name, Id =p.Id }; cLInfo 阅读全文
摘要:
需求是用fiddler抓包,刚好系统又是windows server 2016,这个360驱动复杂了点。 非server系统,只要用360卫视,功能大全里直接搜索wifi,然后双击安装即可 360官方也没个说法,估计忙着造车去了吧,这些业务已经看不上了 正确姿势如下: 1)打开服务器管理器,添加功能 阅读全文
摘要:
1.添加引用 import requests,sys,socket #获取本机IP地址def getIPList(self): ipList=[] # 下方代码为获取当前主机IPV4 和IPV6的所有IP地址(所有系统均通用) addrs = socket.getaddrinfo(socket.ge 阅读全文