博客
时间线
分类
标签
关于
博客
时间线
分类
标签
关于
dotnet -- 4. set 跨域 Cors
.netcore cors 配置跨域是后端职责所在 核心代码如下: 12345678910111213141516// 从 appsetting 获取跨域列表var hostList = configuration.GetSection("Cors").GetChildren().Select(w => w.Value).ToArray();services.A...
2023-05-06
阅读全文
dotnet -- 3. linux install dotnet
脚本安装 下载地址: 点击下载 1bash dotnet-install.sh 官网https://learn.microsoft.com/zh-cn/dotnet/core/install/linux
2023-05-06
阅读全文
dotnet -- 2. set nuget
dotnet nuget add 1dotnet nuget add source {url} -n {name} remove 1dotnet nuget remove source {name} see 1dotnet nuget list source
2023-05-06
阅读全文
dotnet -- 1. publish
dotnet publish1dotnet publish -c Release -r linux-x64 --self-contained false -o ./bin/publish -c -c Release -c Debug
2023-05-06
阅读全文
ubuntu install dotnet sdk
ubuntu install dotnet sdk bash1234sudo apt-get update; \sudo apt-get install -y apt-transport-https && \sudo apt-get update && \sudo apt-get install -y dotnet-sdk-6.0
2023-05-06
阅读全文
linux -- 脚本常用语法
shell scriptShebang12#! /bin/bash#! /bin/python 执行方式1234567# 在当前进程执行, 所赋值的变量会保留source test.sh. test.sh# 在子进程中执行, 脚本执行结束子进程退出, 所赋值的变量会被回收bash test.sh./test.sh 字符串内执行命令用 `` cat test.sh 12...
2023-05-06
阅读全文
linux -- linux cmd
查看系统信息1uname -a 查看硬盘情况df -h du -h /root 列举 /root 下所有目录 及子目录文件/文件夹大小 du -sh /root /root 大小 du -sh * 查看当前目录下, 所有大小 查看ip1ifconfig -all 重启1reboot 关机1shutdown -h now 查看当前所在位置1pwd 查看命令所在位置 which...
2023-05-06
阅读全文
note - Joplin 笔记软件
Joplin 笔记软件 主要功能/特性 markdown 完美支持 markdown 导入导出 可以导出/导入markdown 支持 tags, title, created, updated 等特性 的导入/导出 可以导出 html 同步 需要下载客户端使用 不能再网页中使用 有如下多种同步模式 可以使用 docker 部署 Joplin Ser...
2023-05-06
阅读全文
川藏线
成都→雅安(147公里)→泸定(168公里)→康定(49公里)→新都桥(75公里)→雅江(74公里)→理塘(143公里)→巴塘(165公里)→竹笆笼(36公里)→芒康(71公里)→左贡(158公里)→邦达(107公里)→八宿(94公里)→然乌(90公里)-波密(129公里)→通麦(89公里)→林芝(127公里)→八一(19公里)→工布江达(127公里)→墨竹工卡(206公里)-拉萨(68公里...
2023-05-06
阅读全文
新冠 每日新增 趋势图
数据来自百度No.1 美国 俄罗斯 英国 印度 意大利 法国 湖北
2023-05-06
阅读全文
上一页
5 / 8
下一页