找出编辑距离不大于 K 的单词最近看到一个很有意思的面试题:给一个单词和一个字典,找出字典中所有和给定单词编辑距离不大于 k 的词。
Producer consumer problem in coroutineAs the name implies, coroutine refers to co-operative routine. It allows you to suspending and resuming execution at different locations. So, it's essentially…
Colorizing Loggers -- A simple practice of decoratorMany people believe that decorator is one of the obscure concepts in Python. Trust me, it is not. To be short, a decorator is a function that modifies other…
2015 年部分计划2015年都过了一个月了。现在才开始写新年计划有点晚了,可晚比没有强。规划一年是个很难的事儿,所以我就先计划一小部分,并附上deadline (deadline driven development 是最有生产力的)。
A Primer to System Administration - About SSHWhen we talk about SSH, we are usually referring to OpenSSH - a FREE version of the SSH connectivity tools. As their official website said:
How to deal with Git A-Z?In this post I am going to show you some common scenarios you may suffer when you use git. To benefit from this tutorial please make sure you have already…
Collaborative programming with DropboxRecently, I am working on a web project collaborate with my friend Kelun. He is in charge of front-end code and I am taking care of backend code. So, here is a…
Scrape data the right way Part:1There is frequently a need to scrape data. Obviously, Python is a good choice for this. The famous libraries like BeautifulSoup provides a bunch of functions…