//Note: jquery is required by bootstrap
$(document).ready(function(){
  //smooth scroll to element on click
  $('a[href^="#"]').on('click',function (e) {
    e.preventDefault();

    var target = this.hash;
    var $target = $(target);

    $('html, body').stop().animate({
        'scrollTop': $target.offset().top
    }, 500, 'swing', function () {
        window.location.hash = target;
    });
  });
});

@@ -33,16 +33,1374 @@
 otstrap%0A
+%0Awindow.getgcal = function()%7B%0A  console.log('getcal fired');%0A  var apiKey = 'AIzaSyDZ4PygSkkKST37XP7haH-5JWXPDS3xhvk';%0A  var calendarId = 'aaronclamp.com_b7fo0kt1qs4t91n6glnt4teju0@group.calendar.google.com';%0A%0A  $.ajax(%7B%0A    type: 'GET',%0A    url: encodeURI('https://www.googleapis.com/calendar/v3/calendars/' + calendarId + '/events?key=' + apiKey),%0A    dataType: 'json',%0A    success: function (res) %7B%0A      console.log(res);%0A      //do whatever you want with each%0A    %7D,%0A    error: function (res) %7B%0A      console.log(res);%0A      //tell that an error has occurred%0A    %7D%0A  %7D);%0A  /*%0A    # Test google calendar api%0A    :apiKey = AIzaSyDZ4PygSkkKST37XP7haH-5JWXPDS3xhvk%0A    #:apiKey = AIzaSyCR3-ptjHE-_douJsn8o20oRwkxt-zHStY%0A    :calendarId = aaronclamp.com_b7fo0kt1qs4t91n6glnt4teju0@group.calendar.google.com%0A    #:calendarId = milan.kacurak@gmail.com%0A%0A    # GET myself%0A    GET https://www.googleapis.com/calendar/v3/calendars/:calendarId/events?key=:apiKey%0A%0A    #httprc=aaronclamp.com_b7fo0kt1qs4t91n6glnt4teju0@group.calendar.google.com%0A%0A    # https://www.googleapis.com/calendar/v3/calendars/httprc=aaronclamp.com_b7fo0kt1qs4t91n6glnt4teju0@group.calendar.google.com/events?key=AIzaSyDZ4PygSkkKST37XP7haH-5JWXPDS3xhvk%0A    # https://www.googleapis.com/calendar/v3/calendars/milan.kacurak@gmail.com/events?key=AIzaSyCR3-ptjHE-_douJsn8o20oRwkxt-zHStY%0A  */%0A%7D;%0A%0A
 $(docume

add google calendar test