python import config file

import an ini file ini file: 1 2 3 4 5 6 7 8 9 db_config.ini [baseconf] host=127.0.0.1 port=3306 user=root password=root db_name=evaluting_sys [concurrent] processor=20 python code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 #!/usr/bin/python # -*- coding:utf-8 -*- #author: lingyue.

crash

Setup Crash env 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 # yum install -y crash kernel-debuginfo kernel-debuginfo-common kernel-debug-debuginfo # crash /usr/lib/debug/lib/modules/3.

install jekyll

Jekyll QuickStart Host on GitHub Create a New Repository === Go to your https://github.com and create a new repository named USERNAME.github.com Install Jekyll-Bootstrap === 1 2 3 4 $ git clone https://github.com/plusjade/jekyll-bootstrap.git USERNAME.github.com $ cd USERNAME.github.com $ git remote set-url origin git@github.com:USERNAME/USERNAME.github.com.git $ git push origin master Run Jekyll Locally install ruby and jekyll === 1 2 $ sudo yum install -y ruby ruby-devel $ gem install jekyll rake rdiscount Run Jekyll Locally === 1 2 $ cd USERNAME.

markdown_basic

注: 文件转自 GitCafe Markdown: Basics (快速入门) / (点击查看完整语法说明) Getting the Gist of Markdown’s Formatting Syntax 此页提供了 Markdown 的简单概念, 语法说明 页提供了完整详细的文档,说明了每项功能

markdown_syntax

注: 文件转自 GitCafe Markdown 语法说明 (简体中文版) / (点击查看快速入门) 概述 宗旨 兼容 HTML 特殊字符自动转换 区块元素 段落和换行 标题 区块引用 列表 代码区块 分隔线 区