This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install .NET Core 2.0.0 SDK on Ubuntu 16.04 64Bits | |
## Author: Nilton OS www.linuxpro.com.br | |
## https://www.microsoft.com/net/core#linuxubuntu | |
## https://docs.microsoft.com/en-us/aspnet/core/publishing/apache-proxy | |
## https://medium.com/@renato.groffe/net-core-e-sql-server-em-linux-primeiros-passos-89a7cb475ebd | |
## Version 0.1 | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To make this server publicly available on the inter-webs while running from localhost, use ngrok, which can be found here: | |
# https://ngrok.com/download. Follow the installation instructions for ngrok and start it up: | |
# | |
# ./ngrok 4567 # (or whatever port you want to listen on). | |
# | |
# ngrok will spit out an ugly but unique URL. After ngrok starts up, you should be able to POST to the sinatra server: | |
# | |
# http://6eee766f.ngrok.com/payload | |
require 'sinatra' | |
require 'json' |