Skip to content

Instantly share code, notes, and snippets.

View derplayer's full-sized avatar
🤔
Status message? What is this, MSN? It's a code sharing service not a hookup site

derplayer

🤔
Status message? What is this, MSN? It's a code sharing service not a hookup site
View GitHub Profile
@derplayer
derplayer / Checking your Raspberry Pi's view of its power supply.md Checking your Raspberry Pi's view of its power supply (sometimes it's not the wall-wart)

Checking your Raspberry Pi's view of its power supply

Sometimes it seems like the first (and sometimes only) advice you get offered for almost any problem with a Raspberry Pi is "check your power supply". You think something like:

"hey, I'm using an official power supply sold as being matched with my Pi so how can there be any problem?"

You look up the specs then stick a controlled load across your supply and confirm that it can deliver the required number of Watts.

Yet your problems persist…

@derplayer
derplayer / install-oscam.sh
Created March 2, 2023 00:30 — forked from jfisbein/install-oscam.sh
install and update oscam on raspbian
#!/bin/bash
set -e
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
function install() {