Skip to content

Instantly share code, notes, and snippets.

View adejorosam's full-sized avatar
🏠
Working from home

Samson Adejoro adejorosam

🏠
Working from home
View GitHub Profile
@vanjikumaran
vanjikumaran / GoogleDistanceApiSample.html
Last active July 14, 2021 13:19
Very basic sample for google distance matrix
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
var origin = "Colombo, Srilanka",
destination = "Stockholm, Sweden",
service = new google.maps.DistanceMatrixService();
service.getDistanceMatrix(
@joyrexus
joyrexus / README.md
Last active November 5, 2024 14:17 — forked from liamcurry/gist:2597326
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})