摘要: 在Word中有时候会在一个段落中同时输入英文,中文,怎么设置两种字体呢?方法其实很简单: 1. 打开Word,创建一个文件,输入一串即包括英文也包括中文的句子,如: 注意,默认的Style是Normal. 2. 编辑Normal Style 注意:Latin对应的字体目前设置的是Calibri (B 阅读全文
posted @ 2022-07-08 17:55 脱缰的野猪 阅读(1136) 评论(0) 推荐(0)
摘要: to 阅读全文
posted @ 2022-05-30 22:32 脱缰的野猪 阅读(38) 评论(0) 推荐(0)
摘要: 一个使用序列化和反序列化方式实现的深度拷贝 1 using System.IO; 2 using System.Runtime.Serialization.Formatters.Binary; 3 4 namespace PDIDataInputEndpoints.Tools 5 { 6 publi 阅读全文
posted @ 2022-05-27 18:04 脱缰的野猪 阅读(154) 评论(0) 推荐(0)
摘要: Automapper 顾名思义就是自动完成两个对象之间的copy,一个不错的教程:https://dotnettutorials.net/lesson/automapper-in-c-sharp/ 不过这个教程的最后一节涉及到的UseValue 及 ResolveUsing 都已经停用了,目前有其他 阅读全文
posted @ 2022-05-25 17:30 脱缰的野猪 阅读(178) 评论(0) 推荐(0)
摘要: 1. Comprehensions 2. List Comprehensions 与上面的语句达到相同的效果,但是复杂的多 another example and another for set comprehensions 3. Dictionary Comprehensions 下面的例子里,去 阅读全文
posted @ 2022-05-16 21:40 脱缰的野猪 阅读(65) 评论(0) 推荐(0)
摘要: 1. REPL: Read, Evaluate, Print, Loop 2. int REPL, type _ to most recently printed value, only in REPL 3. 在REPL里输入多行: 4. PEPs: Python Enhancement Propo 阅读全文
posted @ 2022-05-13 16:48 脱缰的野猪 阅读(229) 评论(0) 推荐(0)
摘要: 1. jupyter notebook 是一个基于web方式的ide 1 C:\luke\Learn\ML\LearnJupyter>jupyter notebook 2 [I 09:54:37.690 NotebookApp] Serving notebooks from local direct 阅读全文
posted @ 2022-05-13 10:15 脱缰的野猪 阅读(1252) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-02-25 11:13 脱缰的野猪 阅读(32) 评论(0) 推荐(0)
摘要: 试用了一下Visual Studio 2022,发现一个新功能,就是创建一个Console项目,Program.cs文件里面只有一行代码: // See https://aka.ms/new-console-template for more information Console.WriteLin 阅读全文
posted @ 2021-12-26 10:32 脱缰的野猪 阅读(6952) 评论(3) 推荐(0)
摘要: 最近看到一个很复杂的excel,其中包括了大量的VBA程序,其中有个写法让我很抓狂 Sub TestMacro() ' ' TestMacro Macro ' On Error GoTo Error_In_Command ' 3 Dim a As Integer 4 a = 10 6 a = a / 阅读全文
posted @ 2021-12-13 14:36 脱缰的野猪 阅读(838) 评论(0) 推荐(0)