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
| - id: '1733333946855' | |
| alias: turn ON clean laundry lamp | |
| description: '' | |
| triggers: | |
| - trigger: state | |
| entity_id: | |
| - input_select.washing_machine_status | |
| to: Clean | |
| conditions: [] | |
| actions: |
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
| { | |
| "adjustments": {}, | |
| "album_info": [ | |
| { | |
| "creation_date": "2024-08-14T13:03:12.429844-04:00", | |
| "end_date": "2024-08-24T10:59:55.039000-04:00", | |
| "folder_list": [ | |
| "E447A791-505A-4E93-B0D9-D4809AABAD7C", | |
| "0DB2CC33-2E66-4018-B810-9182D09B5EED" | |
| ], |
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
| labels: | |
| People: 14764 | |
| Clothing: 8257 | |
| Outdoor: 6060 | |
| Plant: 4725 | |
| Child: 4310 | |
| Land: 4217 | |
| Furniture: 3955 | |
| Art: 2937 | |
| Sky: 2932 |
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
| from machine import Pin, Timer | |
| import network | |
| import urequests | |
| import time | |
| TIMEOUT = 10000 | |
| morse_code = { | |
| '.-': 'A', '-...': 'B', '-.-.': 'C', '-..': 'D', '.': 'E', '..-.': 'F', | |
| '--.': 'G', '....': 'H', '..': 'I', '.---': 'J', '-.-': 'K', '.-..': 'L', |
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
| #!/Users/dmd/Library/CloudStorage/Dropbox-Personal/dashare/timelapse/classify/bin/python | |
| import sys | |
| import os | |
| import anthropic | |
| from anthropic import Anthropic | |
| from base64 import b64encode | |
| from PIL import Image, ExifTags | |
| import io | |
| import glob |
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 sys | |
| import os | |
| import anthropic | |
| from anthropic import Anthropic | |
| from base64 import b64encode | |
| from PIL import Image, ExifTags | |
| import io | |
| def fix_orientation(image): | |
| try: |
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 | |
| # Check if a file is provided | |
| if [ $# -eq 0 ]; then | |
| echo "Please provide an MKV file as an argument." | |
| exit 1 | |
| fi | |
| input_file="$1" |
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
| dmd@dromedary ~ | |
| $ j mov | |
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
| ( stuff before this... ) | |
| command="mkvpropedit \"$input_file\"" | |
| # Set all audio tracks to not default | |
| echo "$audio_tracks" | jq -r '.id' | while read -r track_id; do | |
| command+=" --edit track:a$track_id --set flag-default=0" | |
| done |
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 requests | |
| import sys | |
| from datetime import datetime | |
| import subprocess | |
| from operator import itemgetter | |
| # URLs for XNAT and Orthanc | |
| xnat_base_url = "https://iris.mclean.harvard.edu" |