Skip to content

Instantly share code, notes, and snippets.

View dhoepfl's full-sized avatar

Daniel Höpfl dhoepfl

  • Bavaria, Germany
View GitHub Profile
@dhoepfl
dhoepfl / dump_network_settings.sh
Created October 27, 2022 07:38
Dumps the information the networksetup tool provides for all locations.
#! /bin/bash
RESULT_FOLDER="Network Setups"
rm -fr "$RESULT_FOLDER"
function perform()
{
OUT="$1/$2.txt"
CMD="$2"
shift; shift
*PPD-Adobe: "4.3"
*Product: "(Canon CP1300)"
*FormatVersion: "4.3"
*FileVersion: "1.1"
*ShortNickName: "CP1300"
*NickName: "SELPHY CP1300"
*PSVersion: "(3010.000) 0"
*Manufacturer: "Canon"
*ModelName: "Canon SELPHY CP1300"
*PCFileName: "CNCP1300.PPD"
@dhoepfl
dhoepfl / Closing the Gender*Gap on Kwerfeldein
Created January 3, 2018 12:43
Tampermonkey script that removes '*' from kwerfeldein.
// ==UserScript==
// @name Closing the Gender*Gap
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Removes '*' and '_' gender gaps to make the text more readable.
// @author Daniel Höpfl
// @match https://kwerfeldein.de/*
// @grant none
// ==/UserScript==
@dhoepfl
dhoepfl / keybase.md
Created September 18, 2014 06:44
keybase.md

Keybase proof

I hereby claim:

  • I am dhoepfl on github.
  • I am dhoepfl (https://keybase.io/dhoepfl) on keybase.
  • I have a public key whose fingerprint is E56B 0C62 4945 D20B 5E4D AA42 423C 1AB2 DBBC 0902

To claim this, I am signing this object: