自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 ReentrantLock 源码分析

从源代码实现的角度一步一步分析ReentrantLock 的加解锁流程

2017-06-12 20:15:18 261

原创 git学习--githug40-50

githug40-50关学习记录 41、 Name: rebase_onto Level: 41 Difficulty: ** You have created your branch from wrong_branch and already made some commits, and you realise that you needed to create your branch

2017-01-11 23:17:57 1120

原创 git学习--githug20-40关

20-40关的记录 21、 Name: reset Level: 21 Difficulty: ** There are two files to be committed. The goal was to add each file as a separate commit, however both were added by accident. Unstage the file

2017-01-11 23:16:46 636

原创 git学习--githug1-20关

点亮git技能树 项目代码托管用git管理也有一年多了,平常也用的最多的也就是clone,pull,commit,push等等,对git的其他的用法也就是用到的时候google,但是没有一个系统的学习方法,在逛论坛、看帖子的时候偶尔看到一个好玩的,又可以系统的学习git的游戏,名字叫githug,欲知详情,请移步https://github.com/Gazler/githug。为了巩固记忆,在此特

2017-01-10 23:39:43 722

转载 MySQL ORDER BY LIMIT Performance Optimization

在此记录一下order by limit 的性能优化。

2016-10-14 16:59:50 358

转载 mysql 索引使用的三种方法

最近优化数据库查询,一片文章加深了我对索引的理解,先mark下,后续翻译吧。 https://www.percona.com/blog/2009/09/12/3-ways-mysql-uses-indexes/

2016-10-14 15:13:42 624

原创 hadoop_Hbase_pinpoint 环境搭建

**hadoop_Hbase_pinpoint 环境搭建一、简介 Pinpoint is an open source APM (Application Performance Management) tool for large-scale distributed systems written in Java.Pinpoint 是一个用java编写的,针对大型分布式系统的开源应用性能管理工具。

2016-01-12 20:27:10 3993 3

转载 随机概率算法

转载:http://www.keithschwarz.com/interesting/code/?dir=alias-method/****************************************************************************** * File: AliasMethod.java * Author: Keith Schwarz 

2016-01-07 10:09:04 1265

原创 elasticsearch 离线安装head,bigdesk插件

本来在ES下安装各种插件是非常方便的,利用命令bin/plugin -install xxxx,怎奈有时候因为网络问题,从网上下载失败,所以转换手动安装。一、先去网上下载head 和 bigdesk的tar包或者zip包;二、安装head插件1、wget https://github.com/mobz/elasticsearch-head/archive/master.zip2、m

2015-12-11 11:23:35 5991

原创 mysql 批量导入脚本

上周用kettle做了对双十一数据统计程序,为了验证数据的准确性,就从生产库导出了双十一全天的数据,然后导入测试库去做验证。发现表实在是有点多,如果每次只导入单张表,工作量挺大,而且基本都是重复的工作,经过网上的各种搜索和老大的指点,现将实现方法总结如下:方法一:1.1新建一个batchImport.sql的文件,然后在这个文件里面写入你每个需要导入的脚本名称。如下:/User/x

2015-11-21 15:14:43 1410

转载 Oracle11g EXP ORA-01455

转自:http://blog.itpub.net/29512902/viewspace-1260233数据库Oracle11g下,EXP逻辑导出时,遇到如下错误:EXP-00056: 遇到 ORACLE 错误 1455ORA-01455: 转换列溢出整数数据类型EXP-00000: 导出终止失败据现象观察,出现此错误之前,大多数记录数为0的正式表(不是临时表)没有被导出.

2015-06-02 17:25:32 707

原创 Error in invoking target 'mkldflags ntcontab.o nnfgt.o' ofmakefile '.../ins_net_client.mk'-

1、在RedHat的 64位系统下安装中途会出现 Error in invoking target 'mkldflags ntcontab.o nnfgt.o' ofmakefile '.../ins_net_client.mk'--68%错。如图所示:此种情况是因为gcc的包没有装全;需要把以下的包严格按顺序安装。glibc-common-2.12-1.80.el6.x86_64.rpm

2015-05-16 11:09:17 8613 2

原创 Hibernate 4出现的Could not parse mapping document from resource,Duplicate class/entity mapping

初学Hibernate,用的又是最新版本的

2014-05-12 10:00:15 761

原创 对于Myeclipse中引入ExtJs后有的文件出现multiple markers at this line - missing semicolon错误的解决方案

错误文件如上

2014-05-08 08:55:08 4074

转载 Oracle启动出现ORA-01034和ORA-27101的解决方案

问题描述:在Myeclipse中运行项目是出现启动Oracle

2014-05-06 09:01:53 1305

转载 Oracle sqlnet.ora、tnsnames.ora、listener.ora三个配置文件详细学习

概述在oracle安装目录$HOME/network/admin下,,经常看到sqlnet.ora tnsnames.ora listener.ora这三个文件,除了tnsnames.ora,其他两个文件详细的用途很多人都不太了解。sqlnet.ora 用在oracle client端,用于配置连接服务端oracle的相关参数.tnsnames.ora 用在oracle client端

2014-05-05 09:12:14 581

转载 Oracle 修改用户名/密码

一、忘记除SYS、SYSTEM用户之外的用户的登录密码。 用SYS (或SYSTEM)用户登录: CONN SYS/PASS_WORD AS SYSDBA; 使用如下语句修改用户的密码: ALTER USER user_name IDENTIFIED BY "newpass"; 注意:密码不能全是数字。并且不能是数字开头。否则会出现:ORA-00988: 口令缺失或无效二、忘记SY

2014-05-05 08:37:52 858

转载 Spring IOC机制

提到spring,第一印象就是DI与IOC,虽然有概念上的解释,但是要理解这些概念还是需要动手进行试验。如果要深入了解spring的原理,那么最先了解得就应该是spring容器。Spring提供了两种类型的IOC容器实现:      1.beanFactory: IOC 容器的基本实现。      2.ApplicationContext: 提供了更多的高级特性,是beanFact

2014-04-30 09:47:38 443

pentaho kettle 用户手册

Pentaho Data Integration (PDI) is a flexible tool that allows you to collect data from disparate sources such as databases, files, and applications, and turn the data into a unified format that is accessible and relevant to end users. PDI provides the Extraction, Transformation, and Loading (ETL) engine that facilitates the process of capturing the right data, cleansing the data, and storing the data using a uniform and consistent format

2015-11-11

pentaho kettle 解决方案

pentaho kettle solution 利用petaho data integration 构建开源的ETL解决方案

2015-11-11

rhel6.3安装Oracle11g所需的gcc包

glibc-common-2.12-1.80.el6.x86_64.rpm kernel-headers-2.6.32-279.el6.x86_64.rpm libgcc-4.4.6-4.el6.x86_64.rpm glibc-2.12-1.80.el6.x86_64.rpm libgomp-4.4.6-4.el6.x86_64.rpm nscd-2.12-1.80.el6.x86_64.rpm glibc-headers-2.12-1.80.el6.x86_64.rpm glibc-devel-2.12-1.80.el6.x86_64.rpm mpfr-2.4.1-6.el6.x86_64.rpm ppl-0.10.2-11.el6.x86_64.rpm cloog-ppl-0.15.7-1.2.el6.x86_64.rpm cpp-4.4.6-4.el6.x86_64.rpm gcc-4.4.6-4.el6.x86_64.rpm 注:以上是安装gcc,软件安装顺序不能错 libstdc++-4.4.6-4.el6.x86_64.rpm libstdc++-devel-4.4.6-4.el6.x86_64.rpm gcc-c++-4.4.6-4.el6.x86_64.rpm 注:以上是安装gcc-c++

2015-05-16

glibc-devel-2.3.4-2.x86_64.rpm

oracle11g 所需的包 glibc-devel-2.3.4-2.x86_64.rpm

2015-05-15

空空如也

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

TA关注的人

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