Skip to content

Instantly share code, notes, and snippets.

@AlloVince
AlloVince / elastic.md
Last active July 14, 2022 12:52
npm install -g reveal-md && wget -q -O elastic.md https://gist.githubusercontent.com/AlloVince/35dc272fe0f6703b195425e07f22ed38/raw/elastic.md && reveal-md elastic.md

8102年如何入门Elastic

2018.9 @AlloVince


什么是Elastic

数据搜索/ETL/可视化的开源技术栈

@AlloVince
AlloVince / file_hash.js
Last active May 25, 2022 17:46
Compatible sha256 file hash for python and node.js
const crypto = require('crypto');
const fs = require('fs')
const fileBuffer = fs.readFileSync(filePath);
const fsHash = crypto.createHash('sha256');
fsHash.update(fileBuffer);
const hash = fsHash.digest('hex');
console.log(hash);
@AlloVince
AlloVince / restfulapi.md
Last active November 9, 2020 03:05
npm install -g reveal-md && wget -q -O restful.md https://gist.githubusercontent.com/AlloVince/ba8c33138adbdd39d757/raw/restfulapi.md && reveal-md restful.md

RESTFul API 设计

@AV 2015.04


什么是REST

Representational State Transfer

@AlloVince
AlloVince / project.md
Last active November 28, 2019 06:08
npm install -g reveal-md && wget -q -O project.md https://gist.githubusercontent.com/AlloVince/04dab3ad5c1f24c9faea/raw/project.md && reveal-md project.md

项目与产品

@AV 2015.04


目前的问题

  • 需求不明确,经常变更,缺少书面化的文档
  • 重点不明确
@AlloVince
AlloVince / Dockerfile
Created September 7, 2019 06:45
wkhtmltopdf microservice dockerfile
FROM mhart/alpine-node:8
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/' /etc/apk/repositories
# Add bash support
RUN apk add --update bash && rm -rf /var/cache/apk/*
RUN apk add --no-cache \
xvfb \
# Additionnal dependencies for better rendering
@AlloVince
AlloVince / graphql.md
Last active May 9, 2019 13:19
npm install -g reveal-md && wget -q -O graphql.md https://gist.githubusercontent.com/AlloVince/8ba1c92890c74cc7f4e68f09c79ec0d1/raw/graphql.md && reveal-md graphql.md

GraphQL

从入门到放弃

2018.5 @AlloVince


什么是GraphQL

theme separator verticalSeparator transition
moon
===
====
zoom

Convert any Gist Markdown file in to a slide show powered by Reveal.js

Convert any Gist Markdown file in to a slide show powered by Reveal.js


Try it out:

https://AlloVince.github.com/gimare/?YOUR_GIST_ID
@AlloVince
AlloVince / scrapy.md
Last active May 7, 2019 08:39
npm install -g reveal-md && wget -q -O scrapy.md https://gist.githubusercontent.com/AlloVince/55aa29c8b24c041ee8a832add04f9b40/raw/scrapy.md && reveal-md scrapy.md

如何严肃的写一个爬虫

2018.8 @AlloVince


知名爬虫框架有什么

@AlloVince
AlloVince / yeoman.md
Last active May 7, 2019 08:39
npm install -g reveal-md && wget -q -O yeoman.md https://gist.githubusercontent.com/AlloVince/8a53f1ff58748c719d15cbbe91ff5bd5/raw/yeoman.md && reveal-md yeoman.md

使用Yeoman生成项目脚手架

2018.8 @AlloVince


Yeoman