<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[路]]></title><description><![CDATA[不是一个人]]></description><link>https://blog.csdn.net/alexdream</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; alexdream]]></copyright><item><title><![CDATA[基于驾驶行为数据的UBI车险模型(转)]]></title><link>https://blog.csdn.net/alexdream/article/details/60866782</link><guid>https://blog.csdn.net/alexdream/article/details/60866782</guid><author>alexdream</author><pubDate>Wed, 08 Mar 2017 09:37:57 +0800</pubDate><description><![CDATA[基于驾驶行为数据的UBI车险模型(转)作者：陈星(中央财经大学统计与数学学院，北京)潘蕊(中央财经大学统计与数学学院，北京）黄亮(彩虹无线(北京)新技术有限公司，北京)摘要：本文的研究内容为UBI车险业务。本文通过车辆前装设备采集驾驶行为数据，并与同期车辆出险情况建立Logistic回归模型，通过该模型挖掘对车辆出险情况具有显著影响的驾驶行为变量，并对其影响程度进行分析。根据分析结果，本文对其在行程]]></description><category></category></item><item><title><![CDATA[Linux下查看文件和文件夹大小]]></title><link>https://blog.csdn.net/alexdream/article/details/45014935</link><guid>https://blog.csdn.net/alexdream/article/details/45014935</guid><author>alexdream</author><pubDate>Sun, 12 Apr 2015 22:26:17 +0800</pubDate><description><![CDATA[当磁盘大小超过标准时会有报警提示，这时如果掌握df和du命令是非常明智的选择。 
    df可以查看一级文件夹大小、使用比例、档案系统及其挂入点，但对文件却无能为力。
    du可以查看文件及文件夹的大小。
    两者配合使用，非常有效。比如用df查看哪个一级目录过大，然后用df查看文件夹或文件的大小，如此便可迅速确定症结。
    下面分别简要介绍
    df命令可以显示目前所]]></description><category></category></item><item><title><![CDATA[linux几种快速清空文件内容的方法]]></title><link>https://blog.csdn.net/alexdream/article/details/45014945</link><guid>https://blog.csdn.net/alexdream/article/details/45014945</guid><author>alexdream</author><pubDate>Sun, 12 Apr 2015 22:25:59 +0800</pubDate><description><![CDATA[几种快速清空文件内容的方法：

　　$ : > filename #其中的 : 是一个占位符, 不产生任何输出.
　　$ > filename
　　$ echo “” > filename
　　$ echo /dev/null > filename
　　$ echo > filename
　　$ cat /dev/null > filename]]></description><category></category></item><item><title><![CDATA[【问底】伍艺：一种基于Rsync算法的数据库备份方案设计]]></title><link>https://blog.csdn.net/alexdream/article/details/43228949</link><guid>https://blog.csdn.net/alexdream/article/details/43228949</guid><author>alexdream</author><pubDate>Wed, 28 Jan 2015 13:14:08 +0800</pubDate><description><![CDATA[根据容灾备份系统对备份类别的要求程度，数据库备份系统可以分为数据级备份和应用级备份。数据备份是指建立一个异地的数据备份系统，该系统是对原本地系统关键应用数据实时复制。当出现故障时，可由异地数据系统迅速恢复本地数据从而保证业务的连续性。应用级备份比数据备份层次更高，即在异地建立一套完整的、与本地数据库系统相当的备份数据库应用系统，同时备份本地数据。可以同本地应用系统互为备份，也可与本地应用系统共同工]]></description><category></category></item><item><title><![CDATA[RabbitMQ官方中文入门教程(PHP版) 第四部分:路由(Routing)]]></title><link>https://blog.csdn.net/alexdream/article/details/43201445</link><guid>https://blog.csdn.net/alexdream/article/details/43201445</guid><author>alexdream</author><pubDate>Tue, 27 Jan 2015 20:35:27 +0800</pubDate><description><![CDATA[路由(Routing)
在前面的教程中，我们实现了一个简单的日志系统。可以把日志消息广播给多个接收者。
本篇教程中我们打算新增一个功能——使得它能够只订阅消息的一个字集。例如，我们只需要把严重的错误日志信息写入日志文件（存储到磁盘），但同时仍然把所有的日志信息输出到控制台中
绑定（Bindings）
前面的例子，我们已经创建过绑定（bindings），代码如下：






]]></description><category></category></item><item><title><![CDATA[RabbitMQ官方中文入门教程(PHP版) 第三部分:发布／订阅（Publish/Subscribe）]]></title><link>https://blog.csdn.net/alexdream/article/details/43201411</link><guid>https://blog.csdn.net/alexdream/article/details/43201411</guid><author>alexdream</author><pubDate>Tue, 27 Jan 2015 20:34:35 +0800</pubDate><description><![CDATA[发布／订阅
在上篇教程中，我们搭建了一个工作队列。每个任务之分发给一个工作者（worker）。在本篇教程中，我们要做的之前完全不一样——分发一个消息给多个消费者（consumers）。这种模式被称为“发布／订阅”。
为了描述这种模式，我们将会构建一个简单的日志系统。它包括两个程序——第一个程序负责发送日志消息，第二个程序负责获取消息并输出内容。
在我们的这个日志系统中，所有正在运行的接收方程]]></description><category></category></item><item><title><![CDATA[RabbitMQ官方中文入门教程(PHP版) 第二部分:工作队列（Work queues）]]></title><link>https://blog.csdn.net/alexdream/article/details/43201385</link><guid>https://blog.csdn.net/alexdream/article/details/43201385</guid><author>alexdream</author><pubDate>Tue, 27 Jan 2015 20:33:48 +0800</pubDate><description><![CDATA[工作队列

在第一篇教程中，我们已经写了一个从已知队列中发送和获取消息的程序。在这篇教程中，我们将创建一个工作队列（Work Queue），它会发送一些耗时的任务给多个工作者（Works ）。
工作队列（又称：任务队列——Task Queues）是为了避免等待一些占用大量资源、时间的操作。当我们把任务（Task）当作消息发送到队列中，一个运行在后台的工作者（worker）进程就会取出任务然后]]></description><category></category></item><item><title><![CDATA[RabbitMQ官方中文入门教程(PHP版) 第一部分:Hello World]]></title><link>https://blog.csdn.net/alexdream/article/details/43201359</link><guid>https://blog.csdn.net/alexdream/article/details/43201359</guid><author>alexdream</author><pubDate>Tue, 27 Jan 2015 20:32:31 +0800</pubDate><description><![CDATA[RabbitMQ是一个消息代理。它的核心原理非常简单：接收和发送消息。你可以把它想像成一个邮局：你把信件放入邮箱，邮递员就会把信件投递到你的收件人处。在这个比喻中，RabbitMQ是一个邮箱、邮局、邮递员。RabbitMQ和邮局的主要区别是，它处理的不是纸，而是接收、存储和发送二进制的数据——消息。一般提到RabbitMQ和消息，都用到一些专有名词。

生产(Producing)意思就是发送。]]></description><category></category></item><item><title><![CDATA[RabbitMQ消息队列在PHP下的应用]]></title><link>https://blog.csdn.net/alexdream/article/details/43201305</link><guid>https://blog.csdn.net/alexdream/article/details/43201305</guid><author>alexdream</author><pubDate>Tue, 27 Jan 2015 20:31:00 +0800</pubDate><description><![CDATA[消息队列的实现中,RabbitMQ以其健壮和可靠见长.公司的项目中选择了它作为消息队列的实现.关于MQ的机制和原理网上有很多文章可以看,这里就不再赘述,只讲几个比较容易混淆的问题
1,binding key和routing key
　　binding key和routing key是都不过是自己设置的一组字符,只是用的地方不同,binding key是在绑定交换机和队列时候通过方法传递的字符串]]></description><category></category></item><item><title><![CDATA[每一个程序员需要了解的10个Linux命令]]></title><link>https://blog.csdn.net/alexdream/article/details/43155133</link><guid>https://blog.csdn.net/alexdream/article/details/43155133</guid><author>alexdream</author><pubDate>Mon, 26 Jan 2015 17:35:58 +0800</pubDate><description><![CDATA[本文是码农网原创翻译，转载请看清文末的转载要求，谢谢合作！
作为一个程序员，在软件开发职业生涯中或多或少会用到Linux系统，并且可能会使用Linux命令来检索需要的信息。本文将为各位开发者分享10个有用的Linux命令，希望对你会有所帮助。

以下就是今天我们要介绍的Linux命令：
 man
 touch, cat and less
 sort and grep
 cut
 sed
 ]]></description><category></category></item><item><title><![CDATA[linux下查看磁盘剩余空间和文件夹大小]]></title><link>https://blog.csdn.net/alexdream/article/details/42124869</link><guid>https://blog.csdn.net/alexdream/article/details/42124869</guid><author>alexdream</author><pubDate>Wed, 24 Dec 2014 15:58:01 +0800</pubDate><description><![CDATA[Df命令是linux系统以磁盘分区为单位查看文件系统，可以加上参数查看磁盘剩余空间信息，命令格式：
df -hl
显示格式为：　
文件系统              容量 已用 可用 已用% 挂载点　
Filesystem            Size Used Avail Use% Mounted on
/dev/hda2              45G   19G   24G 4]]></description><category></category></item><item><title><![CDATA[推荐一个js模板bootstrap]]></title><link>https://blog.csdn.net/alexdream/article/details/41934783</link><guid>https://blog.csdn.net/alexdream/article/details/41934783</guid><author>alexdream</author><pubDate>Mon, 15 Dec 2014 00:09:59 +0800</pubDate><description><![CDATA[http://demo.cssmoban.com/cssthemes2/ftpm_112_bwx/maps_google.html
还真的不错]]></description><category></category></item><item><title><![CDATA[CentOS 7.0 YUM安装配置LAMP服务器方法(Apache+PHP+MariaDB)]]></title><link>https://blog.csdn.net/alexdream/article/details/41921379</link><guid>https://blog.csdn.net/alexdream/article/details/41921379</guid><author>alexdream</author><pubDate>Sun, 14 Dec 2014 02:08:27 +0800</pubDate><description><![CDATA[准备篇：
CentOS 7.0系统安装配置图解教程
一、配置防火墙，开启80端口、3306端口
CentOS 7.0默认使用的是firewall作为防火墙，这里改为iptables防火墙。
1、关闭firewall：
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止f]]></description><category></category></item><item><title><![CDATA[CentOS7的bash shell及显示路径、命令补全方法]]></title><link>https://blog.csdn.net/alexdream/article/details/41920795</link><guid>https://blog.csdn.net/alexdream/article/details/41920795</guid><author>alexdream</author><pubDate>Sun, 14 Dec 2014 01:10:28 +0800</pubDate><description><![CDATA[相信很多使用linux的朋友在接触solaris时，都会感觉不习惯。因为linux默认使用的是bash shell,而solaris用的是 sh shell。好久没接触系统了，昨天安装了solaris，安装完系统后发现完全不是那么回事，使用起来很不方便，所以决定修改默认shell。
临时修改：
只需要在登入后输入bash,就可以切换到bash shell了。
永久修改：
需要更改：/etc]]></description><category></category></item><item><title><![CDATA[强制 code review：reviewboard+svn 的方案]]></title><link>https://blog.csdn.net/alexdream/article/details/41597045</link><guid>https://blog.csdn.net/alexdream/article/details/41597045</guid><author>alexdream</author><pubDate>Sat, 29 Nov 2014 16:59:44 +0800</pubDate><description><![CDATA[2012 年 2 月 22 日更新：保持文档与 0.1.2-r14 版本同步（变更部分使用蓝色#3333FF）。
2012 年 3 月 8 日更新：保持文档与 0.1.2-r16 版本同步（变更部分使用红色#CC0000）。
2012 年 4 月 28 日更新：保持文档与 0.1.3-r16 版本同步（变更部分使用深紫色#993399）。
2013 年 10 月 17 日更新：保持文档与 0]]></description><category></category></item><item><title><![CDATA[使用HAProxy、PHP、Redis和MySQL支撑10亿请求每周架构细节]]></title><link>https://blog.csdn.net/alexdream/article/details/39271389</link><guid>https://blog.csdn.net/alexdream/article/details/39271389</guid><author>alexdream</author><pubDate>Sun, 14 Sep 2014 17:45:28 +0800</pubDate><description><![CDATA[摘要：着眼创业公司，应用程序架构主要考虑因素不只是技术，成本效益同样必不可少。因此，对于优秀的架构师，基于遗留系统、已有开发团队，以最小成本构造出可持续应用才是王道。


【编者按】在公司的发展中，保证服务器的可扩展性对于扩大企业的市场需要具有重要作用，因此，这对架构师提出了一定的要求。Octivi联合创始人兼软件架构师Antoni    Orfin将向你介绍一个非常简单的架构，使用HAPr]]></description><category></category></item><item><title><![CDATA[网页上通过ajax异步加载的数据有什么办法抓取到吗？]]></title><link>https://blog.csdn.net/alexdream/article/details/39050167</link><guid>https://blog.csdn.net/alexdream/article/details/39050167</guid><author>alexdream</author><pubDate>Thu, 04 Sep 2014 11:31:51 +0800</pubDate><description><![CDATA[其实有很多方案，selenium，phantomjs，casperjs，qtwebkit等等等等
我们采用的是casperjs。把每个ajax请求完成后保存网页，放入队列，这样的话后面的分析程序就只要分析html就好了。
casperjs这货和nodejs一起使用的时候时不时会有点小问题（我遇到的问题都不大，很好解决），如果不想麻烦，npm安装spookyjs，据说就可以把casperjs作为]]></description><category></category></item><item><title><![CDATA[Scrapy入门教程]]></title><link>https://blog.csdn.net/alexdream/article/details/38925551</link><guid>https://blog.csdn.net/alexdream/article/details/38925551</guid><author>alexdream</author><pubDate>Fri, 29 Aug 2014 14:47:02 +0800</pubDate><description><![CDATA[关键字：scrapy 入门教程 爬虫 Spider作者：http://www.cnblogs.com/txw1958/出处：http://www.cnblogs.com/txw1958/archive/2012/07/16/scrapy-tutorial.html 在这篇入门教程中，我们假定你已经安装了Scrapy。如果你还没有安装，那么请参考安装指南。 我们将使用开放目录项目(dmoz)作为抓取]]></description><category></category></item><item><title><![CDATA[Meteor开发框架为你带来下一代高品质实时Web App开发的新模式]]></title><link>https://blog.csdn.net/alexdream/article/details/38921721</link><guid>https://blog.csdn.net/alexdream/article/details/38921721</guid><author>alexdream</author><pubDate>Fri, 29 Aug 2014 11:10:24 +0800</pubDate><description><![CDATA[自1996年至今，网站的工作方式普遍是由服务器端向浏览器传送整个渲染好的 HTML 文件，下载和刷新需要较长的等待时间。在2012年的今天它迎来了新曙光，这套古老的模式将可能一去不复返了。简单说，新的模式是服务器和浏览器初始化之后只进行纯数据的对话，由浏览器决定怎样渲染它来生成 HTML，远程会话变成了本地的交互，操作动作和数据传输将感觉不到延迟。
Meteor 是一个新鲜出炉的现代网站开发平台]]></description><category></category></item><item><title><![CDATA[按位设计用户权限的一些思路]]></title><link>https://blog.csdn.net/alexdream/article/details/25296335</link><guid>https://blog.csdn.net/alexdream/article/details/25296335</guid><author>alexdream</author><pubDate>Thu, 08 May 2014 12:28:59 +0800</pubDate><description><![CDATA[$my_privilege = 15;  // 1+2+4+8 拥有全部权限
$Pri = '';
$privilege_arr = array(8=>'增', 4=>'删',2=>'改',1=>'查');
foreach($privilege_arr as $k =>$v){
  $k & $my_privilege &&  $Pri .= '我有'.$v.'的权力';
}
echo]]></description><category></category></item></channel></rss>