Skip to content

Instantly share code, notes, and snippets.

View gabriel-r's full-sized avatar
🎯
Focusing

Gabriel R. gabriel-r

🎯
Focusing
View GitHub Profile
@varun-raj
varun-raj / pullJSON.js
Last active October 31, 2022 16:19
Google App Script To Fetch Data From JSON Webservice and Write them to google spreadsheet.
function pullJSON() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheets = ss.getSheets();
var sheet = ss.getActiveSheet();
var url="http://example.com/feeds?type=json"; // Paste your JSON URL here
var response = UrlFetchApp.fetch(url); // get feed
var dataAll = JSON.parse(response.getContentText()); //
@rotten77
rotten77 / google-keep-bookmarklet.js
Created May 3, 2013 06:57
Google Keep Bookmarklet
javascript:void(function(){var w = 430; var h = 600; var t = (screen.height ? (screen.height - h) / 4 : 0); var l = (screen.width ? (screen.width - w) / 2 : 0); var win = window.open('https://drive.google.com/keep/','google-keep','width='+w+',height='+h+',top='+t+',left='+l+',location=no,personalbar=no,menubar=no,status=no,resizable=yes,scrollbars=yes');})();
@chrisvogt
chrisvogt / pae-schedule-sso.php
Last active December 12, 2015 08:49
Interact with PAE SSO API and frame the scheduling system.
<?php
/**
* Request SSO token from Pan Am Education.
*
* https://panameducation.com/app/sso/token?api_login=__API-LOGIN__&api_password=__API-PASSWORD__&email=__STUDENT-EMAIL__
*/
## Set the query string values
$values = array(
'api_login' => $pae['api_login'],