C++有类,弄出来的是“树”状的,结果一个东西就被埋得越来越深。a.b.c.d.e.f(g.h.i(j.k))。C没有类,函数一律平铺。 好多年前在网上看到过一个很有意思的东西,Helloworld的17种写法,很好的讽刺。作者已不可考。 1. A Beginners Hello Worldpubl ...
分类:
其他好文 时间:
2020-07-31 21:48:49
阅读次数:
110
server: port: 8006 spring: application: name: consul-provider-payment cloud: consul: host: 192.168.152.131 port: 8500 discovery: service-name: ${sprin ...
分类:
其他好文 时间:
2020-07-31 14:08:12
阅读次数:
99
在PPT中插入会动的GIF图片,播放时生动有趣;可是GIF图片插入Word文档后却变成了静态画面,表现效果大打折扣。让我们装一个小控件,让图片动起来!第一步:登录http://www.officefans.net/cdb/attachment.php?aid=1034下载控件(快车代码:CF0805BANGONG01),解开压缩包,把AniGIF.ocx复制到“windowssystem32”文件
分类:
其他好文 时间:
2020-07-31 01:14:16
阅读次数:
77
直接贴代码了: ::v-deep .el-radio__label { width: 100% !important; text-overflow: ellipsis; white-space: normal; line-height: 18px; // word-wrap: break-word ...
分类:
其他好文 时间:
2020-07-30 22:11:29
阅读次数:
323
1 //自动导出excel/pdf/word 2 private void ResponseFile(int oType, string fileName) 3 { 4 string outType; 5 if (oType == 0) 6 { 7 outType = "Excel"; 8 } 9 ...
分类:
其他好文 时间:
2020-07-30 21:57:41
阅读次数:
85
读取配置文件 在以前的项目中我们主要在 XML 文件中进行框架配置,业务的相关配置会放在属性文件中, 然后通过一个属性读取的工具类来读取配置信息。在 Spring Boot 中我们不再需要使用这种方式去读取数据了。 Spring Boot 中的配置通常放在 application.propertie ...
分类:
编程语言 时间:
2020-07-30 18:24:49
阅读次数:
112
npm创建自己的包 一、一个简单的创建 1、创建npm账号 官网:https://www.npmjs.com/ 创建账号入口:https://www.npmjs.com/signup 注意:需要进入邮箱验证 2、创建目录及初始化 $ mkdir zqh-test $ cd zqh-test zqh- ...
分类:
其他好文 时间:
2020-07-30 14:32:00
阅读次数:
65
基础数据类型补充内容 字符串 s = "everyone's the hero in their own story" # print(s.capitalize()) # 句子首单词的首字母变大写,其余小写 Everyone's the hero in their own story # print ...
分类:
编程语言 时间:
2020-07-30 01:33:10
阅读次数:
88
#1 系列目录 线程池接口分析以及FutureTask设计实现 线程池源码分析-ThreadPoolExecutor 该系列打算从一个最简单的Executor执行器开始一步一步扩展到ThreadPoolExecutor,希望能粗略的描述出线程池的各个实现细节。针对JDK1.7中的线程池 #2 Thr ...
分类:
编程语言 时间:
2020-07-30 01:12:34
阅读次数:
69