西红柿炒蛋
  • 首页
  • 归档
  •   
  •   

apple-app-site-association

Here's something encrypted, password is required to continue reading.
2022-07-06
apple
#apple

nginx 限速

123456789101112131415http { limit_conn_zone $binary_remote_address zone=perip:10m ... server { ... location /download/ { # 限制每个IP只能建立一个连接 li
2022-06-16
nginx
#nginx

uniapp一键登录

客户端-请求登录授权弹出用户授权界面。根据用户操作及授权结果返回对应的回调,拿到 access_token 1234567891011121314uni.login({ provider: 'univerify', univerifyStyle: { // 自定义登录框样式 //参考`univerifyStyle 数据结构` }, succ
2022-05-19
uniapp
#uniapp

Linq中 AsEnumerable() 和 AsIQueryable() 和 Tolist() 的区别

AsEnumerable延时执行,扩展方法接受的是Func(C#语法),会把全部数据加载到内存中,真正使用时(比如.Count , .FirsrOrDefault()等 ) ,再从内存中使用C#求解,得到最终结果。 比较耗费资源。会一直和数据库保持连接 AsIQueryable延时执行,使用Linq语句查询时查询结果默认是 AsIQueryable。 它是把方法表达式翻译成T-SQL语句之后再向S
2022-05-11
netcore > linq
#netcore #linq

StructLinq linq性能优化

在C#中用结构体实现LINQ,以大幅减少内存分配并提高性能。引入IRefStructEnumerable,以提高元素为胖结构体(胖结构体是指结构体大小大于16Byte)时的性能。
2022-05-11
netcore > linq
#netcore #linq

centos系统盘扩容

工具包 12yum install cloud-utils-growpartyum install xfsprogs 运行fdisk -l命令查看现有云盘大小 运行df -Th命令查看云盘分区大小和文件系统类型 进行系统盘扩容 1growpart /dev/vda 1 扩展文件系统 1resize2fs /dev/vda1
2022-04-25
centos
#centos

微信小程序下载文件

123456789101112131415161718192021222324252627282930313233wx.downloadFile({ url: "https://xxxxxxx/test.pdf", responseType: "arraybuffer", success: res => {
2022-02-14
微信小程序
#微信小程序

uniapp注意事项

应用生命周期 页面生命周期 组件生命周期
2022-01-07
uniapp
#uniapp

infersharp代码分析

12docker run -v [dll]:/infersharp/Examples -it registry.cn-hangzhou.aliyuncs.com/cpu/infersharp:1.2./run_infersharp.sh Examples
2021-12-24
infersharp
#infersharp

netcore System.Text.Json

12345678910111213141516171819202122232425public class Demo1{ public string a1 { get; set; } public int b2 { get; set; } public Demo2 c3 { get; set; }}p
2021-11-15
netcore
#netcore
12345…11

搜索

闽ICP备17008917号-3