Skip to content

Instantly share code, notes, and snippets.

@fichtennadel
fichtennadel / BinnenI.user.js
Last active November 11, 2024 19:59
Binnen-I be gone
// ==UserScript==
// @name Binnen-I be gone
// @namespace https://gist.github.com/fichtennadel/2fd33e35a34fcdd9ada68bb7133048c4
// @description Removes BinnenI
// @version 2.1
// @license CC by Attribution-Noncommercial-No Derivative Works 3.0 Unported (http://creativecommons.org/licenses/by-nc-nd/3.0/)
// @include *://d*standard.at/*
// @include *://*.d*standard.at/*
// ==/UserScript==
@patrickwelker
patrickwelker / listurlschemes.sh
Last active October 28, 2016 23:30
Shell script to list all URL schemes from the apps installed on your Mac.
#!/bin/sh
find /Applications /System/Library/CoreServices -not \( -name '*.lproj' -prune \) -name '*.app' | while IFS= read app; do apps="${app//\//\\/}"; plutil -convert xml1 -o - "$app"/Contents/Info.plist | sed -nEe '/<key>CFBundleURLSchemes<\/key>/,/<\/array>/ s/^.*<string>(.+)<\/string>/ \1:'" $apps/p"; done | sort