自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 资源 (5)
  • 收藏
  • 关注

转载 Looking "Under the Hood" with javap

There's a utility that is included with the Java Development Kit that I find is seldom used but can be remarkably handy. In fact, I almost never used it until it came time for me to study for the SCJP

2015-11-30 15:44:13 586

转载 scala里的静态代理(static-forwarders)

静态代理(static-forwarders)是编译器针对从java调用scala的object里的方法提供的一种便捷。比如,我们如何在java中调用下面object里的foo方法?$ cat A.scala object A { def foo() = 2}按照通常的逻辑,我们需要在java里获取到这个单例对象,然后通过这个对象调用foo方法,不过这样做的前提你需要

2015-11-28 18:03:32 549

转载 scala:函数即对象

在Scala里,我们经常讨论对象-函数编程。它表示什么呢?函数究竟是什么?函数是一系列的trait。确切地说,有一个参数的函数是Function1 trait的一个实例。这个trait定义了我们之前学到的apply()的语法糖,它允许你像调用函数一样调用对象。1234567scala> object addOneexten

2015-11-28 18:01:54 1153

转载 Know Your Stack - Scala to Java to Bytecode to Assembly

Many times in my career so far I could have made better decisions, solved problems much faster or even prevented problems if I had a deeper understanding of the technology stack I was using.To b

2015-11-28 17:58:28 353

转载 Scala: Under The Hood of Hello World

The exercise of printing 'Hello World' from a new programming language is so popular because it allows you to see quite a few things about a language straight away, including the style of the syntax

2015-11-28 17:46:59 413

转载 Classes and Fields in Scala

Let’s take a very simple example of a class in Scala with one field:1classPerson{2  var name = ""3}Very concis

2015-11-28 17:04:04 480

转载 Overview of Spark, YARN, and HDFS

Spark is a relatively recent addition to the Hadoop ecosystem. Spark is an analytics engine and framework capable of running queries 100 times faster than traditional MapReduce jobs written in Hadoo

2015-11-27 18:54:33 711

转载 An Overview of Tomcat 6 Servlet Container: Part 2

Nested componentsThese components are specific to the Tomcat implementation, and their primary purpose is to enable the various Tomcat containers to perform their tasks.ValveA valve is a p

2015-11-27 18:49:38 826

转载 An Overview of Tomcat 6 Servlet Container : Part 1

In practice, it is highly unlikely that you will interface an EJB container from WebSphere and a JMS implementation from WebLogic, with the Tomcat servlet container from the Apache foundation, but it

2015-11-27 18:48:11 982

转载 Apache Spark Resource Management and YARN App Models

A concise look at the differences between how Spark and MapReduce manage cluster resources under YARNThe most popular Apache YARN application after MapReduce itself is Apache Spark. At Cloudera, w

2015-11-26 18:31:31 728

转载 Programatically Adding Ajax Actions to UIComponents

Do this requires use of the client behaviour system built into JSF2. This article will focus on performing this tasking using PrimeFaces widgets from version 3.0 which fully support client behaviour –

2015-11-26 18:26:26 789

转载 cygwin下如何清屏(clear screnn)

在windows下安装了cygwin后,没有clear命令,一般有如下向种处理方法:1. bash script处理:echo -e "\E[2J"^C2. ctrl + L3. 在cygwind中install ncurses (in Utils) and then you can use: clear

2015-11-23 13:12:29 750

转载 $( document ).ready()

A page can't be manipulated safely until the document is "ready." jQuery detects this state of readiness for you. Code included inside $( document ).ready() will only run once the page Document Obje

2015-11-23 13:10:28 421

转载 Maven Lifecycle and Goals

The previous section covered plugin goals and how to run goals from command line. In very few situations we invoke plugin goals directly and more often than not, lifecycle phases are preferred. In thi

2015-11-23 11:32:24 776

转载 How to invoke a JSF managed bean on a HTML DOM event using native JavaScript?

I need to execute a JSF managed bean action method using ajax during HTML DOM load event, similar to jQuery's $(document).ready(function() { $.ajax(...) }). I can only use the JavaScript generated

2015-11-20 23:04:50 875

转载 Execute managebean method from javascript onload event

In theory the following should do it. event="load" listener="#{bean.onload}" />withpublic void onload(AjaxBehaviourEvent event) { // ...}However, this is not supported for some

2015-11-20 22:56:25 908

原创 PrimeFaces 核心源码 js

primefaces/src/main/resources/META-INF/resources/primefaces/core/core.js (function(window) {if(window.PrimeFaces) {window.PrimeFaces.debug("PrimeFaces already loaded, ignoring duplicate

2015-11-19 23:10:42 1608

转载 What does the PF function do in Primefaces

The PF function is a part of PrimeFaces's JavaScript API. It looks up a Javascript object that is the backbone of the JSF component on the client-side. Here is its definition (source):PF = functio

2015-11-19 22:51:19 1297

转载 How can i get access to a Highcharts chart through a DOM-Container

Highcharts 3.0.1Users can use the highcharts pluginvar chart=$("#container").highcharts();Highcharts 2.3.4Read from the Highcharts.charts array, for version 2.3.4 and later, the index of

2015-11-19 22:44:43 1425

原创 .highcharts 函数

关于 $('#container').highcharts(options);The .highcharts function is actually a part of a jQuery plugin used to createthe Highcharts.Chart objects. It uses jQuery's element selector (for example,$

2015-11-19 22:41:09 1078

转载 理解jquery的$.extend()、$.fn和$.fn.extend()

原文 http://caibaojian.com/jquery-extend-and-jquery-fn-extend.htmljQuery为开发插件提拱了两个方法,分别是:jQuery.fn.extend();jQuery.extend();jQuery.fnjQuery.fn = jQuery.prototype = {   init: function(

2015-11-19 22:25:57 706

转载 jQuery Basics

The jQuery library makes it easy to manipulate a page of HTML after it's displayed by the browser. It also provides tools that help you listen for a user to interact with your page, tools that help yo

2015-11-19 22:17:36 491

转载 mongoDB入门必读(概念与实战并重)

一、概述MongoDB是一个基于分布式文件存储的数据库开源项目。由C++语言编写。旨在为WEB应用提供可护展的高性能数据存储解决方案。 MongoDB是一个介于关系数据库和非关系数据库之间的产品,是非关系数据库当中功能最丰富,最像关系数据库的。他支持的数据结构非常松散,是类似json的bjson格式,因此可以存储比较复杂的数据类型。Mongo最大的特点是他支持的查询语言非常

2015-11-18 10:10:44 521

转载 Mongodb安装 for windows7 64位

安装MongoDB1.按照操作系统下载http://www.mongodb.org/downloads。2.在D盘新建MongoDB文件夹(此文件夹为自定义的数据库安装目录D:\MongoDB)把刚才下载的压缩包解压并把bin文件夹拷贝到MongoDB文件夹。3.在MongoDB文件夹内新建logs文件夹(用于存储日志文件D:\MongoDB\logs),并在此文件夹内新建

2015-11-18 10:09:26 3250 1

转载 What does it mean by rendering of page in JSF

Every JSF page as described has various components made with the help of JSF library. JSF may contain h:form, h:inputText, h:commandButton, etc. Each of these are rendered (translated) to HTML output.

2015-11-18 09:50:19 403

转载 ORACLE PL/SQL编程之四: 把游标说透

在PL/SQL块中执行SELECT、INSERT、DELETE和UPDATE语句时,ORACLE会在内存中为其分配上下文区(Context Area),即缓冲区。游标是指向该区的一个指针,或是命名一个工作区(Work Area),或是一种结构化数据类型。它为应用等量齐观提供了一种对具有多行数据查询结果集中的每一行数据分别进行单独处理的方法,是设计嵌入式SQL语句的应用程序的常用编程方式。 

2015-11-18 09:45:24 495

转载 ORACLE游标概念讲解

1,什么是游标? ①从表中检索出结果集,从中每次指向一条记录进行交互的机制。    ②关系数据库中的操作是在完整的行集合上执行的。  由SELECT 语句返回的行集合包括满足该语句的WHERE 子句所列条件的所有行。由该语句返回完整的行集合叫做结果集。     应用程序,尤其是互动和在线应用程序,把完整的结果集作为一个单元处理并不总是有效的。     这些应用程序需要一种机

2015-11-18 09:42:51 373

speech and language processing 2nd

自然语言处理经典书籍,Speech and Language Processing 2nd,djvu格式

2018-04-05

Haskell Programming from first principles

Haskell Programming from first principles

2017-03-12

Scala Design Patterns

Scala Design Patterns 英文 文字版

2016-04-14

南京邮电大学数据结构历年真题及答案

南京邮电大学数据结构历年真题及答案,从1999年到2006年,还有大纲

2012-11-17

空空如也

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

TA关注的人

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