Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus| substitutions: | |
| name: esphome-ledaluc2 | |
| friendly_name: ESPHome LEDA LUC2 | |
| esphome: | |
| name: ${name} | |
| friendly_name: ${friendly_name} | |
| min_version: 2023.6.0 # Use a stable ESPHome version for compatibility | |
| name_add_mac_suffix: false # Prevent adding MAC suffix to the device name | |
| project: |
| // Parse the IDs from the first four rows of the sheet | |
| function getIds() { | |
| const sheet = SpreadsheetApp.getActiveSheet(); | |
| const ids = { | |
| accountId: sheet.getRange('B1').getValue().toString(), | |
| containerId: sheet.getRange('B2').getValue().toString(), | |
| workspaceId: sheet.getRange('B3').getValue().toString(), | |
| variableId: sheet.getRange('B4').getValue().toString() | |
| }; | |
| if (ids.workspaceId.toLowerCase() === 'default') ids.workspaceId = getDefaultWorkspaceId(ids.accountId, ids.containerId); |
| function countCSSRules() { | |
| var results = '', | |
| log = ''; | |
| if (!document.styleSheets) { | |
| return; | |
| } | |
| for (var i = 0; i < document.styleSheets.length; i++) { | |
| countSheet(document.styleSheets[i]); | |
| } | |
| function countSheet(sheet) { |
| /* | |
| * This work is free. You can redistribute it and/or modify it under the | |
| * terms of the Do What The Fuck You Want To Public License, Version 2, | |
| * as published by Sam Hocevar. See the COPYING file for more details. | |
| */ | |
| /* | |
| * Easing Functions - inspired from http://gizma.com/easing/ | |
| * only considering the t value for the range [0, 1] => [0, 1] | |
| */ | |
| EasingFunctions = { |
| #!/bin/bash | |
| JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'` | |
| for JAIL in $JAILS | |
| do | |
| fail2ban-client status $JAIL | |
| done |