Skip to content

Instantly share code, notes, and snippets.

View ckarlof's full-sized avatar

Chris Karlof ckarlof

  • Mozilla
  • San Francisco
View GitHub Profile
@ckarlof
ckarlof / team_metrics.md
Last active March 10, 2016 19:05
Identity services team metrics

Activity Stream

Throughput Graph

Autopush

Throughput Graph

FxA

Keybase proof

I hereby claim:

  • I am ckarlof on github.
  • I am ckarlof (https://keybase.io/ckarlof) on keybase.
  • I have a public key whose fingerprint is C451 88CF CC63 DE62 1EAF 2FD2 B7E6 9B59 A7B9 9CE5

To claim this, I am signing this object:

<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Firefox Accounts</title>
<meta name="description" content="">
@ckarlof
ckarlof / .mozconfig
Created May 3, 2013 22:40
.mozconfig for building fennec + android sync
# Add the correct paths here:
ac_add_options --with-android-ndk="$HOME/android/android-ndk-r8e"
ac_add_options --with-android-sdk="$HOME/android/sdk/platforms/android-16"
ac_add_options --with-android-version=9
# android options
ac_add_options --enable-application=mobile/android
ac_add_options --target=arm-linux-androideabi
ac_add_options --with-ccache
ac_add_options --disable-crashreporter
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/Chris/android/android-sync/test/src/org/mozilla/gecko/picl/sync/TestPICLTabsGlobalSession.java:[20,39] createAccount(android.content.Context,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String) in org.mozilla.gecko.picl.account.PICLAccountAuthenticator cannot be applied to (android.content.Context,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Android Sync ...................................... SUCCESS [0.067s]
[INFO] Android Sync - App ................................ SUCCESS [10.422s]
🍔 :~/android/android-sync (picl) $ mvn -X clean test
Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: /usr/share/maven
Java version: 1.6.0_45, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.8.3", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
[DEBUG] Reading user settings from /Users/Chris/.m2/settings.xml
@ckarlof
ckarlof / gist:4716521
Created February 5, 2013 18:31
Open a window in private browsing mode from a Firefox add-on. Uses a deprecated interface. CMON, recommend a replacement please! https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIPrivateBrowsingService
const {Cc,Ci} = require("chrome");
var pbs = Cc["@mozilla.org/privatebrowsing;1"].getService(Ci.nsIPrivateBrowsingService);
pbs.privateBrowsingEnabled = true;
var windows = require("sdk/windows").browserWindows;
windows.open("https://www.google.com");