I hereby claim:
- I am leibovic on github.
- I am margaret (https://keybase.io/margaret) on keybase.
- I have a public key whose fingerprint is AFCD 3560 F696 9368 411A 107C D104 171F 7615 3348
To claim this, I am signing this object:
echo -n `cat file.png` | base64 > output.txt | |
openssl base64 < file.png | tr -d '\n' > output.txt | |
cat file.png | openssl base64 | tr -d '\n' > output.txt | |
openssl base64 -in file.png -out output.txt |
/* | |
* This is a JavaScript Scratchpad. | |
* | |
* Enter some JavaScript, then Right Click or choose from the Execute Menu: | |
* 1. Run to evaluate the selected text (Cmd-R), | |
* 2. Inspect to bring up an Object Inspector on the result (Cmd-I), or, | |
* 3. Display to insert the result in a comment after the selection. (Cmd-L) | |
*/ | |
function addFakeLogins(window) { |
let fileName = "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi"; | |
// Copy new add-on file from sdcard to profile extensions directory | |
let newFile = Cc['@mozilla.org/file/local;1'].createInstance(Ci.nsILocalFile); | |
newFile.initWithPath("/sdcard/" + fileName); | |
let extDir = FileUtils.getFile("ProfD", ["extensions"]); | |
newFile.copyTo(extDir, fileName); | |
console.log("moved file from sdcard to extensions directory"); |
# HG changeset patch | |
# User Nick Alexander <[email protected]> | |
# Date 1431118818 25200 | |
# Fri May 08 14:00:18 2015 -0700 | |
# Node ID 5645e1d9cbf3f76429dba78e25d8121327cbbb2a | |
# Parent 0406efcbb88be90a7e2163087f82dc89921b9b48 | |
No bug - Add leakcanary to base Gradle project. | |
diff --git a/mobile/android/base/GeckoApplication.java b/mobile/android/base/GeckoApplication.java | |
--- a/mobile/android/base/GeckoApplication.java |
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ | |
/* vim: set ts=2 et sw=2 tw=80 filetype=javascript: */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
"use strict"; | |
/** | |
* This module implements a subset of "Task.js" <http://taskjs.org/>. |
#!/bin/bash | |
# pngcrushes any changed files in the top-most patch | |
files=`hg status -n --rev .^` | |
for f in $files | |
do | |
echo $f | |
pngcrush $f $f.new | |
mv $f.new $f |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>Countdown</title> | |
<h1 id="clock">00:00:00</h1> | |
<div> | |
<button class="plus" value="10">+10</button> | |
<button class="plus" value="5">+5</button> | |
<button class="plus" value="1">+1</button> |
"use strict"; | |
var FeedHelper = { | |
parseFeed: function(feedUrl, onFinish, onError) { | |
let listener = { | |
handleResult: function handleResult(feedResult) { | |
let feedDoc = feedResult.doc; | |
let parsedFeed = feedDoc.QueryInterface(Ci.nsIFeed); | |
onFinish(parsedFeed); | |
} |
I hereby claim:
To claim this, I am signing this object:
SRCDIR=mozilla-central | |
MOZCONFIG=$(SRCDIR)/.mozconfig-droid | |
OBJDIR=$(SRCDIR)/obj-android | |
MAKE=make -s -j8 | |
embedding: | |
$(MAKE) -C $(OBJDIR)/embedding | |
mobile: | |
$(MAKE) -C $(OBJDIR)/mobile/android |