Skip to content

Instantly share code, notes, and snippets.

View luisdoubrava's full-sized avatar

Luis Doubrava luisdoubrava

  • Creative Group
  • Nijmegen
View GitHub Profile
// Enable USB Debugging
// $ adb devices
// $ adb shell
pm uninstall -k --user 0 com.google.android.googlequicksearchbox // Google search bar and activity (this also removes google voice and "ok google" functionality)
pm uninstall -k --user 0 com.xiaomi.mipicks // Xiaomi picks
pm uninstall -k --user 0 com.android.browser // Xiaomi browser
pm uninstall -k --user 0 com.android.chrome // Google chrome
pm uninstall -k --user 0 com.google.android.apps.tachyon // Google Duo
pm uninstall -k --user 0 com.miui.bugreport // MIUI bug report
@luisdoubrava
luisdoubrava / attach-select2.js.coffee
Created January 14, 2016 10:01 — forked from argent-smith/attach-select2.js.coffee
a hack attaching select2 to best_in_place
# connecting select2 to the appropriate hooks:
#
# hard case: best_in_place's select
$ ->
# first, find the mount point
$('body').on 'best_in_place:activate', '.best_in_place', ->
# second, attach empty update() to `this` to screen the downstream calls
# which otherwise will cause an error