Skip to content

Instantly share code, notes, and snippets.

View CodeLenny's full-sized avatar

CodeLenny CodeLenny

  • Massachusetts
View GitHub Profile
@CodeLenny
CodeLenny / index.html
Created August 8, 2017 14:47 — forked from anonymous/index.html
Mocha Testing via PolyGit Browser testing with Mocha and Chai loaded through PolyGit // source https://jsbin.com/felaqoq
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="Browser testing with Mocha and Chai loaded through PolyGit">
<title>Mocha Testing via PolyGit</title>
</head>
<body>
<script src="https://polygit2.appspot.com/components/webcomponentsjs/webcomponents-lite.js"></script>
@CodeLenny
CodeLenny / README.md
Last active January 3, 2016 17:48 — 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/