Skip to content

Instantly share code, notes, and snippets.

@bsidhu009
bsidhu009 / ngx-lua.sh
Created October 1, 2019 06:32
ngx-lua.sh
#!/bin/sh
# Script to compile nginx on ubuntu with lua support.
#Original https://gist.github.com/hit9/0d28034500c58c0c3a9f/raw/1e13a96bc245f3d040fc9cd01e39b98eeeffaf9d/ngx-lua.sh
NGX_VERSION='1.16.1' # or try 1.17.4
LUAJIT_VERSION='2.0.5'
LUAJIT_MAJOR_VERSION='2.0'
NGX_DEVEL_KIT_VERSION='0.3.1'
LUA_NGINX_MODULE_VERSION='0.10.15'
@bsidhu009
bsidhu009 / file-uploader.component.html
Created April 14, 2018 10:59 — forked from stuartaccent/file-uploader.component.html
Angular 4.3 file uploader with queue and progress using HttpClient
<div class="row">
<div class="col-md-3">
<h3>Select files</h3>
<input type="file" #fileInput multiple (change)="addToQueue()" />
</div>
<div class="col-md-9">
<h3>Upload queue</h3>
<table class="full-width mb-3">