-
的 de5 de indicates possession, like adding 's to a noun
-
我 wo3 wǒ I; me
-
你 ni3 nǐ you (singular)
-
是 shi4 shì be; is; are; am
-
了 le5 le indicates a completed or finished action
-
不 bu4 bù no; not
-
在 zai4 zài at; on; in; indicates an action in progress
-
他 ta1 tā he; him
-
我們 wo3men5 wǒmen we; us
-
好 hao3 hǎo good
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
Some ideas include: | |
* Search plugins: Focus re-used a lot of Fennec code here and this code + search plugins is something that is annoying to keep | |
updated and bug free over multiple code bases. | |
* Autocomplete domains: We want to update the list and it is duplicated over all our code bases. Including the code to load | |
and autocomplete from those lists. | |
* InlineAutocompleteEditText: Focus copied and modified the version from Fennec. When we started working on Focus I couldn't |
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
alias hgclean='hg status | grep '\''^\?'\'' | sed '\''s/^\? //'\'' | xargs rm -rf' |
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
// In this scribble the experiments (A/B) library is called "Fretboard" | |
// Experiments.* are not part of the library but constants in the actual app project | |
/////////////////////////////////////////////////////////////////////////// | |
// Simple API (Java style): | |
/////////////////////////////////////////////////////////////////////////// | |
if (Fretboard.isInEperiment(Experiments.BOOKMARKS)) { | |
// do something |
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
# Linux: | |
adb shell screencap -p | sed 's/\r$//' > screen.png | |
# OS X: | |
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen.png |
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
# See all local images | |
docker images | |
# Start bash in image | |
docker run -it <image> /bin/bash | |
# Show all containers | |
docker ps -a | |
# Join container |
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
############################################################## | |
# Build Firefox for Android ################################## | |
############################################################## | |
ac_add_options --enable-application=mobile/android | |
mk_add_options MOZ_OBJDIR=./objdir-frontend | |
# Artifact builds (Fox yeah!) | |
ac_add_options --enable-artifact-builds |
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
(function() { | |
let open = total = done = 0; | |
let collection = document.getElementsByClassName('task-progress-counts'); | |
for (let i = 0; i < collection.length; i++) { | |
let counts = collection[i].innerHTML.split(" of ").map((x) => parseInt(x)); | |
total += counts[1]; done += counts[0]; open += counts[1] - counts[0]; | |
} | |
alert("Total: " + total + "\nOpen: " + open + "\nDone: " + done); | |
})(); |
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
############################################################## | |
# Build Firefox for Android ################################## | |
############################################################## | |
ac_add_options --enable-application=mobile/android | |
mk_add_options MOZ_OBJDIR=./objdir-frontend | |
# Artifact builds (Fox yeah!) | |
ac_add_options --enable-artifact-builds |