Skip to content

Instantly share code, notes, and snippets.

View php-cpm's full-sized avatar

zouyi php-cpm

View GitHub Profile
@php-cpm
php-cpm / setup.md
Created October 15, 2015 14:58 — forked from xrstf/setup.md
Nutch 2.3 + ElasticSearch 1.4 + HBase 0.94 Setup

Info

This guide sets up a non-clustered Nutch crawler, which stores its data via HBase. We will not learn how to setup Hadoop et al., but just the bare minimum to crawl and index websites on a single machine.

Terms

  • Nutch - the crawler (fetches and parses websites)
  • HBase - filesystem storage for Nutch (Hadoop component, basically)
@php-cpm
php-cpm / 技术面试小纸条.md
Last active April 25, 2018 03:56 — forked from Mohamed3on/The Technical Interview Cheat Sheet.md
这是原文的中文版本

面向技术面试学习很蛋疼,所以我们写了个小纸条来打辅助

这个列表是一个速成指南,也可以作为具体专题深入研究的引用。本文其实就是你从来没去听过的或者已经健忘的计算机科学课程的总结,因此不可能写的很深入。原文已经在github gist 上公开,任何人都可以参与修改。

数据结构基础

数组 Array

定义: