Skip to content

Instantly share code, notes, and snippets.

@StyxOfDynamite
StyxOfDynamite / 1_README.md
Created November 16, 2017 10:10 — 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/

@StyxOfDynamite
StyxOfDynamite / ready.js
Created October 16, 2017 19:53 — forked from olemak/ready.js
`JavaScript (ES2015) native "on document ready"
(() => { function fn() {
// "On document ready" commands:
console.log(document.readyState);
};
if (document.readyState != 'loading') {fn()}
else {document.addEventListener('DOMContentLoaded', fn)}
})();

3D "domino tilting" platypus demo

Forked from Dudley Storey and made platypus friendly.

Derived from a technique on CodePlayer but made responsive, with better semantic markup, fewer pseudo-elements, and less CSS. Photograph found on Google Image Search

A Pen by StyxOfDynamite on CodePen.

License.