This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------------------------------------- | |
-- Unsupported Spaces extension. Uses private APIs but works okay. | |
-- (http://github.com/asmagill/hammerspoon_asm.undocumented) | |
spaces = require("hs._asm.undocumented.spaces") | |
-- Get output of a bash command | |
function os.capture(cmd) | |
local f = assert(io.popen(cmd, 'r')) | |
local s = assert(f:read('*a')) | |
f:close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name PTH: Sort/collapse albums | |
// @namespace http://animorc.zapto.org/greasemonkey/scripts | |
// @description Make the titles on artist and collage pages sortable and collapsible. | |
// @updateURL http://userscripts.org/scripts/source/69448.meta.js | |
// @include https://passtheheadphones.me/torrents.php?*id=* | |
// @include https://passtheheadphones.me/artist.php?*id=* | |
// @include https://passtheheadphones.me/collages.php?*id=* | |
// @include https://passtheheadphones.me/user.php?*action=edit* | |
// @include https://ssl.passtheheadphones.me/torrents.php?*id=* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Redacted: Sort/collapse albums | |
// @namespace http://animorc.zapto.org/greasemonkey/scripts | |
// @description Make the titles on artist and collage pages sortable and collapsible. | |
// @updateURL http://userscripts.org/scripts/source/69448.meta.js | |
// @include https://redacted.ch/torrents.php?*id=* | |
// @include https://redacted.ch/artist.php?*id=* | |
// @include https://redacted.ch/collages.php?*id=* | |
// @include https://redacted.ch/user.php?*action=edit* | |
// @include https://ssl.redacted.ch/torrents.php?*id=* |