Skip to content

Instantly share code, notes, and snippets.

View roblav96's full-sized avatar

Robert Laverty roblav96

View GitHub Profile
.application-main .container-xl {
max-width: none !important;
}
.application-main .container-lg {
max-width: none !important;
margin-left: 0px !important;
}
/* New github repository react divs (2023) */
.react-repos-overview-margin {
@roblav96
roblav96 / nvidia-shield-tv-2019-pm-list-packages.md
Last active November 11, 2023 05:24
Nvidia Shield TV 2019 - Bloatware Removal Guide using Package Manager (adb shell pm)

🟢 System Enabled Packages

android
android.autoinstalls.config.nvidia
com.amazon.amazonvideo.livingroom.nvidia
com.android.backupconfirm
com.android.bluetooth
com.android.bluetoothmidiservice
com.android.captiveportallogin
@roblav96
roblav96 / flash-all.sh
Last active October 21, 2023 15:00
Skip reboot while flashing Android Factory Images to dual slot Google Pixel devices
#!/bin/sh
echo "🌕 Flashing -> SLOT B"
fastboot --set-active=b
sleep 1
fastboot reboot-bootloader
sleep 10
fastboot flash bootloader bootloader-*.img
fastboot reboot-bootloader
sleep 10
@roblav96
roblav96 / unifi_firmware_upgrade_uap-nanohd_ssh.md
Last active June 21, 2023 18:46
Ubiquiti UniFi firmware upgrade for UAP-nanoHD via ssh
#!/usr/bin/env just --justfile
# https://github.com/casey/just
set shell := ["bash", "-uc"]
_default :
@just --dump
@roblav96
roblav96 / nvidia-shield-tv-2017-packages.md
Last active April 22, 2022 22:14
Nvidia Shield TV 2017 - adb shell pm list packages

🟢 System Enabled Packages

android
android.autoinstalls.config.nvidia
com.amazon.amazonvideo.livingroom
com.amazon.amazonvideo.livingroom.nvidia
com.android.backupconfirm
com.android.bluetooth
com.android.bluetoothmidiservice
@roblav96
roblav96 / PocketCasts.window.js
Created April 7, 2021 14:53
PocketCasts kiosk style window.open
window.open('https://play.pocketcasts.com/new-releases', 'PocketCasts', 'width=0,height=0')
@roblav96
roblav96 / sony-x900f-pm-list-packages.sh
Last active March 26, 2021 11:34
Sony X900F Android TV App Package Management
#!/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
// Type some code ->
console.log("oO08 iIlL1 g9qCGQ ~-+=>");
@real fox.quick(h){ *is_brown && it_jumps_over(dogs.lazy) }
0123456789 ABC.DEF.GHI.JKL.MNO.PQRS.TUV.WXYZ ß <= ¶^$#% >=
export function longestCommonSeq(wordX: string, wordY: string) {
const m = wordX.length
const n = wordY.length
const l: Array<Array<number>> = []
@roblav96
roblav96 / com.github.pedroSG94.rtmp-rtsp-stream-client-java_rtplibrary.d.ts
Created October 13, 2020 06:11
testCompileOnly 'com.github.pedroSG94.rtmp-rtsp-stream-client-java:rtplibrary:+'
declare module com {
export module github {
export module faucamp {
export module simplertmp {
export class Crypto extends java.lang.Object {
public static class: java.lang.Class<com.github.faucamp.simplertmp.Crypto>;
public calculateHmacSHA256(input: native.Array<number>, key: native.Array<number>): native.Array<number>;
public constructor();
public calculateHmacSHA256(input: native.Array<number>, key: native.Array<number>, length: number): native.Array<number>;
}