Farenew / MarkDownCode

Some useful pieces of code.
GNU General Public License v3.0
1 stars 0 forks source link

MarkDownCode

Some useful pieces of code.

Python 部分(Python Part)


1. 随机名字产生器(Random Chinese name generator)

name.py

通过爬取附有常用名字的一个博客,以及wiki的百家姓,建立一个姓与名的list,然后通过随机数随机选取内容,产生名字


By crawling names from blog and wikipedia, we obtain lists about first name and last name. Using random numbers to choose from lists built, we can generate some typical Chinese names.

2. 格式化随机数(format randint())

random_format.py

一个极其简单的demo演示如何格式化随机数字


A very simple demo about how to format random numbers from random.randint() method

3. 微信自动回复(wechat auto respond)

wechat_respond.py

通过itchat连接微信小冰来做微信的自动回复

2019-3-28更新:

重新上传了代码, 可以通过回复88xiaoice来自动关闭小冰.

A very simple demo about how to format random numbers from random.randint() method

4. 帮别人做的几道华为面试题(some code wrote for others)

题在代码里介绍

5. 一个简单的分词练习

很早的时候写的代码了, 风格很烂....直接放到这里了.

链接

其他(others)

1. 关于Atom下markdown-themeable-pdf格式的文件

markdown-themeable-pdf

自定义的markdown-themeable-pdf输出格式


Some files about how to customize your output format by markdown-themeable-pdf in Atom.