Skip to content

Instantly share code, notes, and snippets.

@marco79cgn
marco79cgn / dm-toilet-paper.js
Last active Jul 13, 2021
iOS Widget, das die Anzahl an Klopapier Packungen in deiner nächsten dm Drogerie anzeigt (für die scriptable.app)
View dm-toilet-paper.js
// dm Klopapier Widget
//
// Copyright (C) 2020 by marco79 <marco79cgn@gmail.com>
//
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
// IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
@aleksandrs-ledovskis
aleksandrs-ledovskis / README.md
Last active Jul 23, 2021
Lock Spotify version (macOS)
View README.md
  1. Create new Automator application with Run Shell script action (exact steps below).

    1. Open Automator.app (e.g. from Spotlight)
    2. Select File → New in menu
    3. Select "Application", click "Choose"
    4. With "Actions" toggle selected, type "Run Shell Script" in filter box, double click on filtered item
  2. Put contents from lock_spotify_version.sh into script's body (exact steps below).

    1. In opened right-hand item select /bin/sh as "Shell" type and copy contents of Gist's "lock_spotify_version.sh" below/in text area
@teomaragakis
teomaragakis / spotihosts
Last active Jul 23, 2021
The hosts file entries to block Spotify audio ad servers.
View spotihosts
127.0.0.1 media-match.com
127.0.0.1 adclick.g.doublecklick.net
127.0.0.1 www.googleadservices.com
127.0.0.1 open.spotify.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 desktop.spotify.com
127.0.0.1 googleads.g.doubleclick.net
127.0.0.1 pubads.g.doubleclick.net
127.0.0.1 audio2.spotify.com
127.0.0.1 www.omaze.com