Skip to content

Instantly share code, notes, and snippets.

@nvtin
nvtin / install_ngrok_osx.md
Last active December 20, 2016 06:47
Installing ngrok on OSX

ngrok is a handy tool and service that allows you tunnel requests from the wide open Internet to your local machine when it's behind a NAT or firewall. #Installing ngrok on OSX

  1. Download ngrok
  2. Unzip it to your Applications directory
  3. Create a symlink (instructions below)

Creating a symlink to ngrok

Run the following two commands in Terminal to create the symlink.

@nvtin
nvtin / google_autocomplete_address.html
Last active July 10, 2017 03:24
Google Map Autocomplete Address
<script src="http://maps.googleapis.com/maps/api/js?key=Key-API=true&libraries=places" type="text/javascript"></script>
javascript:
// Address Autocomplete
var options = {
types: ['geocode']
}
var input = document.getElementById('Your_ID_INPUT');
var autocomplete = new google.maps.places.Autocomplete(input, options);
// Autocomplete Listener