自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(127)
  • 资源 (53)
  • 收藏
  • 关注

原创 Android DEX preopt prebuilt APK

AOSP编译APK的时候,默认情况下,对于prebuilt的APK,没有preopt。preopt的过程是把APK里面的.class分离出来,成为一个单独的.odex,加快Dalvik下APK的安装以及代码的执行速度。下面对于core/prebuilt.mk的补丁可以实现对prebuilt的APKpreopt的功能。--- a/core/prebuilt.mk+++ b/core/prebuilt

2016-06-23 12:41:28 721

private boolean isRecording = false;@Overridepublic void onClick(View v) { switch (v.getId()) { case R.id.button: if (isRecording) { stopRecord();

2016-05-23 22:48:10 148

原创 Lenove L421 driver

PCI Simple communications controller,对应驱动是Intel Management Engine Interface,对于正版的系统,位于C:\SWTOOLS\DRIVERS\IMEISM Bus Controller,属于Intel芯片的东西,对应的驱动是C:\SWTOOLS\DRIVERS\CHIPINF

2015-01-18 14:21:42 608

原创 MantisBT Graph support on CentOS

1.Enable graph plugin in MantisBT plugin management page2.Install php graph library# yum install php-gd php-xml3.Install msttcorefontsSearch and download from http://rpmfind.net/linux/rpm2html

2014-12-03 15:06:54 122

原创 install: cannot stat ‘javaws-wrapper.sh’: No such file or directory

When installed oracle jdk from ppa:webupd8team/java, I got this error"

2014-06-29 14:58:01 4835

原创 Exception in thread "main" java.lang.NoClassDefFoundError:

When we specify a package name in our Java code, e.g. the following code

2014-05-18 15:28:23 1136

原创 Execute multiple commands by outputstream in Java

public class MyProcess { public static void main(String[] args) { try { // bash, su or any other command invoke a shell interpreter // we execute the commands sent from outputstream by this

2014-05-18 13:00:32 675

原创 no talloc stackframe at ../source3/param/loadparm.c

In Ubuntu 14.04 with Samba server installed, every time you will get this error mes

2014-05-06 19:23:00 2389 1

原创 Setup android build environment in Ubuntu 14.04

Initializing Android build environment in Ubuntu 14.04 is easy and simple.Just invoke

2014-05-05 14:14:03 2263

原创 Android DEX Preopt prebuilt apks

--- a/core/prebuilt.mk+++ b/core/prebuilt.mk@@ -16,6 +16,16 @@ $(error dont use LOCAL_PREBUILT_JAVA_LIBRARIES anymore LOCAL_PATH=$(LOCAL_PATH)) endif +ifneq ($(filter APPS,$(LOCAL_MODULE_CLASS))

2014-05-05 11:11:13 1413

原创 Ubuntu 14.04 Apache2 File List

1.First of all, install apache2$ sudo apt-get install apache2.Secondly, edit the configuration filesHere, i choose /home/www as my file listing site root directory.$ cd /etc/apache2/sites-av

2014-05-05 08:59:40 1161

原创 Ubuntu 14.04 Apache2 file list

1.First of all, install apache2$ sudo apt-get install apache2.

2014-05-05 08:38:34 110

原创 Commandline和GUI下的clipboard的交互

Mac下echo $PATH | pbcopy,copy to clipboardecho "$(pbpaste -Prefer text)",copy from clipboardLinux下,首先需要安装xselecho $PATH | xsel --clipboard,copy to clipboardecho "$(xsel --output --clipboard)"

2013-04-24 09:20:06 826

原创 [C/C++] error: jump to case label, error: crosses initialization of ‘int a’

switch (t) { case 0: int a = 0; break; // NOT OK case 1: int b; b = 0; break; // OK default: break; }C++ case语句当中不能出现带初始化的变量声明,只能出现POD类型,同时不带初始化的变量声明。C++ Standard当中已经说明这一

2013-02-23 15:42:17 2949

原创 [Ubuntu]: Ubuntu 10.04 LTS中安装ACE wrappers 5.8

1.获取源代码$ wget http://download.dre.vanderbilt.edu/previous_versions/ACE-src-5.8.tar.bz22.安装必要的library和tool$ sudo apt-get install libtool libssl-dev autoconf3.编译以及安装ACE wrappers$ tar -jvxf ACE

2012-12-12 08:24:45 686

原创 [Windows]: Windows XP Professional English & Chinese Simple资源分享

Windows XP Professional Englished2k://|file|en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso|617756672|2A30BB63730F7887E1AC54363A8489C2|/ed2k://|file|en_windows_xp_professional_

2012-10-23 22:55:37 4094

原创 [Ubuntu]: 桌面隐藏挂载的可移动磁盘的图标

每次有新的设备或者分区挂载了,都会在桌面上显示一个图标,为了是桌面看起来更加干净,可以这么除去。ALT + F2,然后输入gconf-editor然后导航到apps -> nautilus -> desktop/apps/nautilus/desktop/volumes_visible这个值不勾选就可以了

2012-10-23 15:24:56 1575

原创 [Ubuntu]: rm: cannot remove `.pps/fuse': Transport endpoint is not connected

再Ubuntu当中卸载了PPStream之后,尝试把它的配置也删除,但是出现了标题的错误。解决方法如下,执行下面两条命令即可。$ fusermount -u .pps/fuse $ rm -rf .pps/

2012-10-14 19:12:04 1662 1

原创 [Ubuntu]: Ubuntu 10.04当中开启framebuffer

在运行dfb程序的时候,出现如下的提示错误:(!) DirectFB/FBDev: No supported modes found in /etc/fb.modes and current mode not supported!(!) DirectFB/FBDev: Current mode's pixelformat: rgba 6/0, 6/0, 6/0, 0/0 (4bit)(

2012-10-08 19:27:01 2196

原创 [Linux]: rar e Invalid or incomplete multibyte or wide character

在解压某个中文档案的时候出现标题描述的错误。$ rar e Bandari.Moon.Forest.ape.rar RAR 3.90 beta 2   Copyright (c) 1993-2009 Alexander Roshal   3 Jun 2009Shareware version         Type RAR -? for helpExtracting from B

2012-10-06 11:54:33 3873

原创 [Ubuntu]: tftp server

1.安装对应的软件包$ sudo apt-get install xinetd tftpd tftp2.tftpd是挂载在xinetd下面的,修改配置文件$ sudo vim /etc/xinetd.d/tftpservice tftp{protocol        = udpport            = 69socket_type     = dgra

2012-10-06 10:10:15 560

原创 在ext4文件系统,虚拟机关于Host I/O cache的启动警告

<!--p, li {white-space:pre-wrap}-->The virtual machine execution may run into an error condition as described below. We suggest that you take an appropriate action to avert the error.T

2012-09-04 16:01:29 3711

原创 [Ubuntu]: 10.04当中安装使用sunpinyin

对于9.10+的Ubuntu发行版本$ sudo add-apt-repository ppa:ibus-dev/ibus-1.3-lucid$ sudo apt-get update$ sudo apt-get install ibus-sunpinyin安装好之后,注销,重新登录就可以了。在iBus的Preferences选项当中设置。对于其它Ubuntu发

2012-08-21 18:48:35 1032 2

原创 [Ubuntu]: 安装使用insight GDB前端

insight被认为是最好的GDB调试前端。但是需要从源码编译安装,不方便管理。现在有人在PPA做好了对应的deb包了,对于9.10+的系统,可以按照如下方式$ sudo apt-add-repository ppa:sevenmachines/dev$ sudo apt-get update$ sudo apt-get install insight对于其它的Ub

2012-08-20 10:26:14 1862

原创 [Ubuntu]: Stuck at "Moving files to trash"

在用delete删除文件的时候,卡在了"Moving files to trash"这个进度条上面。原因是Trash下面的文件info的记录信息和files下的文件不对应了。就是用其它工具或者命令对~/.local/share/Trash/files里面的文件进行的移动等操作,导致~/.local/share/Trash/files和~/.local/share/Trash/info下

2012-08-15 10:59:30 850

原创 [C/C++]: C++ const引用浅析

顾名思义,const修饰的意思就是不能直接改变的值。在C++的编码过程当中很多地方可以用到。1.许多对象初始化之后,其值不用再改变2.符号常量,使代码可以更加容易维护3.某些指针只是获取所指的对象的值,而不能改变其所指对象的值4.防止函数调用过程当中对所传递参数的修改用const修饰的对象,有以下需要牢记的特性:1.定义的时候必须初始化,后续不能再改变其值2

2012-08-14 14:49:09 4580 1

原创 [Ubuntu]: Ubuntu当中安装insight GDB前端

Insight被称为是最好的GDB前端,要胜于xxxgdb,gdbtui,cgdb等。但是需要从源码安装,这个显得有点麻烦,不好管理。如果不希望编译安装,可以从ppa当中获取,已经有人对应把它作成了deb包了,方便极了。1.添加如下的源到/etc/apt/source.list当中deb http://ppa.launchpad.net/sevenmachines/dev/

2012-08-13 22:02:47 1749 1

原创 Ubuntu 10.04 LTS配置vsftpd

$ sudo apt-get install vsftpd$ sudo service vsftpd start配置文件的修改,/etc/vsftpd.confanonymous_enable=YES#允许匿名用户登录,在没有指明用户名的情况下,默认是匿名访问的允许root用户登录

2012-07-30 10:43:11 64

原创 [Debian]: ls,man,grep彩色显示

习惯了ls的彩色显示,习惯了man的彩色显示以及vi的键盘操作,grep的彩色显示,Debian安装好之后,上面说的这些配置似乎都没有,需要手动设定。ls的彩色终端显示在文件~/.bashrc当中,注释下面这段内容或者手动添加上去即可。export LS_OPTIONS='--color=auto'eval "`dircolors`"alias ls='ls $LS_OPT

2012-07-13 16:00:08 2188

原创 dd对整个disk的操作

dd一般对一个分区方便地操作。下面是dd对整个disk操作的例子。http://wiki.edseek.com/guide:mount_loopbackhttp://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linuxhttp://bbs.chinaunix.net/f

2012-05-17 09:10:59 192

原创 monaco font at Ubuntu

1.sudo mkdir /usr/share/fonts/truetype/custom  2.sudo mv Monaco_Linux.ttf /usr/share/ts/truetype/custom/  3.sudo fc-cache -f -v

2012-05-17 09:04:24 204

原创 Makefile当中使用alias命令

Unless you've told it otherwise, make isn't using bash, it's using sh.  While sh is probably a symlink to bash, when invoked as "sh" it doesn't read your .bashrc (nor the system default). You can

2012-05-17 08:58:14 1745

原创 启动C:\PROGRA~1\ThinkPad\UTILIT~1\PWMTR32V.DLL出现问题

Thinkpad L421出现这个电源管理工具的启动错误。系统误删除了必要的组件,导致一个DLL无法运行起来。 重新安装MICROSOFT VISUAL C++ 2005 RUNTIME LIBRARIES即可。这个文件在系统里面自带有,路径是C:\SWTOOLS\ReadyApps\PWRMGRV\VC80_X86.exe安装好之后,注销,然后重新登录就可以了。保守起

2012-05-11 15:48:59 1580

原创 SVN:把chmod对文件的操作作为一次改动提交

SVN上的一个文件没有执行权限,每次下载code过后都需要手动增加x权限。这样子显得非常麻烦。执行下面的这个命令可以很好解决问题。$ svn propset svn:executable ON [filename]参考:http://blog.chilly.ca/?p=167http://svnbook.red-bean.com/en/1.0/re23.html

2012-05-09 09:37:31 154

原创 [Linux]: SVN使用小技巧

1.返回到某一版本1).使用svn update指定版本号$ svn update -r 1760# 上面的使当前的repository回到版本17602).使用svn revert$ svn revert -r 1882:1760# 上面的使版本1882回到17603).使用svn export指定单个文件$ svn export http://your-file

2012-04-24 08:56:34 6891

原创 showModalDialog的一个实例

test.html页面通过函数调用showModalDialog,显示show_modal_dialog.html页面,并向show_modal_dialog.html传递参数。在show_modal_dialog.html页面通过dialogArguments或者opener获取函数传递过来的参数。test.html内容testing page function

2012-03-29 21:02:20 2951

原创 showModalDialog的一个实例

test.html页面通过函数调用showModalDialog,显示show_modal_dialog.html页面,并向show_modal_dialog.html传递参数。在show_modal_dialog.html页面通过dialogArguments或者opener获取函数传递过来的参数。test.html内容testing page function s

2012-03-29 21:01:21 139

原创 使用ImageMagick快速制作开机启动logo

Linux video graphic开机logo需要的是ppm格式的图片,同时是非压缩格式,ASCII。使用GIMP制作显得麻烦,同时似乎有bug,在调整colors的时候,会出现下面的错误,Procedure 'file-ppm-save' returned no return values忽然想起还有ImageMagick这款强大的图像处理工具。一条命令就搞定了,不想GIMP

2012-03-18 08:53:16 1234

原创 一个包含HTML表格所有element的简单示例

包括HTML关于表格的,,,,,,,,,所有元素的HTML示例。简单的HTML表格包含,,,元素就可以了。包含完整的表格元素的表格,对表格更加好管理。HTML Element Test Page Monthly savings MonthSavings January$100 February$80 Sum$1

2012-02-28 17:40:57 621

原创 [Linux]: Ooo Extension install error: (com.sun.star.registry.CannotRegisterImplementationException)

安装Openoffice的一个Extension的时候出现了如下错误(com.sun.star.registry.CannotRegisterImplementationException) { { Message = "", Context = (com.sun.star.uno.XInterface) @0 } }解决方法$ sudo aptitude instal

2012-02-13 21:46:25 658 1

iNodeClient for Linux 64 bits

iNodeClient for Linux 64 bits environment

2015-04-29

Line Number Addin for VC6.0

Very useful and convenient add-in for VC6.0 With this add-in, line number will be showed at the left of the editor. Read the 'README' file before get started.

2014-10-08

Visual Assist for VC6.0

Visual Assist for VC6.0 The crack dll file is included in the package, after installation, replace the dll file with the one in package. Then crack is done and happy coding. Read the 'README' file before get started.

2014-10-08

vimscript.tar.bz2

vimscript.tar.bz2

2014-01-25

ChromeSetup

ChromeSetup.exe

2013-02-24

wrar411.exe

wrar411.exe wrar411.exe

2012-10-27

WinPcap_4_1_2.exe

WinPcap_4_1_2.exe

2012-10-27

putty ssh.zip

putty ssh

2012-10-27

Dev-Cpp 5.2.0.3 MinGW32 Setup.exe

Dev-Cpp 5.2.0.3 MinGW32 Setup.exe

2012-10-27

Dev-Cpp 5.2.0.3 MinGW32 Portable.7z

一款在Windows下的好用的C/C++ IDE,基于MinGW32 GCC编译器

2012-10-27

coLinux-0.7.9.exe

一种在Windows下运行Linux的方便快捷方式

2012-10-27

ChipGenius.rar

ChipGenius.rar

2012-10-27

snow.leopard.10.6.1.10.6.2.intel.amd.made.by.hazard.torrent

snow.leopard.10.6.1.10.6.2.intel.amd.made.by.hazard.torrent

2012-10-23

1000_Hacker_Tutorials_2008.rar

1000_Hacker_Tutorials_2008.rar

2012-08-23

VA_X_1837.rar

VA_X_1837.rar 包含破解方法

2012-07-17

SourceInsight-Keygen.rar

SourceInsight-Keygen.rar SourceInsight 里面包含keygen

2012-07-17

scrt-6.7.2-229.ubuntu.i386.deb

scrt-6.7.2-229.ubuntu.i386.deb SecureCRT for Ubuntu

2012-07-17

Secure CRT 6.7.4 Portable Version With Crack

SecureCRT Terminal Emulator English Version

2012-06-27

solarized-gedit

solarized-gedit

2012-05-17

dot.language.2011-12-09.pdf

dot language example

2012-03-20

ARM® and Thumb®-2 Instruction Set Quick Reference Card

ARM® and Thumb®-2 Instruction Set Quick Reference Card

2012-03-20

SumatraPDF-1.9-install.exe

SumatraPDF-1.9-install.exe

2012-03-04

SumatraPDF 1.7

lightweight pdf viwer

2012-03-04

web programming unleashed

web programming unleashed

2011-12-23

bash overview

bash overview a introduction

2011-12-13

NPAPI and NPRuntime

NPAPI and NPRuntime

2011-12-02

ViEmu For VS

ViEmu For VS -

2011-11-30

my configure file

my configuration files including vimrc bashrc vim and gvimrc

2011-11-21

dreamweaver plugin template resource

dreamweaver plugin template resource

2011-11-19

深入理解计算机系统英文版

This book is for programmers who want to improve their skills by learning about what is going on “under the hood” of a computer system. Our aim is to explain the important and enduring concepts underlying all computer systems, and to show you the concrete ways that these ideas affect the correctness, performance, and utility of your application programs. By studying this book, you will gain some insights that have immediate value to you as a programmer, and others that will prepare you for advanced courses in compilers, computer architecture, operating systems, and networking. The book owes its origins to an introductory course that we developed at Carnegie Mellon in the Fall of 1998, called 15-213: Introduction to Computer Systems. The course has been taught every semester since then, each time to about 150 students, mostly sophomores in computer science and computer engineering. It has become a prerequisite for all upper-level systems courses. The approach is concrete and hands-on. Because of this, we are able to couple the lectures with programming labs and assignments that are fun and exciting. The response from our students and faculty colleagues was so overwhelming that we decided that others might benefit from our approach. Hence the book. This is the Beta draft of the manuscript. The final hard-cover version will be available from the publisher in Summer, 2002, for adoption in the Fall, 2002 term.

2011-04-28

FS8806内嵌系统加密芯片

一款常用语嵌入式系统硬件加密的芯片。里面包含了特性,功能模块图,以及产品的应用领域。

2011-04-28

C语言进阶-凌明-PDF.zip

C语言进阶-凌明-PDF 讲解C语言用于嵌入式当中的许多细节问题

2011-01-09

C程序设计-谭浩强-3rd-pdf-ppt-src.zip

C程序设计-谭浩强-3rd-pdf-ppt-src.zip 课本电子版pdf文档 课件ppt 源程序src 实验上机指导

2011-01-09

Hacking: The Art of Exploitation pdf

技艺清湛的黑客攻击技术基础。 黑客攻击是创造性的问题求解艺术.可以用来寻找某一难题的非常规解决方案或者发掘脆程序中的漏洞。 许多人称他们自己为黑客,但几乎没有人具备作为一个成功的黑客必须具备的坚实的技术基础。《黑客之道:漏洞发掘的艺术》讲解每一个真正的黑客都应该知道的知识。尽管许多描写黑客攻击的书向你介绍了如何运行其他人的exploit,但没有真正讲解技术细节。《黑客之道:漏洞发掘的艺术》介绍了黑客攻击的理论及其精髓,以及黑客攻击背后的科学。通过学习黑客攻击的一些核心技术和技巧,你将开始理解黑客的思想和习惯。一旦学会黑客攻击的一些核心技术和技巧,你将开始理解黑客的思想和习惯。一旦学会了像一个黑客那样思考问题。你就可以发避孕明新技术,或者阻止对你的相同的潜在攻击。

2010-12-30

arm汇编语言ppt.tar.bz2

04级 汇编语言期末复习.ppt lec08_ARMasm.ppt 第0章 RISC处理器体系结构概述.ppt 第1章 ARM体系结构概述.ppt 第2章 ARM微处理器的编程模型.ppt 第3章 ARM微处理器的指令系统1-寻址方式.ppt 第3章 ARM微处理器的指令系统2-算术指令.ppt 第3章 ARM微处理器的指令系统3-特殊指令.ppt 第3章 ARM微处理器的指令系统4-ARM指令应用举例.ppt 第3章 ARM微处理器的指令系统5-Thumb指令.ppt 第4章 ARM程序设计基础-伪指令1.ppt 第4章 ARM程序设计基础-伪指令2.ppt 第6章 ATPCS.ppt 第7章 ARM程序和Thumb程序混合使用.ppt 第9章 异常中断处理.ppt

2010-12-22

机器视觉与智能检测.tar.bz2

第一讲 视觉检测概述 第二讲 视觉检测系统组成 第三讲 图像预处理 第四讲 图像增强 第五讲 图像分割

2010-12-22

ipv6介绍ppt.tar.bz2

ipv6的ppt讲解 第一章:网络协议基本概念.ppt 第二章:IPv6新特性.ppt 第三章:IPv6必须要掌握的知识.ppt 第四章:各操作系统IPv6相关的命令介绍.ppt

2010-12-22

2小时玩转iptables.pdf

2小时玩转iptables,不用多言,50多张ppt集合在一个pdf文档里面

2010-10-22

Linux常用命令手册

Linux常用的命令,加上一些说明和例子。 新手可以用来看看。

2010-10-08

stardict-3[1].0.2.tar.bz2

stardict-3[1].0.2.tar.bz2 tar -jxvf stardict-3[1].0.2.tar.bz2 #./configure #make #make install

2010-08-08

空空如也

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

TA关注的人

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