<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ubuntucc的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/ubuntucc</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; ubuntucc]]></copyright><item><title><![CDATA[小米路由二次开发，环境pc环境搭建]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/41726705</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/41726705</guid><author>ubuntucc</author><pubDate>Thu, 04 Dec 2014 16:52:48 +0800</pubDate><description><![CDATA[小米路由开发环境搭建
 
第一章：linux环境安装
 
第一步：UltraISO，选择ubuntu镜像，制作ubuntu启动盘
 
第二步:主机设置BIOS，用U盘作为启动盘
 
第三步：根据启动界面安装ubuntu


第二章：搭建tftp服务
 
第一步：安装tftp需要安装的软件
 
    1）安装xinetd
      sudo apt-get ins]]></description><category></category></item><item><title><![CDATA[wifi吞吐量测试环境搭建和mifi的wifi吞吐量测试]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/41697595</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/41697595</guid><author>ubuntucc</author><pubDate>Wed, 03 Dec 2014 15:00:56 +0800</pubDate><description><![CDATA[MIFI的wifi吞吐量测试
备注：使用的工具我将上传
准备工作：
1、安装jdk，下载安装包（根据电脑32or64bit）：jdk7_64_win_jb51net.rar
2、安装jperf，下载安装包：jperf2.0.rar
Jperf的使用，直接打开*.bat脚本就能运行图形界面
3、拥有无限网卡的pc一台
4、正常使用的mifi一台
 
1、jdk安装细节：
安装jd]]></description><category></category></item><item><title><![CDATA[OpenWRT下web框架初尝试之总结]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/41596499</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/41596499</guid><author>ubuntucc</author><pubDate>Sat, 29 Nov 2014 16:02:37 +0800</pubDate><description><![CDATA[OpenWRT下web总结
目  录
    目  录 1
第一章 Web框架以及实现 2
第一节 luci框架 2
第二节 controller下文件(*.lua)的编写 2
第三节 model下文件（*.lua）编写 3
第四节 view下文件（*.htm）编写 4
第二章 web的访问流程 5
第三章 lua学习资料 6
参考资料 7]]></description><category></category></item><item><title><![CDATA[小米路由研究之一添加菜单]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/41115379</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/41115379</guid><author>ubuntucc</author><pubDate>Fri, 14 Nov 2014 11:08:49 +0800</pubDate><description><![CDATA[openWRT之小米路由luci之controller
在controller下有很多文件夹他们都独立的建立相应的树：
Web：index.htm   --注册了web树结点下的很多枝叶
Mobile：index    --注册了mbile下的一些结点
Dispatch：        ...
Api：            ...
Sevice：         ...
 
根据]]></description><category></category></item><item><title><![CDATA[openWRT学习之LUCI之二访问controller下lua文件的函数]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/41083843</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/41083843</guid><author>ubuntucc</author><pubDate>Thu, 13 Nov 2014 18:03:32 +0800</pubDate><description><![CDATA[备注：请关注之前的两篇文章在做下面的工作
entry({"admin", "system", "heyg3"}, call("heyg3"), _("heyg3"), 5).dependent=false
 
同时在system.lua文件中添加函数：
--adde by heyg :call                                                 ]]></description><category></category></item><item><title><![CDATA[openWRT学习之LUCI之二访问model下lua文件实现简单的显示文本内容]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/41083781</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/41083781</guid><author>ubuntucc</author><pubDate>Thu, 13 Nov 2014 18:00:35 +0800</pubDate><description><![CDATA[备注：这是在原生的openWRT环境
关于一些基础知识请参考之前的一篇文章：
http://blog.youkuaiyun.com/ubuntucc/article/details/41083687
 
在controller/admin/system.lua添加结点：
entry({"admin", "system", "heyg2"}, cbi("admin_system/heyg2"), "h]]></description><category></category></item><item><title><![CDATA[openWRT学习之LUCI之一helloworld示例]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/41083687</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/41083687</guid><author>ubuntucc</author><pubDate>Thu, 13 Nov 2014 17:55:02 +0800</pubDate><description><![CDATA[备注1：本文 讲述的是原生的openWRT环境下的LUCI
备注2：本文参考了诸多资料，感谢网友分享，参考资料：
http://www.cnblogs.com/zmkeil/archive/2013/05/14/3078774.html
 
 
文章开篇：添加一个选项，该选项处理结果：显示hello world字串的网页
注：我们先将页面添加出来，然后我将分析如何为什么这么添加的。
]]></description><category></category></item><item><title><![CDATA[linux下用户账号之问题解决之一]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/41079653</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/41079653</guid><author>ubuntucc</author><pubDate>Thu, 13 Nov 2014 15:19:34 +0800</pubDate><description><![CDATA[问题：我们在服务器上给新同事或者合作伙伴创建新账号]]></description><category></category></item><item><title><![CDATA[c代码规范（参考）]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/40394547</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/40394547</guid><author>ubuntucc</author><pubDate>Thu, 23 Oct 2014 11:51:36 +0800</pubDate><description><![CDATA[1、排版
1.1 程序块要采用缩进风格编写，缩进的空格数为4个，不应采用TAB键进行缩进。

1.2 相对独立的程序块之间、变量说明之后必须加空行。
示例：如下例子不符合规范。
if (!valid_ni(ni))
{
    ... // program code
}
repssn_ind = ssn_data[index].repssn_index;
repssn_ni  ]]></description><category></category></item><item><title><![CDATA[ubuntu下nfs安装以及测试]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/40113091</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/40113091</guid><author>ubuntucc</author><pubDate>Wed, 15 Oct 2014 16:46:17 +0800</pubDate><description><![CDATA[1、相关服务的安装
sudo apt]]></description><category></category></item><item><title><![CDATA[ubuntu下搭建tftp]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/40111409</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/40111409</guid><author>ubuntucc</author><pubDate>Wed, 15 Oct 2014 15:29:43 +0800</pubDate><description><![CDATA[1安装xinetd
sudo apt-get install xinetd
2、(安装tftp和tftpd 或者)安装增强版的tftp-hpa
sudo apt-get install tftp-hpa tftpd-hpa
3、配置tftp服务器
vim /etc/default/tftp-hpa
内容如下：

# /etc/default/tftpd-hpa

TFTP_US]]></description><category></category></item><item><title><![CDATA[linux下sqlite3的安装、sql语句学习、c代码编程]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/37974101</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/37974101</guid><author>ubuntucc</author><pubDate>Sun, 20 Jul 2014 00:41:32 +0800</pubDate><description><![CDATA[第一步：需要编译相应的库和]]></description><category></category></item><item><title><![CDATA[win 7c盘下不能粘贴除开文件夹外的其他文件]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/22962373</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/22962373</guid><author>ubuntucc</author><pubDate>Fri, 04 Apr 2014 23:25:00 +0800</pubDate><description><![CDATA[命令行：icacls c:\ /setintegritylevel M]]></description><category></category></item><item><title><![CDATA[排序之快速排序]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/13095895</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/13095895</guid><author>ubuntucc</author><pubDate>Sat, 26 Oct 2013 18:36:16 +0800</pubDate><description><![CDATA[参考：http://hi.baidu.com/thinkingidea/item/91aa7a0939e45637a3332ae0
 17 void quicksort(int arrary[],int low, int high)
 18 {
 19     int  i = low, j = high, pivot = arrary[low];
 20 
 21     if (lo]]></description><category></category></item><item><title><![CDATA[几种简单的排序算法]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/13093015</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/13093015</guid><author>ubuntucc</author><pubDate>Sat, 26 Oct 2013 13:13:32 +0800</pubDate><description><![CDATA[1、插入排序：
      直接插入排序；
      折半插入排序：
 
//参考我写的代码博文
 
2、交换排序：
   “起泡”排序： 
      快速排序：]]></description><category></category></item><item><title><![CDATA[链表操作之链表反转]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/13092905</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/13092905</guid><author>ubuntucc</author><pubDate>Sat, 26 Oct 2013 12:59:08 +0800</pubDate><description><![CDATA[本文参考了：http://blog.youkuaiyun.com/heyabo/article/details/7610732
 
 7 typedef struct Node {
  8     int data;
  9     struct Node *next;
 10 }man,*MAN;

/***链表反转**/
法一：
思路：
1、先不考虑将头结点后移的问题，首先将所有的结点]]></description><category></category></item><item><title><![CDATA[排序算法之折半插入算法]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/13023507</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/13023507</guid><author>ubuntucc</author><pubDate>Fri, 25 Oct 2013 17:59:59 +0800</pubDate><description><![CDATA[同直接插入排序法一样，借用p[0]为监视哨；


算法思路：
开始从i=2开始，在每一个i对应的p[I]下，都需要找到我们要插入的位置low，找到插入位置low后，我们就将需要后移的元素后移，之后在完成p[i]按照升序或者降序插入


核心代码如下：
 26 void zhe_ban(int *p, int len1)
 27 {
 28     int i,j,low,hig]]></description><category></category></item><item><title><![CDATA[排序之直接插入排序]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/13018623</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/13018623</guid><author>ubuntucc</author><pubDate>Fri, 25 Oct 2013 12:37:47 +0800</pubDate><description><![CDATA[算法准备：
（1） p[0] 用于监控哨
（2）数据从p[1]开始存放
算法思想：
（1） 从i=2的结点开始：先将p[i]分别存放于监视哨p[0]，然后分别与j=i-1开始与监视哨比较：
对于升序：若p[0]=p[j]的位置（在寻找这个位置的过程中，p[j+1]=p[j]），然后插入：p[j+1] = p[0];
对于降序：若p[0]>p[j],j--,直到找到p[0]
 
 /]]></description><category></category></item><item><title><![CDATA[查找的几种简单算法]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/13017933</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/13017933</guid><author>ubuntucc</author><pubDate>Fri, 25 Oct 2013 11:33:32 +0800</pubDate><description><![CDATA[减少时间复杂度的方法：尽量减少比对，以减少时间复杂度
1、顺序查找：
时间浪费在比对上：
 
2、折半查找：
要求：（1） 顺序表 （2） 关键字是有序的
 
3、分块查找：
分块为n个块（块之间是有序的（升或降），块内部可以无序）
算法：（1）查找到对应的块 （2）然后再块内查找（顺序查找等）
 
4、Hash查找：
hash表的思想：一个数组，每个数组成员后面又是一个链]]></description><category></category></item><item><title><![CDATA[折半查找（二分查找）——简单说明]]></title><link>https://blog.youkuaiyun.com/ubuntucc/article/details/13017457</link><guid>https://blog.youkuaiyun.com/ubuntucc/article/details/13017457</guid><author>ubuntucc</author><pubDate>Fri, 25 Oct 2013 11:05:13 +0800</pubDate><description><![CDATA[折半查找要求：
1、必须采用顺序存储
2、关键字是有序的排列
算法复杂度o(log(n))
 
核心代码：
 ///该函数返回查找的关键字data在顺序表中的下标，若返回值为-1则表示没有查找到对应的关键字
 4 int zhe_ban(int *p, int data, int len)
  5 {
  6     int higt=len-1,low=0,i=0,mid;
]]></description><category></category></item></channel></rss>