会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
以沫浅夏
博客园
首页
新随笔
联系
管理
订阅
2022年1月24日
ubuntu 18.04设置静态ip
摘要: 创建 01-netplan.yam 文件 network: version: 2 renderer: networkd ethernets: ens33: dhcp4: no addresses: [192.168.44.11/24] gateway4: 192.168.44.255 nameser
阅读全文
posted @ 2022-01-24 12:55 以沫浅夏
阅读(73)
评论(0)
推荐(0)
2020年7月18日
VS自动按日期生成版本号
摘要: VS自动按日期生成版本号,修改解决方案文件 <PropertyGroup> <TargetFramework>netstandard2.1</TargetFramework> <Revision>$([System.DateTime]::Now.ToString("yyyy.MM.dd.HHmm")
阅读全文
posted @ 2020-07-18 20:27 以沫浅夏
阅读(1007)
评论(1)
推荐(0)
2018年12月14日
winform计算文本的所占的像素长度
摘要: /// /// 计算文本的宽度 /// /// /// public static int GetStringLength(string str, int AddLength = 0) { Font f = new Font("微软雅黑", 12F, S...
阅读全文
posted @ 2018-12-14 16:26 以沫浅夏
阅读(830)
评论(0)
推荐(0)
2018年11月24日
ORACLE SQL Developer日期显示格式设置
摘要: ORACLE的SQL Developer工具默认的日期格式DD-MON-RR,在SQL查询中往往你看不到时间信息,此时你必须修改日期格式。具体如下所示 工具->首选项->数据库->NLS->日期格式: DD-MON-RR 修改为: YYYY-MM-DD HH24:MI:SS转载:https://www.cnblogs.com/kerrycode/p/4983085.html
阅读全文
posted @ 2018-11-24 10:20 以沫浅夏
阅读(1743)
评论(0)
推荐(0)
2018年11月20日
Dev Label显示不同颜色字体
摘要: 原文连接: https://documentation.devexpress.com/WindowsForms/DevExpress.XtraEditors.LabelControl.class https://documentation.devexpress.com/WindowsForms/De
阅读全文
posted @ 2018-11-20 10:38 以沫浅夏
阅读(1096)
评论(0)
推荐(0)
2018年8月25日
Docker镜像加速
摘要: https://7gx64iks.mirror.aliyuncs.com
阅读全文
posted @ 2018-08-25 10:20 以沫浅夏
阅读(207)
评论(0)
推荐(0)
2018年7月24日
mvc大对象json传输报错
摘要: public ActionResult GetLargeJsonResult() { return new ContentResult { Content = new JavaScriptSerializer { MaxJsonLength = Int32.MaxValue }.Serialize(myBigdata), ContentType = "...
阅读全文
posted @ 2018-07-24 15:10 以沫浅夏
阅读(284)
评论(0)
推荐(0)
2018年7月12日
杂记
摘要: var val = new Int32Converter().IsValid(str) ? int.Parse(str) : default(int?);
阅读全文
posted @ 2018-07-12 09:54 以沫浅夏
阅读(134)
评论(0)
推荐(0)
2018年6月13日
Consul使用
摘要:
阅读全文
posted @ 2018-06-13 17:10 以沫浅夏
阅读(247)
评论(0)
推荐(0)
2018年1月24日
获取所有继承接口的类
摘要: var types = AppDomain.CurrentDomain.GetAssemblies() .SelectMany(a => a.GetTypes().Where(t => t.GetInterfaces().Contains(typeof(ISecurity)))) .ToArray();
阅读全文
posted @ 2018-01-24 13:22 以沫浅夏
阅读(640)
评论(0)
推荐(0)
下一页
公告