Skip to content

Instantly share code, notes, and snippets.

View printminion's full-sized avatar
💭
Time flies like an arrow; fruit flies like a 🍌

@printminion printminion

💭
Time flies like an arrow; fruit flies like a 🍌
View GitHub Profile
@printminion
printminion / BootCamp.java
Created October 15, 2010 12:04
fun code for BootCam 2010 in Munich
package org.gtug.bootcamp;
import org.gtug.*;
import org.gtug.gtuglers.*;
import org.gtug.exceptions.FunOverloadException;
import com.google.developerday.GDD;
public class BootCamp extends GTUGEvent {
public static void main(String[] args) throws FunOverloadException {
@printminion
printminion / photo_monkey.py
Created February 10, 2012 20:18
Android Monkeyrunner - photo_monkey.py
# This is a monkeyrunner jython script that opens a connection to an Android
# device and starts camera app and makes photos by touching the camerabutton.
#
# See http://developer.android.com/guide/developing/tools/monkeyrunner_concepts.html
#
# usage: monkeyrunner photo_monkey.py
#
# Imports the monkeyrunner modules used by this program
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
@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"
@printminion
printminion / parseGData.php
Last active November 16, 2020 08:14
Parse Google Drive spreadsheet data via php
<?php
/**
* @desc Parse Google Drive spreadsheet data via php
* @author Misha M.-Kupriyanov https://plus.google.com/104512463398531242371/
* @link https://gist.github.com/3898429
*/
//Spreadsheet https://docs.google.com/spreadsheet/pub?key=0Akgh73WhU1qHdFg4UmRhaThfUFNBaFR3N3BMVW9uZmc&output=html
//JSON Representation
@printminion
printminion / parseGData.py
Last active February 26, 2020 13:18
Parse Google Drive spreadsheet data via python
'''
@desc Parse Google Drive spreadsheet data via python
@author Misha M.-Kupriyanov https://plus.google.com/104512463398531242371/
@link https://gist.github.com/3969255
'''
# Spreadsheet https://docs.google.com/spreadsheet/pub?key=0Akgh73WhU1qHdFg4UmRhaThfUFNBaFR3N3BMVW9uZmc&output=html
import logging
import urllib2
@printminion
printminion / injectJQuery.js
Last active June 2, 2022 15:08
Inject jQuery via console to the site
/**
* @desc Inject jQuery via console to the site (I found this snippet)
* @author Misha M.-Kupriyanov https://plus.google.com/104512463398531242371/
* @link https://gist.github.com/4141199
*/
Scripts = new function() {
this.adapters = new Array()
};
Scripts.injectScript = function(src, callback) {
@printminion
printminion / parseSnapbirdTweets.js
Last active December 10, 2015 08:48
parse Snapbird Tweets
/**
* @desc parse Snapbird Tweets
* 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/4409656
*/
var $content = null;
var $published = null;
var $url = null;
@printminion
printminion / autoloadSnapbirdTweets.js
Created December 30, 2012 01:27
autoload Snapbird Tweets
/**
* @desc autoload Snapbird Tweets
* 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/4410413
*/
var lastCount = getTweetsCount();
var currentCount = 0;
var bLoading = false;
@printminion
printminion / GooglePlusParser.js
Last active December 10, 2015 22:38
Google Plus Profile parser written in Google Apps Script
/**
* Script for parsing Google+ Profile Data
* @author Misha M.-Kupriyanov <m.kupriyanov@gmail.com>
* @license
*/
/**
* Test run method
*/
function fetchTest() {
@printminion
printminion / UnicodeTest
Last active December 11, 2015 06:59
UnicodeTest. Test your XMPP Client
do you see this ?-> 🐵 🐱 😂 <-?
More see here http://www.alanwood.net/unicode/miscellaneous-symbols-and-pictographs.html