博客: https://mortoray.com/ 重排序:https://mortoray.com/2010/11/18/cpu-reordering-what-is-actually-being-reordered/ 双检锁:https://mortoray.com/2012/02/28/dou ...
分类:
其他好文 时间:
2019-03-17 23:33:12
阅读次数:
166
多级菜单实现任务: 三级菜单 可依次选择进入各子菜单 所需新知识点:列表、字典 代码实现: 1 #Author:AZ 2 3 data = { 4 '北京':{ 5 "昌平":{ 6 "沙河":["old boy","test"], 7 "天通苑":["链家地产","我爱我家"] 8 }, 9 "朝 ...
分类:
编程语言 时间:
2019-03-17 10:54:57
阅读次数:
317
error TS2585: 'Promise' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` co ...
分类:
其他好文 时间:
2019-03-16 09:50:07
阅读次数:
2939
杏帘在望 林黛玉 杏帘招客饮,在望有山庄。 菱荇鹅儿水,桑榆燕子梁。 一畦春韭绿,十里稻花香。 盛世无饥馁,何须耕织忙? 我不幸懂得:有时只有借助谎言才能诉说真实。有时也只有借助玩笑才能诉说真实——芥川龙之介 There is nothing noble in being superior to y ...
分类:
其他好文 时间:
2019-03-14 18:26:07
阅读次数:
154
This worked for me on Centos. Follow the 8 steps below and you should be good to go. Stop DenyHosts Remove the IP address from /etc/hosts.deny Edit /v ...
分类:
其他好文 时间:
2019-03-13 16:34:37
阅读次数:
174
【链接】 "我是链接,点我呀:)" 【题意】 让你在一个递增数组中选择一个最长子序列使得gcd(a[i],a[i+1]) 1 【题解】 设f[i]表示以一个"含有素因子i的数字"作为序列的结尾的最长序列的长度 显然更新的时候 假设枚举到了a[i] 先求出它所有的素因子p[] 因为要和前面一个数字不互 ...
分类:
其他好文 时间:
2019-03-09 21:52:08
阅读次数:
202
applicationContext文件加载和bean注册流程?Spring对于从事Java开发的boy来说,再熟悉不过了,对于我们这个牛逼的框架的介绍就不在这里复述了,Spring这个大杂烩,怎么去使用怎么去配置,各种百度谷歌都能查到很多大牛教程,但是,当我们按着教程一步步的把spring的开发框架搭建起来的时候,有没有一种想搞明白spring的冲动,万事开头难,就要从开头开始,而我认为spri
分类:
移动开发 时间:
2019-03-08 23:41:39
阅读次数:
245
#1636 : Pangu and Stones #1636 : Pangu and Stones 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 In Chinese mythology, Pangu is the first living being and the ...
分类:
其他好文 时间:
2019-03-08 12:50:04
阅读次数:
177
创建 "商品分类" 表(之前已经创建,无需再次创建) 创建 "商品品牌" 表(之前已经创建,无需再次创建) 创建 "商品" 表(之前已经创建,无需再次创建) 创建 "顾客" 表 创建 "订单" 表 创建 "订单详情" 表 说明 以上创建表的顺序是有要求的,即如果goods表中的外键约束用的是good ...
分类:
数据库 时间:
2019-03-08 09:55:20
阅读次数:
174
20. Dog,Man's Best Friend 狗,人类最好的朋友①The dogs has always been considered man's best friend.Always noted for being particularly faithful in watching ove... ...
分类:
其他好文 时间:
2019-03-02 13:37:46
阅读次数:
423