Skip to content

Instantly share code, notes, and snippets.

(function (window) {
"use strict";
var audio, hangout_band, sounds;
sounds = {
// define various parameters for each note that can be played
};
function WebAudio() {
// all web audio API stuff handled here
@mauimauer
mauimauer / gist:2361664
Created April 11, 2012 19:24
GExtender CSS Rules
.lzqA1d { padding-right:400px!important; }
div.ncGWdc { width:100%!important; margin-right:-340px!important; }
.L9ru2b { width:266px!important; } div.hm6vRc { margin-right:100px!important; }
div.KSB3fe > div:not(.mbKrWe) { padding-right:380px!important; }
div.hsHREd { left:auto!important; right:20px!important; }
@printminion
printminion / googleplus_to_spreadsheet.js
Last active September 8, 2022 00:35
App Script for fetching Google+ Profile data into the Google Docs spreadsheet
/**
* @desc This is an App Script for fetching Google+ Profile data (e.g. name and profile image) to
* the Google Docs spreadsheet
* @author Misha M.-Kupriyanov https://plus.google.com/104512463398531242371/
* @link https://gist.github.com/1919613
*
* 1) Get your Google+ API KEY and paste it instead of %YOUR_API_KEY%
* https://developers.google.com/+/api/oauth#apikey
* https://code.google.com/apis/console#access
* 2) Create and name your spreadsheet "profiles"
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';