Skip to content

Instantly share code, notes, and snippets.

@wangxiuwen
wangxiuwen / md-renderer.conf
Created September 17, 2020 14:55 — forked from afeish/md-renderer.conf
Nginx config to render markdown files (client side)
location /__special {
internal;
allow all;
root /usr/share/nginx/html/__special;
}
location = /__md_file {
internal;
allow all;
@wangxiuwen
wangxiuwen / install-redis.md
Created August 27, 2020 13:57 — forked from hackedunit/install-redis.md
Install and configure Redis on Ubuntu 16.04 with systemd
  1. Install pre-requisities

sudo apt-get install build-essential tcl

  1. Install Redis
cd /tmp
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz