Skip to content

Instantly share code, notes, and snippets.

Robert Laverty roblav96

Block or report user

Report or block roblav96

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 lineage-17.0-20191229.log
am_proc_died (1595 2166) I [0,30889,com.android.chrome:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:1,0,11]
am_uid_stopped (1595 2166) I 90001
am_compact (1595 1863) I ┌ [30889,com.android.chrome:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:1,all,59932,35060,24480,5824,-59932,-35060,-24480,
am_compact (1595 1863) I └ -5824,90,1,15303681,100,4,1449944,60]
ResolverController (820 31146) E No valid NAT64 prefix (101, <unspecified>/0)
ServiceManagement (878 942) W Waited one second for vendor.display.config@1.3::IDisplayConfig/default
ServiceManagement (878 942) I getService: Trying again for vendor.display.config@1.3::IDisplayConfig/default...
init (1 1) I Received control message 'interface_start' for 'vendor.display.config@1.3:
@roblav96
roblav96 / sony-x900f-pm-list-packages.sh
Last active Jan 17, 2020
Sony X900F Android TV App Package Management
View sony-x900f-pm-list-packages.sh
#!/usr/bin/env bash
# Android Package Manager
# https://developer.android.com/studio/command-line/adb#pm
echo; echo Disabled
echo "$(adb shell pm list packages -f -d)" | sort --ignore-case | sed --unbuffered --regexp-extended 's/^package://'
echo; echo Uninstalled
echo "$(adb shell pm list packages -f -u)" | sort --ignore-case | sed --unbuffered --regexp-extended 's/^package://'
echo; echo Enabled
View .prettierrc
{
"arrowParens": "avoid",
"bracketSpacing": true,
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "ignore",
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"proseWrap": "never",
"quoteProps": "consistent",
View wide-github-refined.css
.application-main .container {
width: auto !important;
padding-left: 32px !important;
padding-right: 32px !important;
margin-left: 0px !important;
min-width: 980px;
}
.application-main .container-lg,
.footer.container-lg {
max-width: none !important;
View gist:9f361bac161e90546d15007f43a0ef20
ack 2.28
adns 1.5.1
ant 1.10.5
antibody 4.1.2
apktool 2.4.0
asciidoc 8.6.10_2
autoconf 2.69
autoconf-archive 2019.01.06
automake 1.16.1_1
awscli 1.16.170
View Shadowsocks crash logcat on Shield TV v4.8.0.log
libc F Fatal signal 6 (SIGABRT), code -6 in tid 32328 (libtun2socks.so)
DEBUG F *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F Build fingerprint: 'NVIDIA/darcy/darcy:8.0.0/OPR6.170623.010/3507953_1441.7411:user/release-keys'
F Revision: '0'
F ABI: 'arm64'
F pid: 32328, tid: 32328, name: libtun2socks.so >>> /data/app/com.github.shadowsocks.tv-wsCQ8H-Q-VDqaAzIE6Uxxw==/lib/arm64/libtun2socks.so <<<
F signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
F x0 0000000000000000 x1 0000000000007e48 x2 0000000000000006 x3 0000000000000008
F x4 000000000000000a x5 000000000000000a x6 000000000000000a x7 000000000000000a
F x8 0000000000000083 x9 63c61d7f4b682dfa x10 0000000000000000 x11 0000000000000001
@roblav96
roblav96 / PlayerActivity.java
Created May 21, 2019
git diff for ExoPlayer demo changes on Shield TV
View PlayerActivity.java
@@ -24,9 +24,12 @@ import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Pair;
+import android.view.Display;
import android.view.KeyEvent;
-import android.view.View;
import android.view.View.OnClickListener;
+import android.view.View;
+import android.view.Window;
@roblav96
roblav96 / @\adapters\redis.ts
Created May 14, 2019
Simple redis adapter for node.js written in TypeScript with pinging and all that jazz...
View @\adapters\redis.ts
import * as _ from 'lodash'
import * as IORedis from 'ioredis'
import * as pkgup from 'read-pkg-up'
import * as schedule from 'node-schedule'
export namespace Redis {
export type Coms = string[][]
export interface Event<T = any> {
data: T
name: string
View Enabling Play Store
adb shell su -c pm enable --user 0 com.android.inputmethod.latin
adb shell su -c pm enable --user 0 com.android.vending
adb shell su -c pm enable --user 0 com.google.android.ext.services
adb shell su -c pm enable --user 0 com.google.android.feedback
adb shell su -c pm enable --user 0 com.google.android.gms
adb shell su -c pm enable --user 0 com.google.android.gsf
adb shell su -c pm enable --user 0 com.google.android.katniss
adb shell su -c pm enable --user 0 com.google.android.sss
adb shell su -c pm enable --user 0 com.google.android.tv.bugreportsender
You can’t perform that action at this time.