Forked from Captain Anonymous's Pen eNMxgN.
A Pen by Ian Gilman on CodePen.
import android.content.BroadcastReceiver; | |
import android.content.Intent; | |
import android.content.IntentFilter; | |
import android.content.SharedPreferences; | |
import android.graphics.Canvas; | |
import android.graphics.Point; | |
import android.preference.PreferenceManager; | |
import android.service.wallpaper.WallpaperService; | |
import android.content.Context; | |
import android.support.v4.content.LocalBroadcastManager; |
Forked from Captain Anonymous's Pen eNMxgN.
A Pen by Ian Gilman on CodePen.
diff --git a/test/data/iiif1_0.json b/test/data/iiif1_0.json | |
index 9cfe9e5..2c55544 100644 | |
--- a/test/data/iiif1_0.json | |
+++ b/test/data/iiif1_0.json | |
@@ -1,5 +1,5 @@ | |
{ | |
- "identifier": "pudl0071/4055459/01/00000030", | |
+ "identifier": "pudl0001/4609321/s42/00000001", | |
"width": 2584, | |
"height": 3600, |
Auto Operator:
/msg ChanServe FLAGS #channel nickname +O
// Modified from http://mattsnider.com/cross-browser-and-legacy-supported-requestframeanimation/ | |
// LICENSE: MIT: http://mattsnider.com/projects/license/ | |
(function(w) { | |
"use strict"; | |
// most browsers have an implementation | |
w.requestAnimationFrame = w.requestAnimationFrame || | |
w.mozRequestAnimationFrame || w.webkitRequestAnimationFrame || | |
w.msRequestAnimationFrame; | |
w.cancelAnimationFrame = w.cancelAnimationFrame || |
// from http://ianloic.com/2011/09/07/simply-logging-javascript-calls/ | |
function logCall() { | |
console.log(logCall.caller.name + '(' + | |
Array.prototype.slice.call(logCall.caller.arguments) | |
.map(JSON.stringify).join(', ') + | |
')'); | |
} |
To get set up, see: http://help.github.com/fork-a-repo/
Each time you want to get the latest from upstream, use:
$ git fetch upstream
/* Run this from your error console. WARNING: removes tabs from their existing groups! */ | |
var Cc = Components.classes; | |
var Ci = Components.interfaces; | |
var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator); | |
var winEnum = wm.getEnumerator("navigator:browser"); | |
while (winEnum.hasMoreElements()) { | |
var win = winEnum.getNext(); | |
win.TabView._initFrame(function() { | |
var contentWindow = win.TabView._window; | |
contentWindow.UI.reset(); |