Skip to content

Instantly share code, notes, and snippets.

@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 / 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);
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 / 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 / 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

@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

@AlloVince
AlloVince / EvaEngine.js.md
Last active May 7, 2019 08:38
npm install -g reveal-md && wget -q -O EvaEngine.js.md https://gist.githubusercontent.com/AlloVince/cb92c08e0b1c9e5b8b4f6becae12cc5d/raw/EvaEngine.js.md && reveal-md EvaEngine.js.md

EvaEngine.js

2016-2018 @AlloVince


什么是EvaEngine.js


@AlloVince
AlloVince / php_code_review.md
Last active May 7, 2019 07:34
npm install -g reveal-md && wget -q -O php_code_review.md https://gist.githubusercontent.com/AlloVince/a656e2842c7b6a43c81d/raw/php_code_review.md && reveal-md php_code_review.md

PHP Code Review

2015.07.31 @AV


什么是好代码