Skip to content

Instantly share code, notes, and snippets.

View wetfire2k's full-sized avatar

Stefano Vena wetfire2k

View GitHub Profile
Country Capital City Latitude Longitude Population Capital Type
Afghanistan Kabul 34.5289 69.1725 4011770 Capital
Albania Tiranë (Tirana) 41.3275 19.8189 475577 Capital
Algeria El Djazaïr (Algiers) 36.7525 3.0420 2693542 Capital
American Samoa Pago Pago -14.2781 -170.7025 48526 Capital
Andorra Andorra la Vella 42.5078 1.5211 22614 Capital
Angola Luanda -8.8368 13.2343 7774200 Capital
Anguilla The Valley 18.2170 -63.0578 1402 Capital
Antigua and Barbuda St. John's 17.1172 -61.8457 20764 Capital
Argentina Buenos Aires -34.6051 -58.4004 14966530 Capital
@wetfire2k
wetfire2k / serve.go
Created April 15, 2018 20:47 — forked from paulmach/serve.go
Simple Static File Server in Go
/*
Serve is a very simple static file server in go
Usage:
-p="8100": port to serve on
-d=".": the directory of static files to host
Navigating to http://localhost:8100 will display the index.html or directory
listing file.
*/
package main
@wetfire2k
wetfire2k / compile-nginx-from-source.sh
Created September 16, 2017 05:41 — forked from nurrony/compile-nginx-from-source.sh
All configuration files needed to install nginx on Ubuntu 16.04 Compile Nginx from source with nginx-rtmp-module, pagespeed and cache-purge module.
#change it to latest version
NPS_VERSION=1.11.33.0;
echo "Changing Directory to $HOME..."
cd $HOME;
echo "Nginx version to install: " && \
read NGINX_VERSION && \
echo "Downloading nginx-$NGINX_VERSION..." && \
wget http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz && \
echo "Installing Nginx Dependencies..." && \