前端Nginx配置:1、安装nginx创建Nginx用户、创建/var/tmp/nginx目录并编译安装useradd-rnginx
mkdir/var/tmp/nginx
tarxfnginx-1.4.7.tar.gz
./configure--prefix=/usr--sbin-path=/usr/sbin/nginx--conf-path=/etc/nginx/nginx.conf--error-log-path=/var/log/nginx/..
分类:
数据库 时间:
2014-05-05 12:18:04
阅读次数:
597
安全模式C:\Windows\SysWOW64\删除:winwb98.IME和winwb98.MB注册表:找到王码五笔相关的项.一般在最下面的以字母E开头的文件夹.全部删除.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard
La...
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Web;using System.Collections.Specialized;namespace NewX...
分类:
Web程序 时间:
2014-05-04 19:04:08
阅读次数:
437
在VS 2008 中,导入 lua.h 之类的头文件后,编译含有Lua函数的时候,可能会出现如下错误:
1>main.obj : error LNK2019: 无法解析的外部符号_luaL_checkinteger,该符号在函数"int __cdecl add(struct lua_State *)" (?add@@YAHPAUlua_State@@@Z) 中被引用
1>main.ob...
分类:
其他好文 时间:
2014-05-04 18:34:20
阅读次数:
376
#include "stdafx.h"
#include
#include
#include
using namespace msclr::interop;
using namespace System;
int main(array ^args)
{
// 为了可以打印wstring到控制台
std::wcout.imbue(std::locale("chs"));
// 声明...
分类:
编程语言 时间:
2014-05-04 18:30:58
阅读次数:
418
在memory.c里面有这么一段代码。为了其中的一句话,让我内牛满面啊!
dir = (unsigned long *) ((from>>20) & 0xffc)
int free_page_tables(unsigned long from,unsigned long size)
{
unsigned long *pg_table;
unsigned long...
分类:
系统相关 时间:
2014-05-04 18:22:41
阅读次数:
459
vs2010出现fatal error LNK1123 转换到 COFF 期间失败...
分类:
其他好文 时间:
2014-05-04 18:16:49
阅读次数:
275
系统背景
电脑型号:Thinkpad X230i
操作系统:win 8.1 中文版 + Ubuntu 13.10 双系统运行
问题描述
在Ubuntu系统下无法打开Win分区,提示以下信息
Unable to Access "WINDOWS"Error mounting /dev/sda3 at /media/dany/Data: Command-line `mount -t "nt...
分类:
数据库 时间:
2014-05-04 17:53:36
阅读次数:
681
package mytest;
import java.util.*;;
public class mymain {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.print(new Date());
Properties p=System.get...
分类:
编程语言 时间:
2014-05-04 17:52:02
阅读次数:
363
更多可参考Linux输入子系统分析input子系统架构总结1、定义一个staticstructinput_dev结构体staticstructinput_dev*mybutton_dev;2、初始化时分配input_dev结构体mybutton_dev=input_allocate_device();//分配input_dev/*能产生的事件类型
1.#defineEV_SYN0x00/*表示设备支持所..
分类:
其他好文 时间:
2014-05-04 17:38:36
阅读次数:
471