Updated: 8 March 2023
version: 8.9.9
Ghostery MV2 (Firefox)
This is my personal setup. Your preferences may differ.
| $upper(%_extension%)/ | |
| $set(_aartist,$substr($if2(%albumartist%,%artist%),0,1)) | |
| $if($in(0123456789,%_aartist%),#,$if($not($in(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz,%_aartist%)),#,$upper(%_aartist%))) | |
| /$if2(%albumartist%,%artist%) (%musicbrainz_albumartistid%)/ | |
| %album% (%musicbrainz_albumid%)/ | |
| $if($gt(%totaldiscs%,1),$if($gt(%totaldiscs%,9),$num(%discnumber%,2),%discnumber%)-,)$num(%tracknumber%,2) - %title% | |
| Line by line: | |
| Extension/ | |
| Set variable to first letter of artist. |
| alias dtail='docker logs -tf --tail='50' ' | |
| alias dstop='docker stop `docker ps -aq`' | |
| alias drm='docker rm `docker ps -aq`' | |
| alias dcp='docker-compose -f ~/docker-compose.yml ' | |
| alias dcporph='docker-compose -f ~/docker-compose.yml up -d --remove-orphans' | |
| alias dprune='docker image prune' | |
| alias dprunesys='docker system prune --all' |
/Applications/Utilitiesdefaults write com.apple.appstore ShowDebugMenu -bool true
and hit the Return/⏎ key to show the debug menu in App Store.app.
Store.app (check that the Debug menu is available!)| #! /usr/bin/env python3 | |
| import time | |
| import jwt | |
| import json | |
| import requests | |
| from datetime import datetime | |
| from collections import defaultdict | |
| import matplotlib.pyplot as plt |
| --- | |
| created: <% tp.file.creation_date() %> | |
| --- | |
| tags:: [[+Daily Notes]] | |
| # <% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %> | |
| << [[Timestamps/<% tp.date.now("YYYY", -1) %>/<% tp.date.now("MM-MMMM", -1) %>/<% tp.date.now("YYYY-MM-DD-dddd", -1) %>|Yesterday]] | [[Timestamps/<% tp.date.now("YYYY", 1) %>/<% tp.date.now("MM-MMMM", 1) %>/<% tp.date.now("YYYY-MM-DD-dddd", 1) %>|Tomorrow]] >> | |
| --- |
| // To compile: clang++ -arch x86_64 -arch arm64 -std=c++20 library_injector.cpp -lbsm -lEndpointSecurity -o library_injector, | |
| // then codesign with com.apple.developer.endpoint-security.client and run the | |
| // program as root. | |
| #include <EndpointSecurity/EndpointSecurity.h> | |
| #include <algorithm> | |
| #include <array> | |
| #include <bsm/libbsm.h> | |
| #include <cstddef> | |
| #include <cstdint> |
| #!/bin/bash | |
| # https://gist.github.com/mbierman/6a32df2909202c373a6a39063181dc40 | |
| # v 0.4.1 | |
| BASEDIR=$(dirname $0) | |
| IFTTTKEY="$(cat $BASEDIR/IFTTT.data | grep IFTTTKEY| cut -f2 -d "=" )" | |
| EVENT="FWspeedtest" | |
| log=/data/logs/logspeed.log | |
| <?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"> | |
| <dict> | |
| <key>UnifiedBar</key> | |
| <dict> | |
| <key>DisclosureRequired</key> | |
| <string>ace440ac-b4f6-4b43-aade-02bba1589aef</string> | |
| <key>Enabled</key> | |
| <false/> |
| // ==UserScript== | |
| // @name Remove useless articles on MacRumors | |
| // @namespace https://github.com/abjugard/ | |
| // @version 1.16 | |
| // @description Removes promos on MacRumors | |
| // @author Adrian Bjugård | |
| // @match https://www.macrumors.com/ | |
| // @match https://www.macrumors.com/*/ | |
| // @icon https://www.google.com/s2/favicons?domain=macrumors.com | |
| // @grant none |