Skip to content

Instantly share code, notes, and snippets.

View pocmo's full-sized avatar
🚀
Just passing by.

Sebastian Kaspari pocmo

🚀
Just passing by.
View GitHub Profile

Architecture:

Session:

GeckoViewModule D dispatch GeckoView:SetFocused, data={"focused":false}
GeckoViewContent D onEvent: event=GeckoView:SetFocused, data={"focused":false}
EGL_emulation D eglMakeCurrent: 0xefa0c100: ver 3 0
D eglMakeCurrent: 0xefa0c100: ver 3 0
GeckoViewModule D dispatch GeckoView:LoadUri, data={"uri":"about:crashcontent","flags":0}
GeckoViewNavigation D onEvent: event=GeckoView:LoadUri, data={"uri":"about:crashcontent","flags":0}
Web Content I Utils: Failed to deserialize principal_b64 '[xpconnect wrapped (nsISupports, nsIPrincipal, nsISerializable)]' [Exception... "Component retu
rned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsISerializationHelper.deserializeObject]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL
_VALUE)" location: "JS frame :: resource://gre/modules/sessionstore/Utils.jsm :: deserializePrincipal :: line 137" data: no]
IInputConnectionWrapper W r
Caused by: com.android.tools.r8.utils.AbortException
at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:77)
at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:67)
at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:62)
... 10 more
Suppressed: com.android.tools.r8.ApiLevelException: Default interface methods are only supported starting with Android N (--min-api 24): com.google.android.exoplayer2.upstream.DataSource com.google.android.exoplayer2.upstream.HttpDataSource$Factory.createDataSource()
at com.android.tools.r8.dex.FileWriter.checkInterfaceMethod(FileWriter.java:247)
at com.android.tools.r8.dex.FileWriter.checkInterfaceMethods(FileWriter.java:213)
at com.android.tools.r8.dex.FileWriter.generate(FileWriter.java:140)
at com.android.tools.r8.dex.ApplicationWriter.writeDexFile(ApplicationWriter.java:356)
/* 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/. */
package mozilla.components.service.fretboard.storage.flatfile
import android.util.AtomicFile
import mozilla.components.service.fretboard.ExperimentStorage
import mozilla.components.service.fretboard.ExperimentsSnapshot
import java.io.FileNotFoundException
  • service-fretboard: Experiments can now be filtered by release channel. Added helper method to get list of active experiments.
  • service-telemetry: Added option to report active experiments in the core ping.
@pocmo
pocmo / HSK1.md
Last active July 10, 2018 10:24
HSK-1 List - Traditional chinese
  • 的 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
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
alias hgclean='hg status | grep '\''^\?'\'' | sed '\''s/^\? //'\'' | xargs rm -rf'
# See all local images
docker images
# Start bash in image
docker run -it <image> /bin/bash
# Show all containers
docker ps -a
# Join container
@pocmo
pocmo / api-scribble.kt
Last active October 26, 2017 16:14
Experiments - Kotlin - Scribble
// 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