https://www.gravatar.com/avatar/5f48da38e786436afece6f2e46196202?s=240&d=mp

Linux Shell

Turn off pylint warnings in the VSCode

I want to turn off pylint warnings in the vscode, someone tell me use ~/.pylintrc, but i found a better way to fix it.

 ENV
   VS Code version: 1.18.1
   Python version: 2.7.14

To do:
 Go to File > Preferences > Settings. Add the following to your user settings, add this code:

"python.linting.pylintArgs": [  
        "--disable=R,C"  
    ]  

```thank guys in this link : https://github.com/DonJayamanne/pythonVSCode/issues/570

迟到的 2016

//statics.lshell.com/marry.png

we are getting married!

原谅我到16年年底的时候懒癌犯了,当时实在是懒得写,后面又忙着人生大事,就更没时间写了,一直拖到了今天.

## 爱情 苦苦等待的我终于在16年 遇到了生命中的那个她,  初识便如鱼水般和谐,和她在一起无论什么事情都是那么自然, 简单却不平凡的生活. 从牵上她的手开始就注定要和她白头.

shell 模拟多线程脚本

其实在 shell 脚本中差没有多线程这个概念,此脚本结合管道文件和文件描述符巧妙的实现了多线程的功能。阅读本文前请先查阅管道文件和文件描述符相关的基础知识。

MySQL的show系列命令总结

最近需要对 mysql 进行优化,本身对这块不是太懂,有点头疼。

01、show tables或show tables from database_name; — 显示当前数据库中所有表的名称
02、show databases; — 显示mysql中所有数据库的名称
03、show columns from table_name from database_name; 或show columns from database_name.table_name; — 显示表中列名称
04、show grants for user_name; — 显示一个用户的权限,显示结果类似于grant 命令
05、show index from table_name; — 显示表的索引
06、show status; — 显示一些系统特定资源的信息,例如,正在运行的线程数量
07、show variables; — 显示系统变量的名称和值
08、show processlist; — 显示系统中正在运行的所有进程,也就是当前正在执行的查询。大多数用户可以查看他们自己的进程,但是如果他们拥有process权限,就可以查看所有人的进程,包括密码。
09、show table status; — 显示当前使用或者指定的database中的每个表的信息。信息包括表类型和表的最新更新时间
10、show privileges; — 显示服务器所支持的不同权限
11、show create database database_name; — 显示create database 语句是否能够创建指定的数据库
12、show create table table_name; — 显示create database 语句是否能够创建指定的数据库
13、show engies; — 显示安装以后可用的存储引擎和默认引擎。
14、show innodb status; — 显示innoDB存储引擎的状态
15、show logs; — 显示BDB存储引擎的日志
16、show warnings; — 显示最后一个执行的语句所产生的错误、警告和通知
17、show errors; — 只显示最后一个执行语句所产生的错误
18、show [storage] engines; –显示安装后的可用存储引擎和默认引擎
19、show procedure status –显示数据库中所有存储的存储过程基本信息,包括所属数据库,存储过程名称,创建时间等
20、show create procedure sp_name –显示某一个存储过程的详细信息

MySQL-5.5.32 配置文件优化详解

大纲
一、配置文件说明

my-small.cnf  
my-medium.cnf  
my-large.cnf  
my-huge.cnf  
my-innodb-heavy-4G.cnf  

```二、详解 my-innodb-heavy-4G.cnf  
三、配置文件优化  
注:环境说明,CentO5.5 x86_64+MySQL-5.5.32 相关软件下载:http://yunpan.cn/QtaCuLHLRKzRq  
一、配置文件说明  
Mysql-5.5.32是Mysql5.5系列中最后一个版本,也是最后一个有配置文件的版本,为什么这么说呢,用过5.6的博友都知道,在mysql5.6中已经不提供配置文件选择,只有一个默认的配置文件,好了,我们今天说的是5.5.32这个版,就不和大家说5.6了,下面我们来具体说一下,mysql5.5.32中,提供可选的几个配置文件,  
  

my-small.cnf
my-medium.cnf
my-large.cnf
my-huge.cnf
my-innodb-heavy-4G.cnf