转自:https://mp.weixin.qq.com/s/acuQZPPFGVzEiWQYpe5VsA 1.重构是程序员的主力技能。 2.工作日志能提升脑容量。 3.先用profiler调查,才有脸谈优化。 4.注释贵精不贵多。杜绝大姨妈般的“例注”。漫山遍野的碎碎念注释,实际就是背景噪音。 5. ...
分类:
其他好文 时间:
2019-12-29 15:12:04
阅读次数:
79
```javapublic static void test3() { Calendar calendar = Calendar.getInstance();// calendar.add(Calendar.MONTH, 1);//下个月的今天// calendar.add(Calendar.YEA... ...
分类:
其他好文 时间:
2019-12-28 09:38:58
阅读次数:
71
Google "how many words does a native speaker know" 一、an average of 20,000 to 30,000 vocabulary words ①Even with intensive study, how many words do non ...
分类:
其他好文 时间:
2019-12-25 01:37:36
阅读次数:
178
lua os库提供了简单的跟操作系统有关的功能 1. os.clock() 返回程序所运行使用的时间 2. os.date ([format [, time]]) 用来格式化时间戳为可读时间,time为可选时间戳,省略时取当下 其中" t": 将返一个带year(4位),month(1 12), d ...
分类:
其他好文 时间:
2019-12-23 11:42:05
阅读次数:
144
University of Leeds School of ComputingProcedural Programming XJCO1711Semester 1, 2019-2020Coursework 3 80 Marks(40% of the total module marks) Submis ...
分类:
其他好文 时间:
2019-12-22 20:06:31
阅读次数:
63
create EVENT createMtpulseTable ON SCHEDULE every 1 month STARTS CURRENT_TIMESTAMP DO CALL pro_createTable(); CREATE PROCEDURE pro_createTable() BEGIN ...
分类:
数据库 时间:
2019-12-22 18:40:33
阅读次数:
120
//获取今天的日期和时间var myDate = new Date();var year = myDate.getFullYear(); //年var month = myDate.getMonth() + 1;//月var date = myDate.getDate();//日var h = my ...
分类:
Web程序 时间:
2019-12-22 16:13:46
阅读次数:
91
Design an Iterator class, which has: A constructor that takes a string characters of sorted distinct lowercase English letters and a number combinatio ...
分类:
其他好文 时间:
2019-12-22 10:23:29
阅读次数:
99
配置文件 不带密码 带密码 public static class Access { public static readonly string connstr = ConfigurationManager.AppSettings["connstr"].ToString(); public stat ...
分类:
数据库 时间:
2019-12-21 10:20:21
阅读次数:
212
Can't generate API documentation in l5-swagger Ask Question Asked 3 months ago Active 1 month ago Viewed 286 times 0 I'm starting to study swagger. I' ...