Skip to content

Instantly share code, notes, and snippets.

@mayorova
mayorova / install.sh
Last active February 19, 2019 13:20
Install APIcast v3.2.0 on RHEL 7.5
# Switch to root
sudo -i
# Install dependencies
yum install -y yum-utils gcc git
# Enable OpenResty repo (see RHEL section at https://openresty.org/en/linux-packages.html)
yum-config-manager --add-repo https://openresty.org/package/rhel/openresty.repo
# Enable EPEL packages (needed for LuaRocks)
from flask import Flask
from flask_restful import Api, Resource, reqparse
app = Flask(__name__)
api = Api(app)
users = [
{
"name": "Nicholas",
"age": 42,
@mcnees
mcnees / graph paper.tex
Last active February 16, 2024 08:34
Make your own quadrille, graph, hex, etc paper! Uses the pgf/TikZ package for LaTeX, which should be part of any modern TeX installation.
%%-----------------------------------------------------------------------
%% Make your own quadrille, graph, hex, etc paper!
%% Uses the pgf/TikZ package for LaTeX, which should be part of
%% any modern TeX installation.
%% Email: mcnees@gmail.com
%% Twitter: @mcnees
%%-----------------------------------------------------------------------
\documentclass[11pt]{article}
@vdel26
vdel26 / apis.md
Last active November 20, 2018 16:44
APIs