自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 资源 (4)
  • 收藏
  • 关注

原创 Linux学习总结

Linux学习总结

2016-04-28 12:15:19 578

原创 理解进程调度时机跟踪分析进程调度与进程切换的过程

理解进程调度时机跟踪分析进程调度与进程切换的过程

2016-04-16 17:19:43 3357

原创 Linux内核如何装载和启动一个可执行程序

Linux内核如何装载和启动一个可执行程序

2016-04-09 22:27:30 1641

原创 分析Linux内核创建一个新进程的过程

分析Linux内核创建一个新进程的过程

2016-04-03 13:41:05 462 1

原创 分析system_call中断处理过程

分析system_call中断处理过程

2016-03-24 22:47:39 789 1

原创 使用库函数API和C代码中嵌入汇编代码两种方式使用同一个系统调用

使用库函数API和C代码中嵌入汇编代码两种方式使用同一个系统调用

2016-03-18 19:57:38 602

原创 跟踪分析Linux内核的启动过程

跟踪分析一个简单的Linux内核启动过程,理解操作系统是怎么启动的。

2016-03-11 17:25:30 1143

原创 一个简单的时间片轮转多道程序内核代码分析

一个简单的时间片轮转多道程序内核代码分析

2016-03-04 21:30:45 817

原创 分析一个简单C程序的汇编代码,理解计算机是如何工作的

通过汇编一个简单的C程序,分析汇编代码理解计算机是如何工作的

2016-02-23 19:32:45 813

转载 javascript实现简单日期下拉选择器

简单日期下拉选择器:javascript代码:function doyear(){ var select = document.getElementById("year"); var thisYear = new Date().getFullYear(); for(var i=1900;i<=thisYear;i++){ var option = document.createEleme

2015-08-15 20:36:43 5853

原创 如何解决eclipse、MyEclipse中变量名自动补全问题

在eclipse或MyEclipse中,我们在写代码的时候经常会遇到变量名自动补全问题,举个栗子:我们定义变量String e的时候,按下等号或空格键会变成这样String eString。这个问题很是烦人,这里给大家一个好的解决办法

2015-08-15 16:19:18 8678

转载 unresolved external symbol "protected: virtual struct AFX_MSGMAP const * __thiscall

VC6的MFC基本对话框程序,写了一般在优化是出错了..查了好久的资料,才找到的、错误提示如下:--------------------Configuration: McSpider - Win32 Release--------------------Compiling resources...Compiling...StdAfx.cppCompiling...

2013-11-23 16:44:30 2696 1

转载 在cmd命令行下编译运行C/C++源文件

在windows的cmd命令行下编译运行C/C++源文件。如果装有VC,那就简单了,因为VC带有C的编译器,可以将此路径设置进环境变量配置参考文章链接:环境配置VC++ 编译器 dos命令 编译链接 用:CL例如:(注意:首先必须在dos命令下进入到c文件所在的目录,再执行如下操作)cl a.c    就得到 a.execl a.c /c  或  cl a.c -c   就

2013-10-07 23:41:39 1247

原创 php+mysql中文数据乱码问题的解决

本人在用php向mysql中插入数据或读取数据的时候会出现乱码问题,如下:在mysql命令下查询也会出现问题,如下:不过研究了一段时间,终于找到解决的方案了。查看了一下自己mysql的编码在php连接数据库后,在代码中插入与mysql对应的编码类型,如下:mysql_query("set character set 'gbk'");//读库mysql_

2013-09-27 12:24:30 1059

转载 教你如何安装PEAR

pear是PHP的扩展和应用程序库,包含了很多有用的类,安装好php5.0后,pear实际上并没有被安装,安装的方法如下:  1.在php目录中双击go-pear.bat。  2.按照提示输入一些设置信息,主要是要把局域网的网关加上,如http://192.168.0.1:80/ ,pear要用这个地址访问Internet,若无代理服务器则直接回车  3.然后会提示一些包和

2013-01-29 13:52:20 723

转载 win7在cmd命令下只能进入c盘问题解决

对电脑更换系统后,在cmd命令模式下只能进入C盘,而不能进入D、E、F盘。如下:         对于这个问题本人也不知道是为什么,但有一个解决的办法。如下:     如能解释上述原因,请各位大侠留言。

2013-01-29 13:37:23 3169

转载 Windows PHP环境搭建与配置的注意事项

1、下载正确的PHP安装包  在Windows平台上搭建PHP运行环境,常用平台主要有Apache和IIS,PHP5针对这两种版本有不同的安装包,VC9是专门为IIS定制的,VC6 是为其他WEB服务软件提供的,比如 Apache,如果下载安装版,则不需要修改Apache配置文件,对于PHP初学者,建议下载ZIP手动安装,对入门学习PHP有帮助。2、Apache安装后无法正常工作  针

2012-11-23 12:01:39 550

翻译 如何在Ubuntu上用命令创建你的第一个Qt程序

注:本文档假定你有成功的安装QtSDK在您的操作系统。如果没有安装,请参考此网址:http://www.wikihow.com/Install-Qt-SDK-on-Ubuntu-Linuxsteps:   1->打开一个终端,输入如下命令将创建一个Qt程序的主目录        mkdir QtHelloWorld   2->通过输入如下命令更改到的QtHelloWorld

2012-11-23 11:10:37 583

翻译 txt文件中如何写入换行符"\n"

编写php文件时,用fopen()函数打开一个txt文件,按如下方式写入字符时怎样都不能写入换行符$outputstring = $date." ".$tireqty." tires ".$oilqty." oil ".$sparkqty." spark plugs \$".$totalamount." ".$address."\n";fwrite($fp, $outputstring,s

2012-11-18 14:39:26 19986

原创 eclipse中导入android ADT-20.0.3出现的一个错误及解决方法

电脑更换系统,连带eclipse也删了(android-sdk未删),重新下载eclipse并导入ADT-20.0.3时出现如下错误:(在eclipse上直接加入网址更新ADT会出现访问不到网页的情况,所以我是直接上官网下载压缩包,然后导入的)Cannot complete the install because one or more required items could not be

2012-08-28 20:15:53 2197 2

转载 Ubuntu下使用mentohust认证问题解决详细过程

Base Steps(基本安装过程):1> Download mentohust package from :http://code.google.com/p/mentohust/downloads/list(在这个网站可以下载linux下的安装包,deb的就行,可以自动安装,注意如果你的系统是64位的,那么可以下amd-64的包,具体包包可以自己辨别)2> Install the p

2012-08-28 19:47:50 2379

原创 Ubuntu12.0.4下中文乱码的解决

Ubuntu12.04中文乱码打开你的终端,并输入下面的两条命令:gsettings set org.gnome.gedit.preferences.encodingsauto-detected "['UTF-8', 'GB18030', 'GB2312','GBK', 'BIG5', 'CURRENT', 'UTF-16']"gsettings set org.gnome.gedit

2012-08-28 19:42:13 1032

hadoop in action

HIGHLIGHT Hadoop in Action is an example-rich tutorial that shows developers how to implement data-intensive distributed computing using Hadoop and the Map- Reduce framework. DESCRIPTION Hadoop is an open source implementation of Google's MapReduce framework for scalable, distributed data processing. Hadoop in Action is for programmers, architects, and project managers who have to process large amounts of data offline. The book begins with several simple examples that illustrate the basic idea behind Hadoop. Later chapters explain the core framework components and demonstrate Hadoop in a variety of data analysis tasks. Throughout the book, readers will learn best practices and design patterns, and how to write meaningful programs in a MapReduce framework. KEY POINTS Explains distributed computing, MapReduce, and the Hadoop framework Focuses on most-used features and rapid development solutions Numerous hands-on examples to illustrate abstract ideas Concise, developer-centric, In Action style Multiple case studies demonstrate real-world Hadoop uses Covers popular Hadoop extensions that ease development and extend functionality

2015-08-13

Programming in Lua, Third Edition

Lua is the language of choice for anyone who needs a scripting language that is simple, efficient, extensible, portable, and free. Currently, Lua is being used in areas ranging from embedded systems to Web development and is widely spread in the game industry, where knowledge of Lua is an indisputable asset. Lua also has established itself as a major language in software development for mobile devices. Programming in Lua is the official book about the language, giving a solid base for any programmer who wants to use Lua. Authored by Roberto Ierusalimschy, the chief architect of the language, it covers all aspects of Lua 5---from the basics to its API with C---explaining how to make good use of its features and giving numerous code examples. Programming in Lua is targeted at people with some programming background, but does not assume any prior knowledge about Lua or other scripting languages. This Third Edition updates the text to Lua 5.2 and brings substantial new material. In particular, it brings more than one hundred exercises distributed through all chapters, ranging from simple questions about the language to full small-size projects.

2015-08-13

设计模式之禅完整清晰版

设计模式之禅 非常好的一本书。如果说“四人帮”的《设计模式》是设计模式领域的“圣经”,那么之后出版的各种关于设计模式的书都可称之为“圣经”的“注释版”或“圣经的故事”。本书是得道者对“圣经”的“禅悟”,它既不像“圣经”那样因为惜字如金、字字珠玑而深奥、晦涩和难懂,又比“圣经”的“注释版”更深刻和全面、更通俗和生动、更接近开发者遇到的实践场景,更具指导性。本书兼收并蓄、博采众长,也许是设计模式领域里的下一个里程碑之作

2015-08-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除