<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Meng.Chao的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Master_MC</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Master_MC]]></copyright><item><title><![CDATA[LeetCode算法题：Two Sum--Python]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/84635411</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/84635411</guid><author>Master_MC</author><pubDate>Thu, 29 Nov 2018 16:40:19 +0800</pubDate><description><![CDATA[题目：

Given an array of integers, return indices of the two numbers such that they add up to a specific target.

给出一个整形数组，返回数组中两个值的索引，这两个值相加等于一个特殊的target

You may assume that each input would have exac...]]></description><category></category></item><item><title><![CDATA[什么是算法]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/82849625</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/82849625</guid><author>Master_MC</author><pubDate>Wed, 26 Sep 2018 14:12:23 +0800</pubDate><description><![CDATA[程序=算法+数据结构

学习算法的要点：

1、理解算法的概念

2、理解什么是程序，程序与算法的区别和内在联系

3、掌握算法的计算复杂性概念

4、掌握用编程语言描述算法的方法

 

概念：在有限步骤内解一个数学问题的一个过程，步骤常常包含某一重复操作

 

算法的特征：

输入性：有零个或多个外部量作为算法的输入

输出性：算法产生至少一个量作为输出

确定性：算法中每条指令清晰，无歧义...]]></description><category></category></item><item><title><![CDATA[Python 图片转字符画]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/81879171</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/81879171</guid><author>Master_MC</author><pubDate>Mon, 20 Aug 2018 22:47:10 +0800</pubDate><description><![CDATA[网上找的python的练手项目，用50行代码完成图片转字符画，项目使用了pillow库、argparse库

以下是实现代码，已在linux环境跑过，可正常运行：


from PIL import Image
import argparse

# 外部命令行传入参数处理
parser = argparse.ArgumentParser()

parser.add_argument('file')...]]></description><category></category></item><item><title><![CDATA[python抓取豆瓣top250电影信息，并将数据存储到mysql]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/81740972</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/81740972</guid><author>Master_MC</author><pubDate>Thu, 16 Aug 2018 14:28:17 +0800</pubDate><description><![CDATA[刚学python网上找的练手项目，实现起来比较容易，希望对大家有帮助

需求分析：

python爬取豆瓣电影信息
	对数据进行清洗
	将清洗好的数据存储到mysql
下面是实现代码

爬虫+数据清洗部分，数据清洗暂时简单的使用replace()函数，主要用于解析导演，演员等信息，最后的sql引用数据库连接函数执行拼接的sql

import requests
from bs4 import Be...]]></description><category></category></item><item><title><![CDATA[class类中__init__()函数及self参数解析]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/79543227</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/79543227</guid><author>Master_MC</author><pubDate>Tue, 13 Mar 2018 17:14:46 +0800</pubDate><description><![CDATA[1、class类内容类属性：类中所涉及的变量类方法：类中的函数2、__init__()函数解析a.双下划线开头的函数为私有函数，不能在类的外部被调用或直接访问b.init() ,支持带参数的初始化，例如：def __init__(self,ai_settings,screen):c.init()函数的第一个参数必须为self（也可是别的名字），后续参数可自由指定3、函数的定义基本形式：def 函数...]]></description><category></category></item><item><title><![CDATA[03-kafka配置server.properties]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/77334921</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/77334921</guid><author>Master_MC</author><pubDate>Thu, 17 Aug 2017 16:35:30 +0800</pubDate><description><![CDATA[kafka配置文件server.properties]]></description><category></category></item><item><title><![CDATA[02-10版本kafka安装部署]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/77334820</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/77334820</guid><author>Master_MC</author><pubDate>Thu, 17 Aug 2017 16:30:19 +0800</pubDate><description><![CDATA[安装zookeeper

安装版本：3.4.10

安装步骤：

1、直接解压：

tar –zvxf zookeeper-3.4.10.tar.gz

2、解压完成后，重命名（方便使用）：

mv zookeeper-3.4.10 zookeeper/

3、更改环境变量：

vi /etc/profile  (添加以下信息)

export ZK_HOME=]]></description><category></category></item><item><title><![CDATA[01-0.8.2.1版本kafka单节点搭建]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/77334572</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/77334572</guid><author>Master_MC</author><pubDate>Thu, 17 Aug 2017 16:16:56 +0800</pubDate><description><![CDATA[测试版单节点kafka搭建，适合新入大数据行业的朋友在本地进行开发测试]]></description><category></category></item><item><title><![CDATA[MySQL Workbench的安全设置]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/52473490</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/52473490</guid><author>Master_MC</author><pubDate>Thu, 08 Sep 2016 17:20:47 +0800</pubDate><description><![CDATA[当要执行的SQL语句是进行批量更新或者删除的时候就会提示这个错误。 
错误信息：You are using safe update mode and you tried to update a table without a WHERE that ..........
解决方法： 
                    SET SQL_SAFE_UPDATES = 0；]]></description><category></category></item><item><title><![CDATA[varchar字段区分大小写]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/52473448</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/52473448</guid><author>Master_MC</author><pubDate>Thu, 08 Sep 2016 17:18:09 +0800</pubDate><description><![CDATA[在MySQL中varchar类默认不区分大小写
解决方法：
     （1） alter table test change a a varchar(10) binary;
     （2） select * from test where a = binary 'MY';
binary：将后边字段转换为二进制]]></description><category></category></item><item><title><![CDATA[MySQL中删除数据报错]]></title><link>https://blog.youkuaiyun.com/Master_MC/article/details/52473394</link><guid>https://blog.youkuaiyun.com/Master_MC/article/details/52473394</guid><author>Master_MC</author><pubDate>Thu, 08 Sep 2016 17:15:05 +0800</pubDate><description><![CDATA[错误信息：You can't specify target table 'xxxxx' for update in FROM clause
解决方法：
原语句：
update 表名 set cabf_enabled=0

where cabf_id in (

SELECT 表名.cabf_id FROM 表名

Inner Join wms_cabinet ON 表名.cabf]]></description><category></category></item></channel></rss>