<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Edge]]></title><description><![CDATA[一定程度的简单就是美！]]></description><link>https://blog.youkuaiyun.com/shockerjue</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shockerjue]]></copyright><item><title><![CDATA[浏览器标签管理插件]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/51559464</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/51559464</guid><author>shockerjue</author><pubDate>Wed, 01 Jun 2016 22:08:02 +0800</pubDate><description><![CDATA[这是一个不错的插件,支持chrome和UC浏览器,能够右键添加当前活动的网页.采用云存储的方式进行同步,与电脑无关.并且有更好的标签编辑方式,下载网站:http://m.wsh.0letter.com/tag]]></description><category></category></item><item><title><![CDATA[Linux下编译cocos2dx for android(cocos2dx移植到android)]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/41889639</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/41889639</guid><author>shockerjue</author><pubDate>Fri, 12 Dec 2014 09:54:08 +0800</pubDate><description><![CDATA[在开发cocos-2dx项目时，通常要移植到android环境里面运，移植方法是：
先设置NDK_ROOT环境变量，可以使用sudo权限在/etc/profile文件里添加该变量，也可以在~/.bashrc里面添加，这个变量是安装的ndk目录路径；
NDK设置： 
http://blog.youkuaiyun.com/tenning/article/details/10042559


把在VS下]]></description><category></category></item><item><title><![CDATA[ubuntu 下ffmpeg的编译]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/41847187</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/41847187</guid><author>shockerjue</author><pubDate>Wed, 10 Dec 2014 22:06:14 +0800</pubDate><description><![CDATA[下载最新版的ffmpeg
http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar -xvjf ffmpeg-snapshot.tar.bz2 解压到指定目录下；
切换到解压下的目录，创建ffmpeg_build.sh文件，内容如：
#!/bin/sh
export NDK=/home/lingo/android/android-ndk-]]></description><category></category></item><item><title><![CDATA[x264的编译]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/41848575</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/41848575</guid><author>shockerjue</author><pubDate>Wed, 10 Dec 2014 17:20:29 +0800</pubDate><description><![CDATA[下载最新版的x264
ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
将其解压到指定目录
创建一个shell脚本build_x264.sh，内容如下:

export NDK=/home/lingo/android/android-ndk-r10c
export PREBUILT=$NDK/toolchains/arm-linux-]]></description><category></category></item><item><title><![CDATA[android studio  java.lang.UnsatisfiedLinkError: Couldn't load  ....: findLibrary returned null.]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/41819771</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/41819771</guid><author>shockerjue</author><pubDate>Tue, 09 Dec 2014 09:32:19 +0800</pubDate><description><![CDATA[在使用android开发时，经常会需要使用一写.so文件，但是android studio和eclipse的处理方法是不一样的。
在android studio中并不像在eclipse中哪样使用如下就可以了：
static{
        try{
            System.loadLibrary("decodecjni");
        }catch(Exception e]]></description><category></category></item><item><title><![CDATA[shell编程中使用函数库]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/11030291</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/11030291</guid><author>shockerjue</author><pubDate>Fri, 05 Dec 2014 15:16:49 +0800</pubDate><description><![CDATA[在shell中使用函数库可以使用在多个脚本中使用相同的模板函数，就相当于是自己的函数库，那么创建函数库的形式是：如函数库：myFuncs
#my Funcs
function First(){
	echo "First Functions"
}

function Second(){
	echo "Second Function"
}

function Three(){
	echo "Thre]]></description><category></category></item><item><title><![CDATA[Linux应用程序中加载和连接共享库]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/10080815</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/10080815</guid><author>shockerjue</author><pubDate>Fri, 05 Dec 2014 11:15:47 +0800</pubDate><description><![CDATA[应用程序可能在它运行时要求动态连接器加载和连接任意共享库、而无需在编译时连接那些库到应用，动态连接是一项强大有用的技术，可以用于分发软件【就是软件的更新】，构建高性能Web服务【高性能Web服务器可以使用基于动态连接的更有效和完善的方法来更新内容，从而不会导致服务器的宏机】。
     基于动态连接的思想是将生产的动态内容的每个函数打包在共享库中，这就是各种软件进行更新的方法，所以就可以动态的更]]></description><category></category></item><item><title><![CDATA[linux  动态链接的使用]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/11450505</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/11450505</guid><author>shockerjue</author><pubDate>Fri, 05 Dec 2014 09:24:11 +0800</pubDate><description><![CDATA[动态链接
动态链接我们可以用来更新，使用动态链接库使我们的代码不依赖于固定的版本，使用动态链接共享库可以让应用来共享它，那么在linux下的动态共享库是.so文，下面是具体的生成方法以及使用方法：
1、编写共享库代码template.c：
#include

void max(const int x,const int y){
	int m=x>y?x:y;
	printf("MAX=%d\]]></description><category></category></item><item><title><![CDATA[install GNUstep for ubuntu]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/12502221</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/12502221</guid><author>shockerjue</author><pubDate>Fri, 05 Dec 2014 09:17:14 +0800</pubDate><description><![CDATA[为了学习objective-c，因为没有环境，所有只能在ubuntu进行了，在配置环境的时候出现了一些情况，始终不能进行编译，老是出现错误，网上查的资源也配置不正确，所有在次自己进行了配置：
1：为了进行objective-c的学习，那么必须案子GNUStep编译器，安装方法是：
sudo apt-get install GNUStep*
这样就可以将需要的包全部安装完成了，省去了很多的麻烦]]></description><category></category></item><item><title><![CDATA[Linux管道通信]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/41680411</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/41680411</guid><author>shockerjue</author><pubDate>Tue, 02 Dec 2014 16:58:34 +0800</pubDate><description><![CDATA[在linux下，管道是进程之间通信的方法，简单的说就是在两个进程之间建立一个通道，也就是将一个进程的输入和另一个进程的输出联系起来形成单向通道，这种方法在Linux是最古老最广泛的一种。
在linux中，创建管道的方法是使用系统调用pipe()，如：
int  fd[2];
pipe(fd);
一般多用于同级进程或者是父子进程之间进行通信。
在创建了以后，其在fd[0]是作为读取的描述符]]></description><category></category></item><item><title><![CDATA[关于AsyncTask使用介绍]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/41576051</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/41576051</guid><author>shockerjue</author><pubDate>Mon, 01 Dec 2014 11:24:42 +0800</pubDate><description><![CDATA[Android的AsyncTask比Handler更轻量级一些，适用于简单的异步处理。


首先明确Android之所以有Handler和AsyncTask，都是为了不阻塞主线程（UI线程），且UI的更新只能在主线程中完成，因此异步处理是不可避免的。

Android为了能够在有，提供了AsyncTask。AsyncTask就是一个封装过的后台任务类，顾名思义就是异步任务。

Asy]]></description><category></category></item><item><title><![CDATA[在ScrollView中嵌套GridView，导致GridView不能滑动的问题]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/41644331</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/41644331</guid><author>shockerjue</author><pubDate>Mon, 01 Dec 2014 11:14:27 +0800</pubDate><description><![CDATA[在Android开发中，有时根据需要，会在ScrollView中添加GridView，这问题也纠结了好一会，网上查的也对不上，如：

<ScrollView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:descendantFocusa]]></description><category></category></item><item><title><![CDATA[C++长数的乘法]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/19286441</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/19286441</guid><author>shockerjue</author><pubDate>Mon, 03 Mar 2014 21:31:08 +0800</pubDate><description><![CDATA[下面是长整数的乘法，为了能够更好的利用，那么需要进行改进：
#include 
using namespace std;

#define MAX 100

static int point=0;
static int ch_str1_lenght=0;
static int ch_str2_lenght=0;
static int ch_str4_lenght=0;

void caculat]]></description><category></category></item><item><title><![CDATA[hexToDec]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/18947891</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/18947891</guid><author>shockerjue</author><pubDate>Thu, 20 Feb 2014 11:00:43 +0800</pubDate><description><![CDATA[#include 
using namespace std;


bool hex_to_dec(const char* hex,int &dec);


int main(int argc,char* argv[]){
const char* hex="abaaaC8907";
int dec=0;
bool ret=hex_to_dec(hex,dec);
if (ret]]></description><category></category></item><item><title><![CDATA[一个麻省理工学院毕业生对中国教育的反思]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/19173217</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/19173217</guid><author>shockerjue</author><pubDate>Thu, 20 Feb 2014 10:58:32 +0800</pubDate><description><![CDATA[朋友的女儿在十多年前考上了麻省理工学院，当时在周围中国人圈子里轰动一时。毕业后她到硅谷发展，一边工作一边又修了个mba学位，现在在一个世界顶级的it公司里工作，亲朋好友都觉得她很能干。每当华人家长当着她的面表示要让自家孩子以她为榜样时，她都露出哭笑不得的表情，一再说自己很普通，就是个高级打工仔而已，千万不要向她学。 
 　　现在她自己的女儿也快到了上学的年龄，回来看望父母时，大家见到她就半开玩地]]></description><category></category></item><item><title><![CDATA[管理故事]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/19538565</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/19538565</guid><author>shockerjue</author><pubDate>Thu, 20 Feb 2014 10:55:53 +0800</pubDate><description><![CDATA[【裤子】

女孩买了条裤子，一试太长，请奶奶帮忙剪短，奶奶说忙；找妈妈，也没空；找姐姐，更没空。女孩失望地入睡了。奶奶忙完家务想起小孙女的裤子，就把裤子剪短了一点；姐姐回来又把裤子剪短了；妈妈回来也把裤子剪短了，最后裤子没法穿了。——管理的弊端就在于：要么都不管，要么都来管！

【危机感】

老虎抓到一头鹿后要把它吃掉！ 鹿说：“你不能吃我！” 老虎愣了一下，问：“为什么？” 鹿：“因]]></description><category></category></item><item><title><![CDATA[求解多项式]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/13298553</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/13298553</guid><author>shockerjue</author><pubDate>Mon, 28 Oct 2013 18:58:58 +0800</pubDate><description><![CDATA[#include
using namespace std;


struct Polynomial{
int coefficient;
int index;
Polynomial *next;
};


void Initial(Polynomial *&poly)
{
Polynomial *p,*q;
int x=0,y=0;
    
poly=(Polyno]]></description><category></category></item><item><title><![CDATA[哈希排序]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/13298539</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/13298539</guid><author>shockerjue</author><pubDate>Mon, 28 Oct 2013 18:58:18 +0800</pubDate><description><![CDATA[#include 
using namespace std;


#define MAX 16


void shellSort(int *data,int n)
{
int d;
int temp;
int i,j;
d=temp=i=j=0;
d=n/2;
   while(d>=1)
   {
                //以位置开始往后进行递增//]]></description><category></category></item><item><title><![CDATA[迷宫]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/10619715</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/10619715</guid><author>shockerjue</author><pubDate>Mon, 28 Oct 2013 18:49:46 +0800</pubDate><description><![CDATA[.h
#ifndef _STACK_H_
#define _STACK_H_

const int STACK_SIZE=8;

typedef struct point{
	   int m_x;
	   int m_y;
	   bool operator!=(const struct point &diot);
	   bool operator==(const struct point]]></description><category></category></item><item><title><![CDATA[ping with ICMP]]></title><link>https://blog.youkuaiyun.com/shockerjue/article/details/10197787</link><guid>https://blog.youkuaiyun.com/shockerjue/article/details/10197787</guid><author>shockerjue</author><pubDate>Mon, 28 Oct 2013 18:49:00 +0800</pubDate><description><![CDATA[ICMP测试网络是否可达：
我们都知道为了能够有效的通信，在进行通信之前要先确认通信对象是否可达，如果通信对象是不可达的，那么进行数据的传输是没有意义的，所以我们可以使用ICMP【Internet control manage protocol】来测试是否连通。我们知道ICMP报文是跟着IP报文一起传输的，也就是说ICMP报文时IP中的一部分，而且在请求回显的数据中包含着IP数据包和ICMP报文]]></description><category></category></item></channel></rss>