Skip to content

Instantly share code, notes, and snippets.

View MarcosCobena's full-sized avatar

Marcos Cobeña Morián MarcosCobena

View GitHub Profile
@pulimento
pulimento / pwsh-color-logcat.ps1
Last active March 23, 2022 16:07
Colorize PowerShell's adb output
# Change execution policy: Set-ExecutionPolicy -Scope Process Unrestricted
# Run this script, and then 'adb logcat | color-logcat'
Function global:color-logcat {
Process {
if ($_) {
$color = "White"
$fgcolor = "Black"
if($_ -match [regex]"\s[V]\s") {