This file contains hidden or 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
| use AppleScript version "2.4" -- Yosemite (10.10) or later | |
| use scripting additions | |
| # Sample Keyboard Maestro macros at | |
| # <https://sixcolors.com/wp-content/uploads/2022/01/Podcast-Noter-Macros.kmmacros.zip> | |
| on run argv | |
| try | |
| set theNote to (item 1 of argv) | |
| on error |
This file contains hidden or 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
| #! /usr/bin/env python3 | |
| # This script is explained here: <https://sixcolors.com/post/2024/10/putting-my-solar-system-in-my-menu-bar/> | |
| # Adapted from grzegorz914@icloud.com <https://github.com/grzegorz914/homebridge-enphase-envoy> | |
| # <xbar.title>Enphase Solar (Averages)</bitbar.title> | |
| # <xbar.version>v1.2</xbar.version> | |
| # <xbar.author>Jason Snell</xbar.author> | |
| # <xbar.author.github>jasonsnell</xbar.author.github> | |
| # <xbar.desc>Display local Enphase solar stats.</xbar.desc> |
This file contains hidden or 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
| Subject: Apple Acquires Power Computing | |
| Sent: 9/2/97 7:34 AM | |
| From: Steve Jobs, sjobs@apple.com | |
| Reply-To: response@apple.com | |
| To: apple_employees$@group.apple.com | |
| Today Apple is acquiring Power Computing for Apple common stock valued | |
| at $100 million. | |
| Let me explain why we are doing this: |
This file contains hidden or 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
| import subprocess | |
| import re | |
| import sys | |
| from Levenshtein import ratio | |
| from collections import defaultdict, Counter | |
| # Configuration: Adjust as needed | |
| INCLUDE_PARENTHESES = False # Set to True to include parentheticals, False to exclude them | |
| OUTPUT_TO_CLIPBOARD = True # Set to True to copy output to clipboard, False to print to console |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import collections | |
| import subprocess | |
| import re | |
| theFinal = "" | |
| def getClipboardData(): | |
| p = subprocess.Popen(['pbpaste'], stdout=subprocess.PIPE) |
This file contains hidden or 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
| #! /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 |
This file contains hidden or 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
| // Based on code by Efrén Gámez <https://gist.github.com/ImGamez/a8f9d77bf660d7703cc96fee87cdc4b0> | |
| // and modified by Max Zeryck <https://talk.automators.fm/t/widget-examples/7994/217> | |
| // this version by Jason Snell. parsing weatherkit data directly is beyond the scope of this widget; | |
| // it loads a dumped weatherkit JSON from a remote server. Supply your own. | |
| // This widget also loads live data from a weather station, again in a custom format. | |
| // You will need to replace both of these data sources in order to get weather other than mine. | |
| const highTemps = [ ] | |
| const dailyConditions = [ ] |
This file contains hidden or 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
| #! /usr/bin/python3 | |
| # <xbar.title>Network Quality</xbar.title> | |
| # <xbar.version>v1.1</xbar.version> | |
| # <xbar.author>Jason Snell</xbar.author> | |
| # <xbar.author.github>jasonsnell</xbar.author.github> | |
| # <xbar.desc>Display current network quality from networkQuality binary.</xbar.desc> | |
| # <swiftbar.hideRunInTerminal>true</swiftbar.hideRunInTerminal> | |
| import json |
This file contains hidden or 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
| use AppleScript version "2.4" -- Yosemite (10.10) or later | |
| use scripting additions | |
| set nameArray to {} | |
| set templateFolder to (alias "Macintosh HD:Users:jsnell:Dropbox:Podcast Templates:") | |
| tell application "Finder" to set theNames to the name of items in folder templateFolder | |
| set mychoice to (choose from list theNames with prompt "Choose your Template" with title "Template Gun" default items "None" OK button name {"Choose"} cancel button name {"Cancel"}) as string |
This file contains hidden or 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
| #! /usr/bin/env python3 | |
| import os | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import hashlib | |
| import PyRSS2Gen | |
| import datetime | |
| import html.entities | |
| from urllib.parse import urljoin |
NewerOlder