[TOC]
leanote的markdown编辑器支持基于MathJax编写LaTeX数学公式。
pip3 install you-get
you-get http://www.bilibili.com/video/av_number/
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
DOMAIN |
IP |
---|---|
a.shifen.com | 182.125.103.1 |
www.a.shifen.com | 182.125.102.1 |
baidu.com | 182.125.101.1 |
baidu.com | 182.125.102.1 |
www.baidu.com | 182.125.102.1 |
map.baidu.com | 182.125.102.200 |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
def delete_file_folder(src): | |
'''delete files and folders''' | |
if os.path.isfile(src): | |
try: | |
os.remove(src) | |
except: |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers |
sync-settings |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# os.walk()的使用 | |
import os | |
# 枚举dirPath目录下的所有文件 | |
def main(): | |
#begin |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
while True: | |
for i in ["/","-","|","\\","|"]: | |
print "%s\r" % i, |