1、Vnote
4、Typora
5、Boostnote
1、Vnote
4、Typora
5、Boostnote
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" /> | |
| <meta name="author" content="Izwebz" /> | |
| <meta name="copyright" content="Licensed under GPL and MIT." /> | |
| <meta name="description" content="" /> | |
| 1) 查看颜色方案 | |
| $ whereis vim | |
| $ ll /usr/share/vim/vim72/colors/ | |
| 2) 配置本登录用户的vim颜色方案(desert.vim);添加下面一行。 | |
| $ vim ~/.vimrc | |
| "选择配色方案,配色方案在/usr/share/vim/vim72/colors/ 文件夹下" | |
| colorscheme desert | |
| "去掉有关vi一致性模式,避免以前版本的bug和局限 | |
| set nocompatible |
| import java.math.BigDecimal; | |
| /** | |
| * 由于Java的简单类型不能够精确的对浮点数进行运算,这个工具类提供精确的浮点数运算,包括加减乘除和四舍五入。 | |
| */ | |
| public class Arith { // 默认除法运算精度 | |
| private static final int DEF_DIV_SCALE = 10; // 这个类不能实例化 | |
| private Arith() { | |
| } |
| html{ | |
| width: 100%; | |
| height: 100%; | |
| overflow: hidden; | |
| font-style: sans-serif; | |
| } | |
| body{ | |
| width: 100%; | |
| height: 100%; | |
| font-family: 'Open Sans',sans-serif; |
#!/usr/bin/python
# -*- coding: UTF-8 -*-
from datetime import datetime
import time
import os
- 首先安装epel扩展源:
sudo yum -y install epel-release- 然后安装python-pip:
sudo yum -y install python-pip- 安装完之后清除cache:
sudo yum clean all- 升级pip:
pip install --upgrade pip
- 安装:
pip install virtualenv- 创建python工作目录:
mkdir pyworkspacecd pyworkspace