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 json | |
| import subprocess | |
| import sys | |
| import urllib.parse | |
| import urllib.request | |
| CHAT_ID = "" | |
| BOT_TOKEN = "" |
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
| { | |
| "ch_up": { | |
| "function": "increase_oled_light", | |
| "inputs": { | |
| "increment": 10, | |
| "disable_energy_savings": "no" | |
| } | |
| }, | |
| "ch_down": { | |
| "function": "reduce_oled_light", |
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
| --- Workflow URL: https://kopiro.s3.amazonaws.com/var/FilesToChatGPT.workflow.zip | |
| on run {input, parameters} | |
| set newRequestDelay to 5 | |
| set waitRequestDelay to 180 | |
| set imageUploadDelay to 10 | |
| repeat with thisFile in input | |
| display notification "Starting new request in " & (newRequestDelay as string) & "s - DO NOT touch your keyboard/mouse" | |
| delay newRequestDelay |
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
| #!/bin/bash | |
| # brew install create-dmg | |
| # xcrun notarytool store-credentials "AC_PASSWORD" --apple-id $EMAIL --team-id $TEAM_ID | |
| set -exu | |
| APP_BUNDLE="$1" | |
| if [[ ! -d "$APP_BUNDLE" ]]; then | |
| echo "Usage: $0 <app-bundle-path>" |
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
| blueprint: | |
| name: Sunrise Alarm | |
| description: Sunrise effect with light and media player | |
| domain: automation | |
| input: | |
| media_player: | |
| name: Media Player | |
| description: The media player entity | |
| selector: | |
| entity: |
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
| backend="$1" | |
| if [ -z "$backend" ]; then | |
| echo "Please provide a backend URL" | |
| return | |
| fi | |
| port="$2" | |
| if [ -z "$port" ]; then | |
| port=5555 | |
| fi |
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
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: deep-gray; icon-glyph: traffic-light; | |
| // To find your SITE_ID, go to https://transport.integration.sl.se/v1/sites?expand=true | |
| // and search for your station. The SITE_ID is the number in the id field. | |
| const SITE_ID = "9261"; | |
| // Transport can be BUS, TRAM, METRO, TRAIN, FERRY, SHIP, TAXI | |
| const TRANSPORT = "METRO"; |
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
| #!/bin/bash | |
| FLIPPER_APPS_DIR="/tmp/UberGuidoZFlipper" | |
| FLIPPER_SD_DIR="/Volumes/Flipper SD" | |
| if [ ! -d "$FLIPPER_SD_DIR" ]; then | |
| echo "Flipper SD card not found at $FLIPPER_SD_DIR" | |
| exit 1 | |
| fi |
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
| #!/bin/bash | |
| IP="192.168.0.45" | |
| MAC="AA-BB-CC-DD-EE-FF" | |
| get_status() { | |
| /usr/bin/curl -s "http://$IP:8090/json-rpc?request=%7B%22command%22:%22serverinfo%22%7D" | |
| } | |
| call_autostart() { |
NewerOlder