Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# ~/.macos — https://mths.be/macos
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
# Ask for the administrator password upfront
sudo -v
https://spyware.neocities.org
// ==UserScript==
// @name Habr editor blocker
// @description Hides articles that were posted by certain authors
// @match https://habr.com/*
// @version 1
// @grant none
// ==/UserScript==
// @namespace http://tampermonkey.net/
// https://habr.com/post/391233/
@homocomputeris
homocomputeris / libao.conf
Last active December 3, 2021 00:19
[Solved] Fix GoldenDict FFmpeg audio Player ao_open_live() failed
# make sure than /etc/libao.conf has these lines and has no
# dev=default
#
# Source: https://github.com/goldendict/goldendict/issues/412
default_driver=pulse
quiet