Infantile Amnesia What do you remember about your life before you were three? Few people can remember anything that happened to them in their early ye ...
分类:
其他好文 时间:
2019-05-18 19:01:26
阅读次数:
127
leepcode语法练习(二) 1.存在重复 给定一个整数数组,判断是否存在重复元素。 如果任何值在数组中出现至少两次,函数返回 true。如果数组中每个元素都不相同,则返回 false。 示例 1: 示例 2: 示例 3: 2.只出现一次的数字 给定一个 非空 整数数组,除了某个元素只出现一次以外 ...
分类:
其他好文 时间:
2019-05-14 09:32:43
阅读次数:
116
Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Note: Try to come up as many solutions as you can, there ...
分类:
其他好文 时间:
2019-05-08 21:51:21
阅读次数:
117
私有CA建立和证书申请CA在创建时有规定的格式,详细需要参考/etc/pki/tls/openssl.cnf此文件存放了CA相关的一些配置信息。以下为比较重要的2个相关配置:1.此段为CA的详细目录结构####################################################################[ca]default_ca=CA_default#Thede
分类:
其他好文 时间:
2019-04-16 10:38:32
阅读次数:
174
Goto Anything 快捷键 Ctrl+P (支持模糊匹配) 1,查找文件 在查找框中输入文件目录(知道目录直接输入目录,不知道目录直接输入页面名称即可。支持模糊匹配) index.html 2,查找本页面的内容 在查找框输入 @.container 也可以使用#.container(匹配页面 ...
分类:
其他好文 时间:
2019-04-15 16:18:33
阅读次数:
167
class Solution: def sortColors(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ l, r = 0, len(nums) - 1 j... ...
分类:
其他好文 时间:
2019-04-13 11:12:15
阅读次数:
140
A quick demonstration of Lonsdor K518ISE programming key for 2005 Ford Focus in two minutes. And for more auto key programming,check hereautomotive ke ...
分类:
其他好文 时间:
2019-04-06 20:25:54
阅读次数:
206
> ansible --help Usage: ansible [options] Define and run a single task 'playbook' against a set of hosts Options: -a MODULE_ARGS, --args=MODULE_ARGS m... ...
分类:
其他好文 时间:
2019-03-24 18:45:41
阅读次数:
197
Write down anything Write down anything 自从2018年初开始把记录,写作列入人生重要事项,并执行了大半年体会到写作能带来非常多的好处,其中之一就是让我顿悟了:想不清楚的事,写下来就清楚了! 今天看到有人介绍《零秒思考》这本书告诉我们:想不清楚的事,写出来就清楚 ...
分类:
其他好文 时间:
2019-03-16 09:26:58
阅读次数:
215
actor是一种面向对象的线程(池)模型,强调对事件的响应;在iOS中相当于一种通信简化的runloop模型; 对比:数据结构化的线程模型,侧重于强调线程拥有的资源(栈、优先级、状态等); 每一个actor背后都有一个线程; 解决的问题: 1、内存共享(锁);2、消息接受面向对象化; 核心:面向对象 ...
分类:
其他好文 时间:
2019-03-06 13:21:11
阅读次数:
175