自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(973)
  • 资源 (44)
  • 收藏
  • 关注

原创 我的博客搬家了! 新地址:http://www.cnblogs.com/jubincn/

选来选去,还是cnblog比较能满足我的需求,如果国内有免费workpress就好了。http://www.cnblogs.com/jubincn/

2013-10-31 00:38:16 4099

原创 Android 4学习(8):用户界面 - Fragment

参考《Professional Android 4 Development》

2013-10-21 00:04:54 9601 5

原创 Android 4学习(7):用户界面 - 基础

参考《Professional Android 4 Development》

2013-10-18 17:10:40 3257

原创 Android 4学习(6):概述 - 深入了解Android Activity

参考:《Professional Android 4 Application Development》...

2013-10-14 17:04:08 2975

原创 Android 4学习(5):概述 - Android应用程序的生命周期

参考:《Professional Android 4 Application Development》

2013-10-12 07:48:08 3189

原创 Android 4学习(4):概述 - Using Resources

参考:《Professional Android 4 Application Development》

2013-10-10 22:23:56 3041

原创 Android 4学习(3):概述 - Resources

在应用程序中,处理与代码逻辑无关资源的最佳实践是将其放到程序的外部,典型的资源包括字符串,图片等。Android中的资源文件都在res文件夹中,这些资源包括字符串,颜色,主题,样式,图画,布局,动画,菜单等。具体分类如下:Simple Values:包括字符串,颜色,维度,字符串或数字数组,存储在res/values文件中的xml文件中

2013-10-09 22:59:28 3438

原创 Android 4学习(2):概述 - AndroidManifes.xml

Android应用程序包含下面这几个部分:程序的前后台:ActivitiesServices存储:Content Providers消息传递:IntentsBroadcast Receivers手机特性:WidgetsNotifications每个Android程序运行在单独的Dalvik虚拟机上,并且每个Andr

2013-09-24 18:09:43 2974

原创 Android 4学习(1):学习路线图

学习路线图如下图所示,整个Android的架构可以分为四层,五个部分。我给自己制定的学习路线图是这样的:对于有java基础的入门级android开发者而言,首先要学会使用Application Framework,从而快速地开发App出来。在这个阶段,推荐这本书:《Professional Android 4 Application Development》学习Applicatio

2013-09-24 11:21:16 3248

原创 Eclipse中classpath和deploy assembly的文件位置

classpath的配置信息存储在工程根目录下的.classpath文件deploy assembly配置信息存储在工程目录下的.settings\org.eclipse.wst.common.component文件中

2013-09-23 13:44:46 5493 1

原创 Java中Object.hashCode contract

面试时在这个问题上犯了个错误,只重写了equals方法,而没有覆盖hashCode()方法。回来重读了Effective Java的Item 9,里面提到Object.hashCode contract,现在简单记一下:1. equals返回true的对象之hashCode需要一致。这个值在同一次程序运行期是确定的,多次运行期间的值可以不同2. 不同对象的hashCode可以一样,但不

2013-08-27 13:40:01 2753

原创 Firefox切换页面默认显示语言

重新安装了下Firefox,发现页面语言变为中文,而我的有些脚本是在英文界面录的,因此想把默认语言改为英文。方法如下:1. 工具 - 选项 2. 点击选择... 在做上面的修改之前,我先这样配了下FireFox:想要把Firefox切换为英文版只需按如下步骤操作即可:1.打开Firefox浏览器,在地址栏输入“about:config”打开

2013-08-27 12:07:50 5943

原创 The connection to adb is down and a sever error has occured的解决

1. 打开任务管理器,关掉豌豆夹等手机助手2. 打开命令行,切换到adb所在目录,如:C:\Users\Jubincn\Downloads\adt-bundle-windows-x86_64-20130729\sdk\platform-tools3. 输入这两个命令:adb kill-serveradb start-server若能成功启动,则这个问题应该消失了。有人说要重启E

2013-08-15 14:33:51 2865

转载 Eclipse与github整合完整版

最近朋友都推荐使用github管理自己的项目,而且免费用户可以有5个仓库,恰好我也想了解下git,借此机会学习一下.github官方指南使用独立第三方git工具来进行版本控制,并不借助于eclipse,但我觉得eclipse肯定也有插件来解决这类问题,就像subclipse一样.安装egitegit目前应该是eclipse上最好的git工具了,如果你使用的是eclipse

2013-08-15 08:40:54 2997

转载 GIT命令整理

转自:http://www.xbc.me/git-commands/最近在公司的服务器上安装了Git Sever,开始从SVN转向到Git了,整理了一些在Git常用的命令。取得Git仓库初始化一个版本仓库git initClone远程版本库git clone [email protected]:wordpress.git

2013-08-15 08:26:05 2724

转载 Java堆初始大小的建议值

摘自:《Java Performance》第三章Initial Heap Space Size ConfigurationThis section describes how to use live data size calculations to determine an initial Java heap size. Figure 7-3 shows the fields that

2013-08-05 19:17:52 5427

转载 为什么在进行Full GC之前最好进行一次Minor GC

摘自:《Java Performance》第三章为什么在进行Full GC之前最好进行一次Minor GC?Garbage collecting the young generation space prior to garbage collecting the old generation space usually results in less work for the garbag

2013-08-05 19:06:21 3537

转载 JVM中存储类信息的三个表格

摘自:《Java Performance》第三章Internal Class Loading DataThe HotSpot VM maintains three hash tables to track class loading. The System-Dictionary contains loaded classes, which maps a class name/class

2013-08-05 18:52:13 3012

转载 JVM Class Loading过程

转自:《Java Performance》第三章VM Class LoadingThe Hotspot VM supports class loading as defined by the Java Language Specification, Third Edition, [2] the Java Virtual Machine Specification, Second Edi

2013-08-05 18:12:48 3533

转载 HotSpotVM创建过程(JNI_CreateJavaVM)详解

来自:《Java Performance》第3章 JVM OverviewThe HotSpot VM’s implementation of the JNI_CreateJavaVM method performs the following sequence of operations when it is called during the launch of the HotSp

2013-08-05 16:18:35 6569

原创 Compare and Swap(CAS)

CAS(Compare and Swap)是个原子操作。拿到一个新值后,CAS将其与内存中的值进行比较,若内存中的值和这个值不一样,则将这个值写入内存,否则,不做操作。在Java的 java.util.concurrent.atomic包中对CAS的实现是通过synchronized关键字实现的: public final synchronized boolean compareAndSe

2013-07-23 18:24:07 2794

原创 Java中自动装箱代码初探

《深入理解Java虚拟机》中讲语法糖时,提到了下面这个例子(不是原文中的例子,我自己改过):public class AutoBoxingTest { /** * @param args */ public static void main(String[] args) { Integer a = 1; Integer b = 2; Integer c = 127;

2013-07-23 14:40:03 1071 2

原创 Java中Return和Finally执行顺序的实现

下面这段代码的执行结果是怎样的呢? publc int test(){ int x; try{ x = 1; return x; }catch(Exception e){ x = 2; return x; }finally{ x = 3; } }相信对Java比较熟悉的朋友马上会说出正确答案:正常返回1,异常返回2。我第一次看到这段代码时

2013-07-09 23:50:15 3909 5

翻译 Eclipse中Next Difference的快捷键

原文:http://stackoverflow.com/questions/10177460/is-there-a-key-binding-for-next-difference-and-previous-difference-in-eclipse-coThere are default shortcuts for these: CTRL-. (next) and CTRL-, (

2013-06-28 13:56:38 1600

原创 Java中Exception的种类

通常来讲,Java中的异常会被分为三种:Error: 这种异常被设计成不被捕获,因为这种异常产生于JVM自身。Runtime Exception: 运行时异常往往与环境有关,编译时无法检查,并且可能发生的情况太广泛,所以系统会去处理,程序不需要捕获。普通异常: 常见的异常大多属于此类。这里的Java异常指直接继承java.lang.Throwable的异常类,他们的结构如下图:

2013-06-25 23:01:00 42519

转载 Web.xml配置详解之context-param

转自:http://blog.csdn.net/liaoxiaohua1981/article/details/6759206 格式定义:[html] view plaincopycontext-param>  param-name>contextConfigLocationparam-name>  param-value>con

2013-06-17 20:18:37 81600 18

转载 Monitoring an IBM JVM with VisualVM

JDK6 update 7 and onward include a tool called VisualVM. VisualVM is a visual tool with monitoring and profiling capabilities for the JVM. With VisualVM you can:Monitor heap usageMonitor CPU u

2013-06-09 16:15:11 1593

转载 戏说java web开发中的listener和filter

转自:http://javastudy.blog.51cto.com/183528/78723今天在公司看到有同事在写filter,晚上一个人在家无聊,就想聊聊这个东西。         jsp开发中的 监听器和过滤器,这两个东西要说起来,很大,很繁。今天我想用一个现实的例子,来说明这两个东东的作用。案例描述        假设你平时生活在北京,有天你去一个很边远很贫穷

2013-06-03 22:22:52 1324

转载 Java线程:并发协作-生产者消费者模型 转自:http://lavasoft.blog.51cto.com/62575/221932

转自:http://lavasoft.blog.51cto.com/62575/221932Java线程:并发协作-生产者消费者模型 对于多线程程序来说,不管任何编程语言,生产者和消费者模型都是最经典的。就像学习每一门编程语言一样,Hello World!都是最经典的例子。 实际上,准确说应该是“生产者-消费者-仓储”模型,离开了仓储,生产者消费者模型就

2013-05-28 22:31:49 1015

翻译 Servlet中isCommitted含义及发生的条件

参考:http://stackoverflow.com/questions/11305563/cause-of-servlets-response-already-committedResponse变为committed状态的意思是将headers写出,在这些情况下Response会变为committed:Response的buffer超过了最大值,这可能由以下两个原因造成

2013-05-13 17:51:18 4916

转载 Ubuntu下解决小米手机 adb devices no permissions的问题

我的环境:OS:Ubuntu 12.10 & MIUI V5手机:米1android开发真机调试时,运行sudo ./adb devices 时,若有如下输出:           List of devices attached     ???????????? no permissions 解决办法:lsusb以下是我的输出(

2013-04-27 21:27:13 4198 3

原创 JavaIO学习

参考:Java IO:  http://www.ibm.com/developerworks/cn/java/j-lo-javaio/Java NIO: http://www.ibm.com/developerworks/cn/education/java/j-nio/这里写的东西为自己的总结,学习的话建议大家仔细去读上面提到的两篇文章。Java IO分为两种:Bl

2013-04-26 09:33:03 916

原创 Java读写Properties文件及JavaIO中字节流和字符的转换

读写properties文件Java读写Properties文件是一个比较常见的需求,一般的做法是将properties文件读到Properties类对象中,通过Properteis对象来操作。下面是一段实例代码: /** * Read Properties file with ASCII codes only */ public static Proper

2013-04-17 20:14:13 3437

原创 How to build C3P0 version 0.9.5

OS: Win7 64bitJDK: Sun JDK 1.7 64bitAnt: 1.8.4c3p0: 0.9.5-pre1mchange-commons: 0.2.4Notice: Make sure JDK version, c3p0 version and mchange-commons-java jar version is exactly 1.7, 0.9.5

2013-04-16 23:51:01 1870

转载 [转]Ubuntu12.10 安装中文输入法(ibus)和开机自动启动ibus应用

转自:http://snailszzy.blog.163.com/blog/static/9439909320129261018849/系统升级12.10之后,一直使用不了中文。由于系统之前使用的scim输入发,但是新系统集成了ibus输入法框架。可能是因为矛盾的吧,按照网上的提示一直安装不成功。最后使用scim时候,出现浏览器只能输入中文的怪现象。搞了近一个星期,突然登录ubuntu

2013-03-30 00:34:26 1115

原创 Ubuntu 12.10使用apt安装Oracle/Sun JDK

sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install oracle-java6-installer参考:http://www.liberiangeek.net/2012/11/install-oracle-java-jrejdk-6-in-ubuntu-12-1

2013-03-27 23:53:57 2346

转载 Notepad++ 16进制编辑功能

转自:http://shandian.biz/490.htmlNotepad++可以编辑PE文件(二进制文件即HEX码),2进制、16进制都可以,通过附加的组件HexEditor即可实现。另外一款Notepad++自带插件TextFX也有这个功能,但实现效果不如Hex Editor。Hex Editor实现Notepad++16进制编辑功能Hex Editor使

2013-03-04 20:01:13 38662

原创 深入理解Java虚拟机 -- 读书笔记(4):内存分配策略

本系列为《深入理解Java虚拟机 》(周志明著)读书笔记VM的内存分配机制大致遵循这几个原则:对象优先在Eden分配大多数情况下,对象中新生代的Eden区分配。当Eden区没有足够的内存时,JVM将发起一次Minor GC。大对象直接进入老年代这里的大对象指需要大量连续内存空间的对象,最典型的就是很长的字符串和各种数组。虚拟机提供了一个-XX:Pretenu

2013-03-04 00:06:43 996

原创 深入理解Java虚拟机 -- 读书笔记(2):常用垃圾回收算法

本系列为《深入理解Java虚拟机 》(周志明著)读书笔记垃圾回收的核心问题有三个:(1)回收哪些内存 (2)何时回收 (3)如何回收在Java中,需要回收的内存区域包括堆和方法区。方法区在Hotspot中又被称为“永生代”,主要收集这两方面的内容:废弃常量和无用的类。废弃常量比较容易理解,例如常量区存在“abc”的字符串常量,当系统中没有任何String指向“abc”时,则“a

2013-03-03 20:22:19 1879 1

转载 如何同时运行两个配置,扩展完全不一样的 Firefox

转自:http://www.appinn.com/running-two-firefox/1. 如何开启配置文件管理器,增加新的配置文件新建一个 Firefox.exe 快捷方式,右键属性,在 目标 中的最后部分,引号外面添加 -ProfileManager 后 (例如 “D:\Program Files\Mozilla Firefox\firefox.exe” -Pr

2013-02-28 15:16:03 3414

The Life and Work of John Forbes Nash Jr

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/

2009-12-20

Recursive Functions of Symbolic Expressions and Their Computation by Machine, Part I

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/

2009-12-20

NEW POLYNOMIAL-TIME ALGORITHM.pdf

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/

2009-12-20

REMINISCENCES ABOUT THE ORIGINS OF LINEAR PROGRAMMING.pdf

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/

2009-12-20

The Turing Test paper and von Neumann’s EDVAC report..pdf

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/

2009-12-20

Antikythera Mechanism3.pdf

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/ 这篇文章有三部分,这是第三部分

2009-12-20

Antikythera Mechanism2.pdf

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/ 这篇文章有三部分,这是第二部分

2009-12-20

Antikythera Mechanism1.pdf

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/ 这篇文章有三部分,这是第一部分

2009-12-20

New Directions in Cryptography, Diffie and Hellman

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/

2009-12-20

Godel's Theorem and the Birth of the Computer-goedel.pdf

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/

2009-12-20

Jonathan von Neumann and EDVAC

UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/ 里面的内容我还没看,不过以前听老师讲过这篇文章,值得一读

2009-12-20

《Simulating Physics with Computers》

费曼的《Simulating Physics with Computers》,量子计算机这个概念应该就是从这篇文章提出的,UCBerkerly的一门课程的阅读材料,课程网址:http://www.eecs.berkeley.edu/~christos/classics/

2009-12-20

Pro Apache Struts with ajax

Pro Apache Struts with ajax,2006年那版,英文版,pdf格式,质量不错,非扫描。Apress出的。

2009-12-11

ibatis tutorials

ibatis的快速入门材料,英文版的,从官网上下的,官网上有中文版

2009-12-07

ibatis developer guide

从官网上下载的iBATIS developer guide,英文版的,官网上还有中文版的

2009-12-07

head first java second edition english part2

head first java第二版,非扫描pdf版。从http://www.51leifeng.net/上下载的,赞http://www.51leifeng.net/(我要雷锋) 第二部分

2009-12-02

head first java second edition (english) part1

head first java第二版,非扫描pdf版。从http://www.51leifeng.net/上下载的,赞http://www.51leifeng.net/(我要雷锋)

2009-12-02

Apress - Pro Hadoop.pdf

Pro Hadoop的英文原版,很清晰,并且有目录。 这本书我还没看,不过这是有关hadoop的不多的专著

2009-10-28

MRGIS: A MapReduce-Enabled High PerformanceWorkflow System for GIS

一篇论文,英文的。关于mapreduce技术在GIS中应用的一篇文章。貌似是华人写的,不过学校是国外的。

2009-09-01

《JavaScript语言精髓与编程实践》精简版

中文的,从infoq上下载的。是免费的在线版本,可以到网上去买正版的完整版。一共53页,主要讲了命令式语言,函数式语言和动态语言的东西。

2009-09-01

The Swift Java Compiler: Design and Implementation(英文)

一篇关于java编译器的论文 作者:Daniel J. Scales Keith H. Randall Sanjay Ghemawat Jeff Dean

2009-09-01

深入浅出struts2(infoq免费版,中文版)

深入浅出struts2(infoq免费版),95页。是个免费在线版本,可以到http://infoq.com/cn/minibooks/starting-struts2查看具体信息

2009-09-01

NetBeans IDE 6.1 快捷键和代码模板(中文版)

NetBeans IDE 6.1 快捷键和代码模板,2页纸,内容很实用,适合常用netbeans做开发的程序员

2009-09-01

Sun云计算白皮书(中文版)

Sun的官网上下载的一份关于云计算的白皮书,中文版的

2009-09-01

tomcat启动的时序图

这是一份tomcat5启动时的时序图,对于理解tomcat的结构很有帮助

2009-09-01

GUIDE to USING OPEN-SOURCE SOFTWARE to DEVELOP WEB APPLICATIONS

SUN的一份使用开源软件开发网络应用的白皮书

2009-09-01

Structure and Interpretation of Computer Programs(2nd edition)

这是MIT的一门经典课程所用的课本,课程视频是可以下载的,尽管那时1986年的视频,但由于这门课不是,关于技术细节的,因此不受什么影响

2009-07-28

Foundations of Rapid Mashup Development

Foundations of Rapid Mashup Development

2009-02-12

web mappingn illustrated

With the help of the Internet and accompanying tools, creating and publishing online maps has become easier and rich with options. A city guide web site can use maps to show the location of restaurants, museums, and art venues. A business can post a map for reaching its offices. The state government can present a map showing average income by area. Developers who want to publish maps on the web often discover that commercial tools cost too much and hunting down the free tools scattered across Internet can use up too much of your time and resources. Web Mapping Illustrated shows you how to create maps, even interactive maps, with free tools, including MapServer, OpenEV, GDAL/OGR, and PostGIS. It also explains how to find, collect, understand, use, and share mapping data, both over the traditional Web and using OGC-standard services like WFS and WMS. Mapping is a growing field that goes beyond collecting and analyzing GIS data. Web Mapping Illustrated shows how to combine free geographic data, GPS, and data management tools into one resource for your mapping information needs so you don't have to lose your way while searching for it. Remember the fun you had exploring the world with maps? Experience the fun again with Web Mapping Illustrated. This book will take you on a direct route to creating valuable

2008-10-09

.Professional.Android 4 Application Development

清晰英文版的pdf,不是扫描版。有书签来标记章节。

2013-09-24

h264的结构说明,英文版

有关h.264的一个很不错的ppt,对于理解h264代码有帮助。它分不同层次地对h264的数据流和运算流进行了解释,可以方便地对照编解码器的源代码来看。

2011-11-15

Using OpenMP

MIT出版的经典OpenMP教程,英文版,pdf

2011-10-31

jubincn博文“GDB简单教程”中的示例程序

jubincn博文“GDB简单教程”中的示例程序,http://blog.csdn.net/jubincn/article/details/6774524

2011-09-14

算法导论第三版 英文版

Before there were computers, there were algorithms. But now that there are com- puters, there are even more algorithms, and algorithms lie at the heart of computing. This book provides a comprehensive introduction to the modern study of com- puter algorithms. It presents many algorithms and covers them in considerable depth, yet makes their design and analysis accessible to all levels of readers. We have tried to keep explanations elementary without sacrificing depth of coverage or mathematical rigor. Each chapter presents an algorithm, a design technique, an application area, or a related topic. Algorithms are described in English and in a pseudocode designed to be readable by anyone who has done a little programming. The book contains 244 figures—many with multiple parts—illustrating how the algorithms work. Since we emphasize efficiency as a design criterion, we include careful analyses of the running times of all our algorithms.

2010-12-01

GIS:A Computing Perspective 第一版 chm格式

Worboys的经典著作,不过是第一版的。我一直想找第二版的,但没找到,哪位温拿如果有的话,麻烦分享下。

2010-07-13

Introduction to Spring2. and JPA

IBM Developerworks 上的文章,英文版本

2010-05-07

Apress.Beginning.Apache.Struts.From.Novice.to.Professional.Feb.2006.pdf

struts从入门到精通的英文版,我还没看,也不清楚struts的版本,但这份文档的质量不错

2009-12-18

Vi-iMproved.pdf

有关vim的一本pdf书,英文的,500多页,喜欢vim的同学可以下载看下

2009-12-18

Linux必学的60个命令v1.0.1.pdf

70多页的一个pdf文档,里面列举了常用的Linux命令,可以做参考手册用

2009-12-18

Berkeley计算机经典阅读材料

从Berkeley上下载的他们一门计算机经典阅读材料课的资料,里面的内容都是英文的论文,包括哥德尔的,纳什的等。强烈建议喜欢计算机科学的同学看一下。

2009-12-18

空空如也

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

TA关注的人

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