<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[tree_legend______搬运工的IT]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/tree_legend</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; tree_legend]]></copyright><item><title><![CDATA[免费TXT小说下载，最强网站和APP开发过程推荐给你]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/136581201</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/136581201</guid><author>tree_legend</author><pubDate>Sat, 09 Mar 2024 13:11:04 +0800</pubDate><description><![CDATA[作为一个技术宅男，平时喜欢二次元、cosplay，偶尔也爱看看小说；但是正规小说APP都是各种会员、需要登录，真的很烦我！！！]]></description><category></category></item><item><title><![CDATA[Mac笔记本聚焦SpotLight占用内存太高的 解法]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/136580949</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/136580949</guid><author>tree_legend</author><pubDate>Sat, 09 Mar 2024 12:49:39 +0800</pubDate><description><![CDATA[分享一个自创的绝对有效的解决苹果电脑Mac笔记本SpotLight聚焦占用内存过高的方法！



一、背景 / 问题原因

1、Mac的聚焦功能，可以快速打开应用程序，非常方便！



But，随着电脑的使用文件等越来越多，就会导致SpotLight聚焦需要更多更多甚至巨多的内存来建立索引，就会导致电脑啥也没用就内存不足、很卡顿



电脑高手或许会直接干掉SpotLight聚焦/禁止启动，但是以后想打开应用程序就很不方便了～ 损失了Mac的便捷性



二、不靠谱的常见解法

也有文章提到可以通过下面的命]]></description><category></category></item><item><title><![CDATA[mysql查看连接数]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/79208841</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/79208841</guid><author>tree_legend</author><pubDate>Tue, 30 Jan 2018 17:40:27 +0800</pubDate><description><![CDATA[show full processlist;
select count(*) from information_schema.processlist WHERE DB='xxx' AND HOST NOT LIKE '%10.272.34.35%'
select * from information_schema.processlist WHERE DB='xxx' AND HOST NOT ]]></description><category></category></item><item><title><![CDATA[MySQL中文乱码问题]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/79137510</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/79137510</guid><author>tree_legend</author><pubDate>Tue, 23 Jan 2018 11:22:07 +0800</pubDate><description><![CDATA[step01： mysql命令行下执行  show variables like '%character%';




step02： 除了character_set_filesystem，全部设置为utf8
set character_set_client=utf8;

set character_set_connection=utf8;

set character_set]]></description><category></category></item><item><title><![CDATA[Sublime Text 3 安装，配置自动补全Python]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/41345087</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/41345087</guid><author>tree_legend</author><pubDate>Fri, 21 Nov 2014 10:27:54 +0800</pubDate><description><![CDATA[1、通过快捷键 ctrl+` 或者 View > Show Console 菜单打开控制台

2、粘贴对应版本的代码后回车安装
适用于 Sublime Text 3：
import  urllib.request,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();urllib.requ]]></description><category></category></item><item><title><![CDATA[urllib2.urlopen(url).read() vs requests.get(url).content]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/41249005</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/41249005</guid><author>tree_legend</author><pubDate>Tue, 18 Nov 2014 16:37:26 +0800</pubDate><description><![CDATA[这两天谢了一个小爬虫，很]]></description><category></category></item><item><title><![CDATA[Python   flask   web框架学习]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/41176531</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/41176531</guid><author>tree_legend</author><pubDate>Sun, 16 Nov 2014 20:29:14 +0800</pubDate><description><![CDATA[1.数据库配置
#configuration
current_dir = os.getcwd()
DATABASE = current_dir + "\weibo.db"
DEBUG = True
SECRET_KEY = secret_key
USERNAME = 'admin'
PASSWORD = '010110'



2.部分内容的初始化加载
#create ou]]></description><category></category></item><item><title><![CDATA[django  温习笔记]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/41050289</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/41050289</guid><author>tree_legend</author><pubDate>Wed, 12 Nov 2014 20:48:07 +0800</pubDate><description><![CDATA[#######################数据模型models.py#######################
#####################################################################
from django.db import models
class User(models.Model):
    models.]]></description><category></category></item><item><title><![CDATA[nexmo 验证码的使用]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40746145</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40746145</guid><author>tree_legend</author><pubDate>Mon, 03 Nov 2014 19:43:34 +0800</pubDate><description><![CDATA[1.自己注册的账号只是试用的，只能发送短信，却不能接收验证码
2.]]></description><category></category></item><item><title><![CDATA[Web前端开发人员实用Chrome插件收集]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40623035</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40623035</guid><author>tree_legend</author><pubDate>Thu, 30 Oct 2014 17:11:05 +0800</pubDate><description><![CDATA[come from：http://www.2cto.com/kf/201301/185248.html]]></description><category></category></item><item><title><![CDATA[from __future__ import unicode_literals]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40617571</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40617571</guid><author>tree_legend</author><pubDate>Thu, 30 Oct 2014 11:44:23 +0800</pubDate><description><![CDATA[在python3中默认的编码采用了unicode, 并取消了前缀u. 如果代码要兼容python2/3, 就很麻烦了. 下面的两个选择都不方便: 



1. 字符串前面不加u. 这种处理方式多数情况下没有问题, 比如print输出, 但因为汉字在py2和py3的编码方式不一样, 如果进行编码转换就麻烦了. 



2. 加python版本判断, if sys.version 
]]></description><category></category></item><item><title><![CDATA[Google  Chrome  Postman插件的下载、安装、使用]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40613861</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40613861</guid><author>tree_legend</author><pubDate>Thu, 30 Oct 2014 08:17:49 +0800</pubDate><description><![CDATA[下载、安装：下载、安装]]></description><category></category></item><item><title><![CDATA[django model的get和filter方法的区别]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40539457</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40539457</guid><author>tree_legend</author><pubDate>Tue, 28 Oct 2014 14:12:15 +0800</pubDate><description><![CDATA[django的get和filter方法是django model常用到的，搞清楚两者的区别非常重要。

为了说明它们两者的区别定义2个models

class Student(models.Model):
name = models.CharField('姓名', max_length=20, default='')
age = models.CharField('年龄', max_]]></description><category></category></item><item><title><![CDATA[lamp   http://baike.baidu.com/subview/365086/10014223.htm?fr=aladdin]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40475687</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40475687</guid><author>tree_legend</author><pubDate>Sun, 26 Oct 2014 11:55:41 +0800</pubDate><description><![CDATA[lamp（Web应用软件）编辑
本词条缺少信息栏，补充相关内容使词条更完整，还能快速升级，赶紧来编辑吧！



Linux+Apache+Mysql/MariaDB+Perl/PHP/Python一组常用来搭建动态网站或者服务器的开源软件，本身都是各自独立的程序，但是因为常被放在一起使用，拥有了越来越高的兼容度，共同组成了一个强大的Web应用程序平台。随着开源潮流的蓬勃发展，开放源代码的]]></description><category></category></item><item><title><![CDATA[mysql命令窗口打开一闪而过]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40475567</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40475567</guid><author>tree_legend</author><pubDate>Sun, 26 Oct 2014 11:39:55 +0800</pubDate><description><![CDATA[症状：输入密码一闪而过，一点提示也没有，密码首先保证是正确的。
于是就想到了，直接跳过权限验证 ，用到了以下的方法：

一、首先进入cmd 切入MySQL的安装目录，然后切入 bin 目录 ，输入mysqld-nt --skip-grant-tables命令。
这个 cmd 窗口先不要关闭， 打开另一个窗口 登陆MySQL 或直接点开 MySQL Command Line Client 输]]></description><category></category></item><item><title><![CDATA[markdown install problem_01]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40474365</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40474365</guid><author>tree_legend</author><pubDate>Sun, 26 Oct 2014 08:59:10 +0800</pubDate><description><![CDATA[C:\Users\Administrator>pip --version
pip 1.5.6 from C:\Python27\lib\site-packages (python 2.7)

C:\Users\Administrator>python --version
Python 2.7.8

C:\Users\Administrator>pip install mkdocs
R]]></description><category></category></item><item><title><![CDATA[mezzanine  problem——01]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40456045</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40456045</guid><author>tree_legend</author><pubDate>Sat, 25 Oct 2014 20:08:43 +0800</pubDate><description><![CDATA[AttributeError: 'Settings' object has no attribute 'GRAPPELLI_INSTALLED'

D:\tree\mezzanine\proj_01>


--------------------------------------]]></description><category></category></item><item><title><![CDATA[django problem_01]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40455997</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40455997</guid><author>tree_legend</author><pubDate>Sat, 25 Oct 2014 20:04:06 +0800</pubDate><description><![CDATA[python manage.py runserver

Validating models...

0 errors found
October 25, 2014 - 20:00:40
Django version 1.6, using settings 'proj_django.settings'
Starting development server at http://127.]]></description><category></category></item><item><title><![CDATA[Python  pip  selenium安装配置]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40451131</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40451131</guid><author>tree_legend</author><pubDate>Sat, 25 Oct 2014 11:20:28 +0800</pubDate><description><![CDATA[C:\Users\Administrator>python --version
Python 2.7.8

C:\Users\Administrator>pip --version
pip 1.5.6 from C:\Python27\lib\site-packages (python 2.7)

C:\Users\Administrator>添加环境变量 C:\Python27;C:]]></description><category></category></item><item><title><![CDATA[monkey命令行参数详解]]></title><link>https://blog.youkuaiyun.com/tree_legend/article/details/40450735</link><guid>https://blog.youkuaiyun.com/tree_legend/article/details/40450735</guid><author>tree_legend</author><pubDate>Sat, 25 Oct 2014 10:49:37 +0800</pubDate><description><![CDATA[以下是monkey命令行的一些参数，摘自：http://www.cnblogs.com/wfh1988/archive/2010/11/16/1878224.html
－p:所在测试的包，可以是一个也可以是多个 如 monkey -p com.androd.sms -pcom.androd.explorer
-c：如果用此参数指定了一个或几个类别，Monkey将只允许系统启动被这些类别中的某个]]></description><category></category></item></channel></rss>