Skip to content

Instantly share code, notes, and snippets.

View knmurphy's full-sized avatar
🏴

Kevin N. Murphy knmurphy

🏴
View GitHub Profile
@knmurphy
knmurphy / 0_reuse_code.js
Created February 5, 2016 00:04
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@knmurphy
knmurphy / 1_README.md
Created September 23, 2015 21:59 — forked from Daniel15/1_README.md
Complete Google Drive File Picker example

Google Drive File Picker Example

This is an example of how to use the Google Drive file picker and Google Drive API to retrieve files from Google Drive using pure JavaScript. At the time of writing (14th July 2013), Google have good examples for using these two APIs separately, but no documentation on using them together.

Note that this is just sample code, designed to be concise to demonstrate the API. In a production environment, you should include more error handling.

See a demo at http://stuff.dan.cx/js/filepicker/google/