- installs Plexamp version 4.12.4 and prepares systemd service (to auto-start Plexamp at power up)
- installs node 20 using nvm for version management
- NEW option to setup --user service (for desktop + pulseaudio/pipewire)
- NEW option to uninstall
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
| @import url("https://fonts.rcvd.io/iA Writer/stylesheet.css"); | |
| :root { | |
| --highlight-color: #ffdb8a; | |
| } | |
| a.tag[data-ref="important"] { | |
| border: 1px solid currentColor; | |
| background-color: var(--ct-block-reference-background); | |
| padding: 0 4px; |
| let country = "de"; // replace with 'at' for shops in Austria | |
| let storeId = 251; | |
| let param = args.widgetParameter; | |
| if (param != null && param.length > 0) { | |
| if (param.indexOf(";") > 0) { | |
| const paramSplit = param.split(";"); | |
| storeId = paramSplit[0]; | |
| country = paramSplit[1].toLowerCase(); | |
| } else { | |
| storeId = param; |
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: deep-gray; icon-glyph: magic; | |
| // Licence: GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007 | |
| // Author: Marcus Raitner (https://fuehrung-erfahren.de) | |
| // Source: https://github.com/marcusraitner/COVID-19-Dashboard | |
| // ## Changelog | |
| // * 1.0.1: Correction of layout of label for covid-beds | |
| // * 1.0.2: Bug-Fix for Saar-Pfalz-Kreis (using GEN instead of county for join) | |
| // * 1.0.3: Bug-Fix for Landsberg a. Lech (now using both GEN and county) |
| // Version 1.3.0 | |
| // 27.11.2021 | |
| // | |
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: red; icon-glyph: notes-medical; | |
| // Mit Caching und Fallback | |
| const cacheMinutes = 60; // 60 min | |
| const today = new Date(); | |
| const neededTotalVaccinations = 83200000; |
Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.
If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.
With custom commands, you are one shortcut away to run commands thanks to the Quick Launch (Ctrl+P, ⌘+P).
Custom commands can be configured in File > Preferences > Custom commands, or by editing the json file custom-commands.json located in AppData/Local/Fork on Windows and ~/Library/Application Support/com.DanPristupov.Fork/custom-commands.json on MacOS.
Please share your own custom commands :)
Fork commands are posted as comments on this gist. Press CTRL+F to search for commands.
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <array> | |
| <dict> | |
| <key>ApplicationIdentifier</key> | |
| <string>ro.sync.exml.DiffDirs</string> | |
| <key>ApplicationName</key> | |
| <string>Diff Directories</string> |
| // This is now its own package @ https://github.com/rodebert/epubtype-to-aria | |
| // Please check Rodebert’s repo for a better and more up-to-date version | |
| "use strict"; | |
| // Get all the elements with epub:type | |
| // Since querySelectorAll can’t be used with XHTML attributes, | |
| // we create an array in which we’ll push elements with an epub:type attribute | |
| var epubTypes = []; |