Skip to content

Instantly share code, notes, and snippets.

View watercrossing's full-sized avatar

Ingolf Becker watercrossing

View GitHub Profile
@watercrossing
watercrossing / kernel.json
Created August 28, 2022 21:49
pipenv aware jupyter kernel spec
{
"argv": [
"pipenv",
"run",
"python",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
@watercrossing
watercrossing / doupdate.sh
Last active September 24, 2022 17:28
Pihole cron update script for custom paths
#!/usr/bin/env bash
# Pihole update script for pihole with custom admin path ready for cron.
if /usr/local/bin/pihole -up --check-only | grep -q 'Everything is up to date!'; then
exit 0;
fi
echo "Current versions"