<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[shfeat的作死之路]]></title><description><![CDATA[积跬步 聚小流 力求死 —— 不知道该用什么表情面对时 只要作死就可以了]]></description><link>https://blog.youkuaiyun.com/stellahime</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; stellahime]]></copyright><item><title><![CDATA[机器学习]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/83860415</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/83860415</guid><author>stellahime</author><pubDate>Thu, 08 Nov 2018 14:12:05 +0800</pubDate><description><![CDATA[1.python 

Python 基础python 进阶2.pandas 

pandas 基础pandas 实践]]></description><category></category></item><item><title><![CDATA[学到了系列]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/48683063</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/48683063</guid><author>stellahime</author><pubDate>Wed, 23 Sep 2015 17:23:02 +0800</pubDate><description><![CDATA[一些好用方法，新鲜思想，奇技淫巧等等do while(false)do {
    if(error) break;
} while (false)
out.error();MySQL用BLOB字段存储多个id$bins = pack('N', (int)$id1). pack('N', (int)$id2). pack('N', (int)$id3);
$sql = "UPDATE table S]]></description><category></category></item><item><title><![CDATA[服务器环境搭建 v2]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/48372009</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/48372009</guid><author>stellahime</author><pubDate>Fri, 11 Sep 2015 13:59:45 +0800</pubDate><description><![CDATA[PHP & NGINXyum -y install gcc  
yum -y install gcc-c++ 
yum -y install zip unzip 
yum -y install lrzsz 
yum -y install mlocate 
yum -y install libtool 
yum -y install zlib 
yum -y install pcre-devel 
y]]></description><category></category></item><item><title><![CDATA[Markdown 扩展语法 & 不同]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/48313519</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/48313519</guid><author>stellahime</author><pubDate>Wed, 09 Sep 2015 11:28:25 +0800</pubDate><description><![CDATA[Header 1Header 2help()a one-line code blocka one-line code blockList itemNot an indented code block, but a second paragraph 
in the list item  First Header
  Second Header  Content Cell
  Content Cell]]></description><category></category></item><item><title><![CDATA[PHP 有用的函数]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/48290425</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/48290425</guid><author>stellahime</author><pubDate>Tue, 08 Sep 2015 14:12:02 +0800</pubDate><description><![CDATA[PHP 有用的函数
php_sapi_name() 
判断是否是执行PHP的容器类型：cli、cgi-fcgi、apache
register_shutdown_function() 
脚本执行完成或者意外死掉导致 php 执行即将关闭时，这个函数会被调用。 
① 页面被（用户）强制停止：exit()，die() 
② 程序代码意外终止或超时：FATAL ERROR 
http://www.jb51]]></description><category></category></item><item><title><![CDATA[MySQL 锁]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/48200873</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/48200873</guid><author>stellahime</author><pubDate>Fri, 04 Sep 2015 00:19:48 +0800</pubDate><description><![CDATA[MyISAMtable_locks_waited]]></description><category></category></item><item><title><![CDATA[vim 雕虫小技]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/40742961</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/40742961</guid><author>stellahime</author><pubDate>Mon, 03 Nov 2014 17:22:18 +0800</pubDate><description><![CDATA[1.批量注释
A.
ctrl+v 进入列编辑模式,向下或向上移动光标,把需要注释的行的开头标记起来,然后按大写的I(shift+i),再插入注释符,比如"//",再按Esc,就会全部注释了

批量去掉注释

ctrl+v,进入列编辑模式,横向选中列的个数(如"//"注释符号,需要选中两列),然后按d, 就会删除注释符号]]></description><category></category></item><item><title><![CDATA[Apache rewrite]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/40623789</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/40623789</guid><author>stellahime</author><pubDate>Thu, 30 Oct 2014 17:49:36 +0800</pubDate><description><![CDATA[DocumentRoot "D:/shdev/php"
    ServerName  local
     
Options Indexes FollowSymLinks
AllowOverride all
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/vip|card/
RewriteRule ^(vip|card)/(.*) htt]]></description><category></category></item><item><title><![CDATA[JS匿名函数&闭包相关]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/40589833</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/40589833</guid><author>stellahime</author><pubDate>Wed, 29 Oct 2014 17:56:19 +0800</pubDate><description><![CDATA[var a = function(b){
	var a = 5;
	alert('init');
	return function(c){
		alert((++a)+c);
	}
};
a()(2);
a()(2);

var a = function(b){
	var a = 5;
	alert('init');
	return function(c){
		alert((++a)+c);
	]]></description><category></category></item><item><title><![CDATA[Nginx 负载均衡]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/34455043</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/34455043</guid><author>stellahime</author><pubDate>Wed, 25 Jun 2014 17:39:09 +0800</pubDate><description><![CDATA[负载分配方式
1、轮询（默认）
每个请求按时间顺序逐一分配到不同的后端服务器，如果后端服务器down掉，能自动剔除。


2、weight
指定轮询几率，weight和访问比率成正比，用于后端服务器性能不均的情况。
例如：
upstream bakend {
server 192.168.159.10 weight=10;
server 192.168.159.11 weigh]]></description><category></category></item><item><title><![CDATA[shell]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/21243091</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/21243091</guid><author>stellahime</author><pubDate>Fri, 14 Mar 2014 17:22:37 +0800</pubDate><description><![CDATA[文件行数
wc -l a|awk '{print $1}']]></description><category></category></item><item><title><![CDATA[正则表达式]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/17186369</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/17186369</guid><author>stellahime</author><pubDate>Sat, 07 Dec 2013 12:15:46 +0800</pubDate><description><![CDATA[A.正则表达式中的特殊字符(需转义)
. \ + * ? [ ^ ] $ ( ) { } = !  | : -]]></description><category></category></item><item><title><![CDATA[有的没的]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/17055847</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/17055847</guid><author>stellahime</author><pubDate>Sun, 01 Dec 2013 15:19:25 +0800</pubDate><description><![CDATA[A.各种延迟

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ................]]></description><category></category></item><item><title><![CDATA[Mongodb 基础]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/17011041</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/17011041</guid><author>stellahime</author><pubDate>Thu, 28 Nov 2013 20:01:31 +0800</pubDate><description><![CDATA[A.Mongodb与mysql语句对比





 

MongoDB

Mysql



查询全部

movies.find(new Document())

SELECT * FROM movies



条件查询

movies.Find(new Document { { "title", "Hello Esr" } });

SELECT]]></description><category></category></item><item><title><![CDATA[Nodejs 基础]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/16988695</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/16988695</guid><author>stellahime</author><pubDate>Wed, 27 Nov 2013 17:15:21 +0800</pubDate><description><![CDATA[呵呵，时隔一年多，又把Nodejs捡起来了。希望能有所作为。


NPM

npm -v                   #显示版本，检查npm 是否正确安装。
npm install express      #安装express模块
npm install -g express   #加上 -g 启用global安装模式
npm list                 #列出已]]></description><category></category></item><item><title><![CDATA[Lnmp环境优化]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/14525963</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/14525963</guid><author>stellahime</author><pubDate>Fri, 08 Nov 2013 21:06:02 +0800</pubDate><description><![CDATA[1.Nginx


2.Mysql


3.Php


4.Linux内核参数]]></description><category></category></item><item><title><![CDATA[服务器压测 记录]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/14455973</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/14455973</guid><author>stellahime</author><pubDate>Thu, 07 Nov 2013 20:00:38 +0800</pubDate><description><![CDATA[之webbench怒草ngixn+php+mysql (特意加个副标题，这样看起来很高端
服务器E5-2430 @ 2.20ghz 两个逻辑核心(1核2线程)   1.5G内存 0Swap 
跑了某个项目的开发环境  基本无访问 剩余内存460m


A1。500个老爷们 怒草30s



A2。1000个爷们  30s




吓尿了，弱爆了，待我优化优化。
由于跑]]></description><category></category></item><item><title><![CDATA[PHP 一些琐碎]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/14179007</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/14179007</guid><author>stellahime</author><pubDate>Tue, 05 Nov 2013 19:52:20 +0800</pubDate><description><![CDATA[命令行运行PHP代码
php -r "echo 1;"]]></description><category></category></item><item><title><![CDATA[mysql 优化]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/12979085</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/12979085</guid><author>stellahime</author><pubDate>Wed, 23 Oct 2013 21:43:47 +0800</pubDate><description><![CDATA[1.硬件上。加钱上八路E7，80核160进程，加内存1T，上PCI固态做raid，之后就不用看下面的了。
2.所以，哥们，我跟你讲，我们只能怪怪吃“软”饭。不多说，看下面。
面对一个高负载的mysql，该如何优化？无从下手的话，可以按照下面的顺序调优：
1.分析慢查询
mysqldumpslow命令、分析脚本，对这些有问题的语句进行语句、索引级别上的优化。
良好的数据库基础、编程基础会使]]></description><category></category></item><item><title><![CDATA[SVN 如此这般、这般如此]]></title><link>https://blog.youkuaiyun.com/stellahime/article/details/10468563</link><guid>https://blog.youkuaiyun.com/stellahime/article/details/10468563</guid><author>stellahime</author><pubDate>Wed, 28 Aug 2013 19:14:05 +0800</pubDate><description><![CDATA[svn import localdir/ svn://host/dir -m'so'
svn co file:///var/svn/repos/test  file:///var/svn/repos/quiz

svn co svn://host/dir localdir/

svn export svn://host/dir clean_dir/



为失败的事务清场
sv]]></description><category></category></item></channel></rss>