Skip to content

Instantly share code, notes, and snippets.

Just passing by.

Sebastian Kaspari pocmo

Just passing by.
Block or report user

Report or block pocmo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View icons.js
function(currentValue, currentIndex, listObj) {
console.log("ICON (" + currentValue.sizes + "): " + currentValue.href)
document.querySelectorAll('link[rel="shortcut icon"]').forEach(
function(currentValue, currentIndex, listObj) {
console.log("SHORTCUT ICON (" + currentValue.sizes + "): " + currentValue.href)
pocmo / SearchSuggestionProvider.kt
Last active Oct 25, 2018
SuggestionProvider implementations
View SearchSuggestionProvider.kt
package mozilla.components.feature.awesomebar.provider
import kotlinx.coroutines.experimental.async
import kotlinx.coroutines.experimental.runBlocking
import mozilla.components.concept.awesomebar.AwesomeBar
View crash-log
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
View geckoview-nightly-build-error
Caused by:
... 10 more
Suppressed: Default interface methods are only supported starting with Android N (--min-api 24):$Factory.createDataSource()
View FlatFileExperimentStorage.kt
/* 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 */
import android.util.AtomicFile
import mozilla.components.service.fretboard.ExperimentStorage
import mozilla.components.service.fretboard.ExperimentsSnapshot
  • 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 /
Last active Jul 10, 2018
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
View Android components
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
View hgclean
alias hgclean='hg status | grep '\''^\?'\'' | sed '\''s/^\? //'\'' | xargs rm -rf'
You can’t perform that action at this time.