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
| function doCommit() { | |
| local branch=$(git symbolic-ref HEAD 2> /dev/null | awk 'BEGIN{FS="/"} {print $NF}') | |
| local ticket="" | |
| if [[ $branch != "" ]]; | |
| then | |
| local parts=(${(@s[-])branch}) | |
| local part1=$parts[1] | |
| local part2=$parts[2] | |
| ticket="$part1-$part2" | |
| 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
| import os | |
| from microdot import Microdot | |
| import network | |
| from time import sleep | |
| from machine import Pin, I2C | |
| import json | |
| from picozero import pico_led | |
| import ahtx0 |
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 os | |
| from microdot import Microdot | |
| import network | |
| from time import sleep | |
| from machine import Pin, I2C, reset | |
| import json | |
| from picozero import pico_led | |
| import gc | |
| import ahtx0 |
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
| %title%$if($not($eql(%ARTIST%,Preservation Hall Jazz Band)), (feat. $replace(%ARTIST%,Preservation Hall Jazz Band & ,)),) |
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 | |
| """ | |
| Complete playlist regeneration and upload to Plex. | |
| Creates chronological playlists from music directories and uploads them to Plex, | |
| cleaning up old uploaded playlists first. | |
| Usage: | |
| python regenerate_all_playlists.py | |
| Edit the MUSIC_FOLDERS list below to specify which directories to process. |
OlderNewer