This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf8 -*- | |
| import json | |
| import urllib2 | |
| import urllib | |
| import sys | |
| import os | |
| from argparse import ArgumentParser | |
| from collections import defaultdict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @desc autoload Google+ community profiles | |
| * run it in the console after injecting jquery: https://gist.github.com/4141199 | |
| * @author Misha M.-Kupriyanov https://plus.google.com/104512463398531242371/ | |
| * @require jQuery | |
| * @link https://gist.github.com/printminion/9156903 | |
| */ | |
| var lastCount = getProfilesCount(); | |
| var currentCount = 0; | |
| var bLoading = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Convert any YouTube video into an audio file you can listen to on the go, using: | |
| # http://rg3.github.com/youtube-dl/ | |
| { ~ } > brew install ffmpeg | |
| { ~ } > wget https://raw.github.com/rg3/youtube-dl/2012.02.27/youtube-dl | |
| { ~ } > chmod u+x youtube-dl | |
| # Pick which video format you want to download.. (use any YT video link) | |
| { ~ } > ./youtube-dl -s -F http://www.youtube.com/watch?v=vT1KmTQ-1Os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * ATTENTION: | |
| * | |
| * This layout is now maintained in the `iosched' code.google.com project: | |
| * | |
| * http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/ui/widget/DashboardLayout.java | |
| * | |
| */ | |
| /* |