Skip to content

Instantly share code, notes, and snippets.

@willangley
willangley / tailscale-keep
Last active March 5, 2024 18:16
tailscale config for OpenWRT
/etc/init.d/tailscale
/etc/rc.d/*tailscale
/etc/tailscale/
/lib/upgrade/keep.d/tailscale
/usr/sbin/tailscale
/usr/sbin/tailscaled
#!/bin/zsh
# Copyright 2020 Google LLC.
# SPDX-License-Identifier: Apache-2.0
# For use as a step in an Automator action.
# Expects input to be passed as arguments.
export PATH=/usr/local/bin:$PATH
for pdf in "$@"; do
@willangley
willangley / gtk.css
Last active May 2, 2020 15:18
Disable Ctrl-/ Chrome shortcut on Linux
/* Copyright 2020 Google LLC.
* SPDX-License-Identifier: Apache-2.0
*
* Asana wants to use Ctrl-/ (control-slash) to activate most of its
* keyboard shortcuts. Unfortunately, this conflicts with a default that
* is part of GTK, an alias for select all (Ctrl-a). This is how to
* unset the Ctrl-/ keyboard shortcut for all GTK apps, which crucially
* includes Chrome on Linux.
*/
@willangley
willangley / find_package_files.bash
Created April 24, 2020 13:40
find_package_files.bash: Shows files installed by package PKGID that are currently present on the system.
#!/bin/bash
# Copyright 2020 Google LLC.
# SPDX-License-Identifier: Apache-2.0
function usage {
cat <<EOF
Usage:
$(basename $0) PKGID