Skip to content

Instantly share code, notes, and snippets.

@cippaciong
cippaciong / nginx.conf
Last active January 4, 2019 15:44
NGINX Reverse Proxy
server {
server_name example.com;
listen 80;
location / {
proxy_pass http://127.0.0.1:4567;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
@cippaciong
cippaciong / PKGBUILD
Created October 16, 2018 13:25
PKGBUILD for python-httpie-jwt-auth
# Maintainer: Roger Duran <rogerduran at gmail dot com>
pkgname=python-httpie-jwt-auth
_pkgname=httpie-jwt-auth
pkgver=0.3.0
pkgrel=1
pkgdesc="JWTAuth (JSON Web Tokens) auth plugin for HTTPie"
url="https://github.com/teracyhq/httpie-jwt-auth"
license=('BSD')
#/usr/bin/env bash
_buffalo_complete()
{
local cur prev
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
prev=${COMP_WORDS[COMP_CWORD-1]}
@cippaciong
cippaciong / PKGBUILD
Created June 25, 2018 14:13
elm-platform PKGBUILD
# Maintainer: Lukas Werling <lukas.werling@gmail.com>
pkgname=elm-platform
pkgver=0.18.0
pkgrel=4
pkgdesc="Bundle of all core development tools for the Elm language."
arch=('i686' 'x86_64')
url="http://elm-lang.org"
license=('BSD3')
depends=('gmp' 'zlib')
makedepends=('stack-static' 'patchelf')
@cippaciong
cippaciong / PKGBUILD
Created August 29, 2017 18:40
Apache Flink 1.3.2 PKGBUILD
# Maintainer: Tao Meng ("mtunique") <oatgnem [at] gmail.com>
# Contributor: Tommaso Sardelli ("cippaciong") <lacapannadelloziotom [at] gmail [dot] com>
pkgname=apache-flink
pkgver=1.3.2
pkgrel=1
_hadoopver=27
_scalaver=2.11
pkgdesc="Apache Flink is an open source platform for distributed stream and batch data processing"
arch=("i686" "x86_64")