自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(55)
  • 资源 (51)
  • 收藏
  • 关注

原创 code

dsadas

2016-01-19 22:41:23 537

原创 highlight工具

http://markup.su/highlighter/

2015-12-25 16:56:13 658

原创 各种刷题网址

https://arena.topcoder.com/#/u/dashboard

2015-12-07 15:28:37 1528

转载 Eclipse :Java Editor Template Variables

Java Editor Template VariablesGeneral Template VariablesJava Specific Template VariablesTemplate variables may be used in the template pattern. Variables are resolved to their concrete value whe

2015-08-03 15:10:50 929

原创 eclipse好用的快捷键

eclipse好用的快捷键为什么是好用的而不是常用的呢?因为搜索常用的关键字往往出现一堆不常用的啊亲快捷键ctrl+shift+g 在workspace中搜索引用F3 跟上面哪个命令相反,上面那个命令是看谁调用了该方法,而此命令可以直接进入该方法,跟ctrl+鼠标点击效果一致ctrl+shift+t 查找类ctrl+shift+u 搜索选择选中的文字后非常类似于UE的列表查询 ct

2015-07-10 15:10:08 513

原创 使用sublime开发javascript

先安装nodeJs , 在Sublime Text中,点击 Tools -> Build System -> New build system ,Sublime会打开一个文件,我们来编辑这个文件:{ "cmd": ["node","$file"], "selector":"source.js"}存为 JavaScript.sublime-build,File--

2015-05-05 16:25:56 1239

转载 转载一个google面试的准备清单

Data Structures1. Integer– find number of 1s– next largest smaller– smallest larger number– determine if is palindrom– itoa, atoi– add 2 numbers w/o using + or arithmetic operators–

2015-05-02 20:43:09 522

原创 ACM 学习资料

game  theroy :http://www.math.ucla.edu/~tom/Game_Theory/Contents.html

2015-04-02 15:23:22 444

转载 使用二进制数枚举子集

问题描述:枚举给定集合的所有子集,包括只含一个元素的集合以及给定集合本身。当集合中出现值相同的元素时,根据不同性质可将子集分为:允许重复包含相同值的元素不允许重复包含相同值的元素思路:利用二进制的“开关”特性枚举,具体为:假设给定集合A大小为n,则想象A = {a[0], a[1], ..., a[n-1]}的每个元素对应一个开关位(0或1),0表示不出现,1表示出

2015-01-06 11:56:42 1401

翻译 IT行业offer档次排名

一)、每年的码农都流去哪了? 最优质的码农都去BAT了?错,纯论薪水,BAT最多只能算是3、4等的offer。 IT民工的毕业去处有哪几类?就员工来说,我觉得按照待遇,大概可以分为以下几类:国外的offer、国内互联网顶级offer(主要是游戏公司)、银行IT、互联网、华为、运营商、IT软硬件外企、其它通信设备商、IT软硬件内资公司。 1、 最好的offer是哪? 适合码农

2015-01-04 16:36:00 6915

翻译 各大IT公司、软件公司员工等级(级别)及薪资

信息来自互联网(很多是猎头的post中包括了薪水信息)数据很可能已经过时,准确性很不高,仅供参考主要对象职位:技术类,工程师IBM员工等级(级别)BandNon-ManagementTitleManagementTitle6SalesSpecialist 7A

2015-01-04 16:06:36 67711 1

转载 数据库事务与隔离等级详解

原文:http://blog.csdn.net/llmlx/article/details/2282978     作者写的不错。挺清楚的事务(transaction)是数据库管理系统的执行单位,可以是一个数据库操作(如Select操作)或者是一组操作序列。事务ACID属性,即原子性(Atomicity)、一致性(Consistency)、隔离性(Isolation)、持久性(Durabili

2014-12-05 17:51:05 526

转载 java socket http server

昨天在stackoverflow上找代码,找到的没法运行,不是消息头缺少/r/n或者消息ti

2014-11-21 11:29:13 589

原创 网站收藏

一些比较好的网站:http://www.nowamagic.net/academy/

2014-11-20 15:59:05 807

原创 svn 分支

svn建议我们把目录建成trunk ,branch和tags中,

2014-11-19 17:43:20 632

原创 最大连续子序列和

past, now, ret = 0, 0, 02 for x in L:3 now = now + x4 past = min(past, now)5 ret = max(ret, now-past)6 print ret

2014-11-11 15:41:09 479

转载 svn命令

1,svnadmin create {path} 创建一个repo2,

2014-11-05 17:08:37 415

转载 ACM学习路径

看完人家的博客,发现任重道远。。。一位高手对我的建议:一般要做到50行以内的程序不用调试、100行以内的二分钟内调试成功.acm主要是考算法的,主要时间是花在思考算法上,不是花在写程序与debug上。 下面给个计划你练练:第一阶段:练经典常用算法,下面的每个算法给我打上十到二十遍,同时自己精简代码,因为太常用,所以要练到写时不用想,10-15分钟内打完,甚至关掉显示器都

2014-09-30 15:20:34 2898

转载 ACM大牛blog

ACM大牛BLOG(转)2010-08-26 Twilightgod CUST http://blog.csdn.net/twilightgodAekdycoin FZU http://hi.baidu.com/aekdycoinForeverlin HNU http://hi.baidu.com/forverlin1204/blogMatrix67 PKU http://www.

2014-09-22 17:01:30 770

原创 能看国内大学计算机各类视频的网站

http://www.da-fan-shu.cn/20100415_952/

2014-09-22 16:57:15 635

转载 理解JVM如何使用Windows和Linux上的本机内存

转至:http://www.chineselinuxuniversity.net/articles/23291.shtml摘要:Java™ 堆耗尽并不是造成 java.lang.OutOfMemoryError 的惟一原因。如果本机内存 耗尽,则会发生普通调试技巧无法解决的 OutOfMemoryError。本文将讨论本机内存的概念,Java 运行时如何使用它,它被耗尽时会出现什么情况,以及如

2014-09-11 13:53:29 675

原创 一段理解nio的代码

import java.io.IOException;import java.nio.ByteBuffer;import java.nio.CharBuffer;import java.nio.channels.SelectionKey;import java.nio.channels.Selector;import java.nio.channels.ServerSocket

2014-09-04 16:44:00 496

原创 linux vi命令

1,上下左右jkhl2,4h代表往左移动4位,10k戴白哦往下移动

2014-08-25 13:25:15 457

原创 InputStream解读

首先说说public abstract int read() throws IOException,这个

2014-07-03 16:42:29 566

转载 张江男曲折的出国梦

来源: 小蒲的QQ空间  发布时间: 2013-09-22 21:23  阅读: 11545 次  推荐: 65  [收藏]     联系作者:[email protected]  伍童鞋耗时一个月写作的,堪称有生以来史上最长最详细的长篇流水帐—面试经验,跟大家分享。  (上)  拿到 offer 之后,就答应朋友把那些跨国得面试经验给写下来,和大家分享分享。时间

2014-06-24 15:41:34 595

转载 jmx学习笔记三

在MBean中有只要遵循以下两个规则,我们就可以在jconsole中动态的改变MBean中的属性值1. JMX中要定义接口必须以xxxMBean的规范定义2. 得有类实现xxxMBean接口 例如: Java代码  package com.haitao.jmx.mxbean;     /**   * Server Configur

2014-05-30 11:16:09 677

转载 jmx 学习笔记二

Notification   通知,也可理解为消息,有通知,必然有发送通知的广播,JMX这里采用了一种订阅的方式,类似于观察者模式,注册一个观察者到广播里,当有通知时,广播通过调用观察者,逐一通知.  这里写一个简单的Server配置例子, 首先定义我们的MBean接口:  Java代码  package com.haitao.jmx.mbeans.

2014-05-30 11:14:34 699

转载 jmx学习笔记一

JMX        即 Java Management Extensions   Java管理扩展MBean   即 managed beans                         被管理的Beans一个MBean是一个被管理的Java对象,有点类似于JavaBean,一个设备、一个应用或者任何资源都可以被表示为MBean,MBean会暴露一个接口对外,这个接口可以读取或

2014-05-30 11:12:56 683

原创 EasyMock源码分析

MocksControl有type,state 和 behavior。它会被保存在当前Thread对应的Map的以threadLocal为键的值中。初始化MocksControl时,根据type来设定behavior的checkorder,并使用当前的behavoir初始化state,并清空一下当前Thread的Map中的MocksControlMocksControl 负责创建代

2014-05-06 12:53:31 1214

原创 没理解double check lock的问题

嗯,看了些连接https://www.cs.umd.edu/users/pugh/java/memoryModel/jsr-133-faq.html#reordering

2014-05-02 14:00:51 1336 1

转载 在有图片的网页地址栏中敲入这些,然后就~~

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='abs

2014-05-02 13:51:09 1094

原创 17个使用spring的开源项目

PowerstoneTudu ListsAlfresco Content ManagementSpringSidePlazmaagileexpressZksample2Spring Rich ClientBroadleaf CommerceOpenERPHISPACTALuigi Open Search EngineJOSSOHSEJava Small Business Platformjrecr

2014-04-28 13:03:09 515

原创 LeeCode Binary Tree Preorder ,inorder ,postorder Traversal

class TreeNode { private int val; TreeNode left; TreeNode right; public TreeNode(int val) { this.val = val; this.left = null; this.right = null; } } private ArrayList

2014-04-22 15:23:56 475

原创 Leetcode Linked List Cycle

Given a linked list, determine if it has a cycle in it.public boolean hasCycle(Node head) { Node p1 = head; Node p2 = head.next; while(p1!=null&&p2!=null&&p2.next!=null){ if(p1==p2){

2014-04-22 13:52:44 484

原创 LeetCode Merge Two Sorted Lists

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.

2014-04-22 13:04:09 416

原创 Leecode Remove Duplicates from Sorted List

Given a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, return 1->2->3.

2014-04-22 11:26:55 492

原创 LeeCode partition List

Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the original relative order of the nodes in each of t

2014-04-22 10:43:44 462

转载 领略Java内部类的“内部”

内部类有两种情况:(1) 在类中定义一个类(私有内部类,静态内部类)(2) 在方法中定义一个类(局部内部类,匿名内部类) 1、私有内部类 —— 在方法之间定义的内部类,非静态      我们首先看看类中内部类的两个特点:      (1) 在外部类的作用范围内可以任意创建内部类对象,即使内部类是私有的(私有内部类)。即内部类对包围它的外部类可见。例如 (实际上,

2014-04-21 16:27:15 439

转载 Java ClassLoader深入讲解

当JVM(Java虚拟机)启动时,会形成由三个类加载器组成的初始类加载器层次结构:       bootstrap classloader                |       extension classloader                |       system classloaderbootstrap classloader -引导(也称

2014-04-21 16:25:15 600

转载 崔天翼的找工作总结

http://blog.renren.com/share/270327111/14798903084 首先说明一下,我本来是浙大计算机2008级的学生,后来因为无法按时毕业延期了一年,于是就变成了2013年毕业,所以今年才开始找工作。然后剧透一下,我最终选择的未来雇主是 Jane Street Capital,职位是 Assistant Quantitative Resea

2014-04-21 16:21:06 1446

分布式系统概念与设计(原书第3版)

分布式系统概念与设计(原书第3版)

2016-07-14

从零开始构建现代计算机

从零开始构建现代计算机从零开始构建现代计算机

2016-07-12

大型网站技术架构

大型网站技术架构大型网站技术架构

2016-07-12

函数式数据结构

函数式数据结构,函数式数据结构

2016-07-12

自制编程语言

自制编程语言

2016-07-12

advanced programming in unix

advanced programming in unix

2016-07-12

Programming_Languages_and_Lambda_Calculi

Programming_Languages_and_Lambda_Calculi

2016-05-03

pratical fundations of programming languages

pratical fundations of programming languages

2016-05-03

advanced bash script guide

abs-guide

2016-05-03

slpj-book-1987

slpj-book-1987slpj-book-1987

2016-05-03

Algorithms on Strings Trees and Sequences Dan.Gusfield

Algorithms on Strings Trees and Sequences Dan.Gusfield

2016-05-03

cleancodehandbook

cleancodehand

2016-05-03

Scala编程Scala编程

Scala编程Scala编程

2016-05-03

programming languges application and interpretation

programming languges application and interpretation

2016-05-03

scheme and the art of programming

scheme and the art of programming

2016-05-03

the little book of semaphores

the little book of semaphores

2016-05-03

只是为了好玩:Linux之父林纳斯自传

只是为了好玩:Linux之父林纳斯自传

2016-05-03

The.AWK.Programming.Language.Aho&Weinberger&Kernighan

The.AWK.Programming.Language.Aho&Weinberger&Kernighan

2016-05-03

write solid code (中文)

write solid code (中文)

2016-05-03

elements of programming interview

elements of programming interview

2016-05-03

编译器生成器antlr手册.pdf

编译器生成器antlr手册

2015-07-22

the science of programming

The-Science-Of-Programming-Gries

2015-06-23

程序设计方法 中文版

程序设计方法程序设计方法一本经典的计算机图书,中文版

2015-06-09

数据结构C语言描述

数据结构C语言描述

2015-04-17

Troubleshooting Microprocessors and Digital Logic

Troubleshooting Microprocessors and Digital Logic Troubleshooting Microprocessors and Digital Logic

2015-04-17

digital circuit logic

digital circuit logic

2015-04-17

real world haskell

real world haskell

2015-04-14

programming in scala

programming in scala

2015-04-14

an introduction to the analysis of algorithms

an introduction to the analysis of algorithmsan introduction to the analysis of algorithmsan introduction to the analysis of algorithms

2015-04-14

bash_cookbook

bash_cookbookbash_cookbookbash_cookbookbash_cookbook

2015-04-03

七周七语言

七周七语言

2015-04-03

how to design programs

how to design programs

2015-04-03

language implementation patterns

language implementation patterns

2015-04-03

现代操作系统

现代操作系统

2015-04-03

why function program matters

why function program matterswhy function program matterswhy function program matters

2015-04-02

function program

function program :关于lambda算子的基础描述

2015-04-02

算法 第四版

算法 第四版,经典的算法入门书籍

2015-04-02

CLR via C#

CLR via C#,C#必读书籍

2015-04-02

mit nim 论文

mit 论文,关于nim博弈与Sprague-Grundy函数

2015-04-02

quick python book

quick python bookquick python book

2015-03-25

空空如也

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

TA关注的人

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