上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 23 下一页

2022年12月29日

配置代码片段问题 Invalid characters in string. Control characters must be escaped.

摘要: 在使用代码片段时报错 Invalid characters in string. Control characters must be escaped. " somethings", // space in font of ' somethings ' should : Spacebar inste 阅读全文

posted @ 2022-12-29 15:32 糯米白白 阅读(1329) 评论(0) 推荐(0) 编辑

2022年12月16日

远程服务器不能复制粘贴解决方法

摘要: 主要有两种情况: 1、复制粘贴功能原本可以用,突然失灵了 2、从头到尾都无法使用这个复制粘贴功能 针对第一种情况,只需重启一下rdpclip.exe就可以了 针对第二种情况,步骤: 1、打开任务管理器,查看进程,如果有 rdpclip.exe 进程,先关闭该进程 2、开始->运行->rdpclip. 阅读全文

posted @ 2022-12-16 14:23 糯米白白 阅读(601) 评论(0) 推荐(0) 编辑

cmd命令集合

摘要: 1.windows 查看ip `ipconfig/all` 清除git缓存 `ipconfig/flushdns` 打开当前文件目录 explorer . VS打包项目 devenv ProjectName.sln /Build 2.Linux nginx启动 service nginx start 阅读全文

posted @ 2022-12-16 14:23 糯米白白 阅读(20) 评论(0) 推荐(0) 编辑

Win10 搭建虚拟机

摘要: 教程:https://www.pconline.com.cn/win10/1294/12944608_all.html windows 10镜像:https://www.microsoft.com/zh-cn/software-download/windows10 进bios:https://zhu 阅读全文

posted @ 2022-12-16 10:50 糯米白白 阅读(35) 评论(0) 推荐(0) 编辑

2022年12月15日

C# 解决“请求被中止: 未能创建 SSL/TLS 安全通道”的问题

摘要: 解决办法:让客户端启用该协议。具体就是在发起网络请求之前确保ServicePointManager.SecurityProtocol中含有服务端所用的安全协议,如果不知道或希望客户端健壮一点,当然最简单的方式就是把所有可用的协议都启用,随你服务端将来怎么换。代码如下: ServicePointMan 阅读全文

posted @ 2022-12-15 16:39 糯米白白 阅读(1679) 评论(0) 推荐(0) 编辑

C# ASCII码字符转换

摘要: C#单纯的字母数字ASCII码转换 字母转换成数字 byte[] array = new byte[1]; //定义一组数组array array = System.Text.Encoding.ASCII.GetBytes("string"); //string为待转换的字母 int asciico 阅读全文

posted @ 2022-12-15 10:37 糯米白白 阅读(3266) 评论(0) 推荐(0) 编辑

2022年12月6日

Linux常用(实用)命令大全

摘要: pwd 显示工作路径 shutdown -h now 关闭系统 /halt 关闭系统 shutdown -r now 重启 / reboot 重启 systemctl stop firewalld 关闭防火墙 ip addr 查看ip地址 1、cd命令:这是一个非常基本,也是大家经常需要使用的命令, 阅读全文

posted @ 2022-12-06 15:12 糯米白白 阅读(19834) 评论(0) 推荐(1) 编辑

SQLServer 判断表是否存在

摘要: 1、判断数据表是否存在 方法一: use yourdb; go if object_id(N'tablename',N'U') is not null print '存在' else print '不存在' 例如: use fireweb; go if object_id(N'TEMP_TBL',N 阅读全文

posted @ 2022-12-06 10:13 糯米白白 阅读(2050) 评论(0) 推荐(0) 编辑

2022年12月2日

C# ToDictionary方法

摘要: ToDictionary方法是C#中的扩展方法,可将集合转换为Dictionary。 首先,创建一个字符串数组 string[] str = new string[] {"Car", "Bus", "Bicycle"}; 现在,使用Dictionary方法将集合转换为Dictionary str.T 阅读全文

posted @ 2022-12-02 11:03 糯米白白 阅读(5016) 评论(0) 推荐(2) 编辑

2022年11月30日

C# 保留小数点后面两位方法

摘要: 1、num.ToString("#0.00"); //点后面几个0就保留几位 double num=0.121245;string result=num.ToString("#0.00"); //点后面几个0就保留几位Console.WriteLine(result)。 2、num.ToString 阅读全文

posted @ 2022-11-30 10:17 糯米白白 阅读(5707) 评论(1) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 23 下一页

导航