Skip to content

Instantly share code, notes, and snippets.

View ntavish's full-sized avatar

Tavish Naruka ntavish

View GitHub Profile
#!/bin/bash
SP_DEST="org.mpris.MediaPlayer2.spotify"
SP_PATH="/org/mpris/MediaPlayer2"
SP_MEMB="org.mpris.MediaPlayer2.Player"
LyricsAPI="http://makeitpersonal.co/lyrics/"
SPOTIFY_METADATA="$(dbus-send \
--print-reply `# We need the reply.` \
{
"framework-arduinoadafruitnrf52": [
{
"sha1": "e6339357703449b588c2d1872241ffb2c810955f",
"system": "*",
"url": "http://dl.platformio.org/packages/framework-arduinoadafruitnrf52-1.1001.190508.tar.gz",
"version": "~1.0.0"
}
]
}
@ntavish
ntavish / build-m8c-rg35xx-splush.sh
Created September 8, 2024 15:25 — forked from mnml/build-m8c-rg35xx-splush.sh
Building m8c for RG35XX Plus/H/SP on KNULLI (Scroll down for zip)
#!/bin/bash
#
# build kernel modules
#
wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.170.tar.gz
tar xzf linux-4.9.170.tar.gz
cd linux-4.9.170
wget -O .config https://raw.githubusercontent.com/knulli-cfw/distribution/knulli-main/board/batocera/allwinner/h700/rg35xx-plus/linux-sunxi64-legacy.config