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
| /** | |
| * ProseMirror JSON to Markdown Serializer | |
| * | |
| * Converts TipTap/ProseMirror JSONContent (ProseMirror document format) to | |
| * markdown text with proper mark nesting. | |
| * | |
| * Fixes the mark nesting bug in @tiptap/markdown where marks are serialized | |
| * in AABB pattern (++**text++**) instead of proper ABBA nesting (++**text**++) | |
| * | |
| * Usage: |
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 bash | |
| PROJECT_DIR="${1:-$(cd "$(dirname "$0")/.." && pwd)}" | |
| APP_BUNDLE="/Applications/Ghostty.app" | |
| WINDOW_TITLE="Claude WebStorm" # must match the --title you pass below | |
| GHOSTTY_ARGS=( | |
| --initial-command="claude /ide" | |
| --title="$WINDOW_TITLE" | |
| --working-directory="$PROJECT_DIR" | |
| --macos-icon="retro" |
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
| <a id="link">...</a> | |
| <script src="https://cdn.sharptools.io/js/custom-tiles/0.2.1/stio.js"></script> | |
| <script> | |
| var anchorEl = document.getElementById("link") | |
| stio.ready(function(data){ | |
| var urlVar = data.settings.urlVar; | |
| var textValue = data.settings.textValue; |
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
| <div id="main"> | |
| <img id="icon" /> | |
| <div id="value"></div> | |
| </div> | |
| <script src="https://cdn.sharptools.io/js/custom-tiles/0.2.1/stio.js"></script> | |
| <script> | |
| var valueEl = document.getElementById("value") | |
| var iconEl = document.getElementById("icon") |
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
| <!-- Do not edit below --> | |
| <script type="application/json" id="tile-settings"> | |
| { | |
| "schema": "0.2.0", | |
| "settings": [ | |
| { | |
| "type": "THING", | |
| "name": "myThing", | |
| "label": "Your Thing", | |
| "filters": {"capabilities": ["switch"]} |
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
| <!-- Do not edit below --> | |
| <script type="application/json" id="tile-settings"> | |
| { | |
| "schema": "0.2.0", | |
| "settings": [ | |
| { | |
| "type": "VARIABLE", | |
| "name": "myString", | |
| "label": "Your Text Variable", | |
| "filters": {"type": "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
| <!-- Do not edit below --> | |
| <script type="application/json" id="tile-settings"> | |
| { | |
| "schema": "0.1.0", | |
| "settings": [ | |
| { | |
| "name": "timezone", | |
| "label": "Timezone (IANA format)", | |
| "type": "STRING", | |
| "default": "America/Chicago" |
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
| <script> | |
| /* | |
| VERSION: 2025-12-22 | |
| Multi-provider weather tile supporting: | |
| - Open-Meteo (no API key required - default) | |
| - OpenWeatherMap 2.5 Multi-endpoint | |
| - OpenWeatherMap 3.0 OneCall | |
| The API Key, Latitude, and Longitude are now set in the Tile Settings |
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
| /** | |
| * SharpTools SVG Rendering Technical Proof of Concept for Hubitat | |
| * Author: Josh Lyon (support@sharptools.io) | |
| * Version: See getVersionMap() | |
| */ | |
| /* | |
| Additional information can be found at: | |
| https://community.sharptools.io/t/best-approach-for-irrigation-schedule-tile/3215/14?u=josh | |
| */ |
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
| metadata { | |
| definition (name: "Simulated Illuminance Sensor", namespace: "sharptools-io", author: "Josh") { | |
| capability "Illuminance Measurement" | |
| capability "Switch" | |
| capability "Switch Level" | |
| capability "Sensor" | |
| command "setLux" | |
NewerOlder