AndroidSDK/AndroidNDK/AndroidStudio官方下载地址ADTBundlehttp://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.ziphttp://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.ziphttp://dl.google.com/android/adt/adt-bundle-mac-x86_64-2014070..
分类:
移动平台 时间:
2014-12-28 01:54:38
收藏:
0 评论:
0 赞:
0 阅读:
1979
这几天游戏上线在查看Nginx的访问日志时,发现有很多HTTP返回码为400的记录。
以下是Nginx的访问日志:
222.89.55.137--[27/Dec/2014:19:35:15+0800]"POST/dia.phpHTTP/1.1"400172"-""-""-"
网站查了很多文档关于400问题的解决方法:
1.修改nginx配置文件
client_header_buf..
分类:
其他 时间:
2014-12-28 01:54:28
收藏:
0 评论:
0 赞:
0 阅读:
385
确定好数据库名和实例名1.设置环境变量2.创建需要的目录mkdir-p$ORACLE_BASE/oradata/DB_NAMEmkdir-p$ORACLE_BASE/admin/<sid>/adumpmkdir-p$ORACLE_BASE/flash_recovery_area3.创建参数文件pfilecp$ORACLE_HOME/dbs/init.ora$ORACLE_HOME/dbs/initorcl.ora内容如下db_na..
分类:
数据库技术 时间:
2014-12-28 01:54:08
收藏:
0 评论:
0 赞:
0 阅读:
358
一.一对一1.口诀:首先明了外或主若是外则唯一多多中属性油腻克(unique)若是主则约束主一中属性坑死德(constrained)油先生和坑先生两者皆对大欢喜(true)2.一对一(基于外键的一对一)1.1无外键方:<one-to-onename=""class=""property-ref=""></one-to-one>1..
分类:
Web开发 时间:
2014-12-28 01:53:48
收藏:
0 评论:
0 赞:
0 阅读:
279
开源工具nginx,去官网下载即可使用root用户,登陆服务器1.安装PCRE库第一种安装方式cd/usr/local/wgetftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.21.tar.gztar-zxvfpcre-8.21.tar.gzcdpcre-8.21./configuremakemakeinstall第二种安装方式yumsearchpcreyum..
分类:
其他 时间:
2014-12-28 01:53:28
收藏:
0 评论:
0 赞:
0 阅读:
409
默认情况下,Nginx的gzip压缩是关闭的,gzip压缩功能就是可以让你节省不少带宽,但是会增加服务器CPU的开销,Nginx默认只对text/html进行压缩,如果要对html之外的内容进行压缩传输,我们需要手动调整。一.nginx资源文件压缩模块介绍基于gzip实现资源文件压缩模块:发送给客户..
分类:
Web开发 时间:
2014-12-28 01:53:08
收藏:
0 评论:
0 赞:
0 阅读:
556
在执行yuminstallgcc时发现下载失败pingwww.baidu.comping不通ping百度的IP:220.181.111.188却能ping通由此证明是DNS的问题百度后查到设置DNS需要运行命令:vi/etc/resolv.conf添加:nameserver192.168.0.1nameserver192.168.0.1然而运行vi/etc/resolv.conf后提示:#Generated..
分类:
系统服务 时间:
2014-12-28 01:52:48
收藏:
0 评论:
0 赞:
0 阅读:
193
/**Author:DavidLin*Date:2014-11-11pm*Email:linpeng1577@163.comorlinpeng1577@gmail.com*world:thecityofSZ,inChina*Ver:000.000.001*history:editortimedo
1)LinPeng2014-11-11createdthisfile!
2)*/Linux-0.11内存管理模块是源代码中比较难以理解的部分,现在把笔者个人的..
分类:
系统服务 时间:
2014-12-28 01:52:28
收藏:
0 评论:
0 赞:
0 阅读:
528
/*
*Author:DavidLin
*Date:2014-12-10pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-10createdthisfile!
*2)
*//*author:linus*/
voidsleep_on(structtask_struct*..
分类:
系统服务 时间:
2014-12-28 01:52:08
收藏:
0 评论:
0 赞:
0 阅读:
360
如下所示代码:publicclassExample014{
publicstaticvoidmain(String[]args){
/**
*itisatestfor\utest.
*/
//\u0022是双引号的Unicode转义字符
System.out.println("a\u0022.length()+\u0022b".length());
}
}结果说明:上述程序有编译错误。如果删除多行注释,..
分类:
编程语言 时间:
2014-12-28 01:51:58
收藏:
0 评论:
0 赞:
0 阅读:
997
前言:这只是本人做了一个无线通信项目,看了一篇文章,吃了一顿饭,饭桌上和同事讨论了手机行业(原谅京瓷和NEC都做过手机啊,原谅楼主村里人
..
分类:
其他 时间:
2014-12-28 01:51:48
收藏:
0 评论:
0 赞:
0 阅读:
359
/*
*File:test.c
*Author:DavidLin
*Date:2014-12-07pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-07createdthisfile!
*2)
*/
#include<linux/init.h>
#include<lin..
分类:
系统服务 时间:
2014-12-28 01:51:38
收藏:
0 评论:
0 赞:
0 阅读:
346
/*
*Author:DavidLin
*Date:2014-12-26pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*For:threadsforrxtx!
*history:editortimedo
*1)LinPeng2014-12-26createdthisfile!
*2)
*/
/*assert_self.h*/
#ifndef__ASSERT_S..
分类:
其他 时间:
2014-12-28 01:51:28
收藏:
0 评论:
0 赞:
0 阅读:
293
/*
*Kernel:Linux2.6.32.63
*File:\scripts\mod\modpost.h
\scripts\mod\modpost.c
*Author:DavidLin
*Date:2014-12-25pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-25create..
分类:
系统服务 时间:
2014-12-28 01:51:18
收藏:
0 评论:
0 赞:
0 阅读:
417
/*
*File:test.c
*Author:DavidLin
*Date:2014-12-07pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-07createdthisfile!
*2)
*/1.获得root权限:suroot;2.make3.insmod./test.ko..
分类:
系统服务 时间:
2014-12-28 01:51:08
收藏:
0 评论:
0 赞:
0 阅读:
339
Author:DavidLin林鹏E-mail:linpeng1577@gmail.comlinpeng1577@163.comOS:源码级理解掌握UcosRt-thread等嵌入式操作系统内核的设计与实现目前在研究linux内核路漫漫其修远兮吾将上下而求索:)转载请注明出处谢谢前言
在嵌入式操作系统运行中进程的栈溢出问题是大家比较关心的问..
分类:
其他 时间:
2014-12-28 01:50:58
收藏:
0 评论:
0 赞:
0 阅读:
376
常用布局FrameLayout:子元素没有相对位置概念,都相对于左上角LinearLayout:线性布局,一个接一个,水平或垂直RelativeLayout:相对布局,可相对其它子元素TableLayout:水平和垂直LinearLayout的混和如:<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/a..
分类:
移动平台 时间:
2014-12-28 01:50:48
收藏:
0 评论:
0 赞:
0 阅读:
401
/*
*File:test.c
*Author:DavidLin
*Date:2014-12-07pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-07createdthisfile!
*2)
*/
#include<linux/init.h>
#include<lin..
分类:
系统服务 时间:
2014-12-28 01:50:38
收藏:
0 评论:
0 赞:
0 阅读:
436
前几天忽然在微信群里发现以前的微创同事发来的消息,唐骏回微创了,消失了好久的之前不是去新华都了么,怎么又回来了,难道是混不下去了么?然后发现不是回微创而是控股微创了,尼玛一个微创技术经理是怎么控股微创的呢,微创不是闵行区政府和微软控股的么?作为前微软和前微..
分类:
其他 时间:
2014-12-28 01:50:28
收藏:
0 评论:
0 赞:
0 阅读:
557
本文介绍一个nginx第三方模块nginx_substitutions_filter,此模块作用是替换过滤响应主体,nginx也有一个类似这样的原生模块(http_sub_module),但有一个缺点,就是只能使用一条规则,而nginx_substitutions_filter则不限规则数量(测试效率比原生模块稍慢一点)。安装方法1.svnc..
分类:
其他 时间:
2014-12-28 01:50:19
收藏:
0 评论:
0 赞:
0 阅读:
763