上一页 1 ··· 84 85 86 87 88 89 90 91 92 ··· 103 下一页
摘要: 在.NET生态系统中,控制台程序的表现相对较差。通常来说,这种项目经常作为Demo演示使用。现在是时候让控制台应用程序得到其应有的尊重了。 终端技术的发展开启了增强用户体验的复兴。 ITerm2, Hyper, Windows Terminal,所有这些工具都为单调的控制台体验增加了一些趣味。 虽然 阅读全文
posted @ 2021-05-18 21:02 China Soft 阅读(69) 评论(0) 推荐(0) 编辑
摘要: System.Reflection.Assembly.GetExecutingAssembly().Location.ToString() 其他: // 获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory// 获取模块的完整路径,包含文件名Sy 阅读全文
posted @ 2021-05-18 13:54 China Soft 阅读(506) 评论(0) 推荐(0) 编辑
摘要: .vue文件 分为三个部分 其中。template 相当于Html 其他两个地方没有变化 style 后面可以加一个 scoped属性 来防止不同的vue文件的样式混淆的问题 下面我们表演如何用webstrom 来运行一个简单的hello.vue文件 <template> <div class="h 阅读全文
posted @ 2021-05-14 15:20 China Soft 阅读(1738) 评论(0) 推荐(0) 编辑
摘要: 官网一般就是演示站,搭建后默认的效果就是和官网一样 MediaWiki官网:https://www.mediawiki.org/wiki/MediaWiki 下载:https://www.mediawiki.org/wiki/Special:MyLanguage/Download 开源免费,功能丰富 阅读全文
posted @ 2021-05-14 10:18 China Soft 阅读(5516) 评论(0) 推荐(0) 编辑
摘要: https://microsoft.github.io/monaco-editor/ 阅读全文
posted @ 2021-05-13 23:27 China Soft 阅读(51) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/zhenglisai/p/14751677.html 现象 随着程序运行,内存占用率越来越高,直到触发linux的OOM,程序被杀死。 分析工具 运行环境:.net core 3.1(微软的分析工具要求最低3.0,无法分析2.1的core程序,需要先改 阅读全文
posted @ 2021-05-11 12:17 China Soft 阅读(1330) 评论(0) 推荐(1) 编辑
摘要: public void ConfigureServices(IServiceCollection services) { services.AddCors(options => { options.AddPolicy("cors", builder => { builder.WithOrigins( 阅读全文
posted @ 2021-05-09 23:19 China Soft 阅读(627) 评论(0) 推荐(0) 编辑
摘要: 引用:using Swashbuckle.AspNetCore.SwaggerUI;using Swashbuckle.AspNetCore; 修改:Startup.cs 文件 public void Configure(IApplicationBuilder app, IWebHostEnviro 阅读全文
posted @ 2021-05-07 10:32 China Soft 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 00 17 * * * /root/anaconda3/python /root/target/file.py 1用crontab启动python,可以正常启动,但是并不是在target下面启动的,导致程序中涉及到路径的地方出错。 crontab默认是从/root启动,基目录不在目标脚本所在位置。即 阅读全文
posted @ 2021-05-06 23:56 China Soft 阅读(460) 评论(0) 推荐(1) 编辑
摘要: https://www.cnblogs.com/liusingbon/p/13037735.html 1.复制或软连接脚本到/etc/init.d/目录下 2.脚本内容如下,加粗内容是模板性注释,不能更改。 $cat /etc/init.d/test.sh #!/bin/bash ### BEGIN 阅读全文
posted @ 2021-05-05 23:19 China Soft 阅读(1172) 评论(0) 推荐(0) 编辑
上一页 1 ··· 84 85 86 87 88 89 90 91 92 ··· 103 下一页