This file contains 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
/^(?<measurement>\w+),(?<tags>(?:\w+=\w+,?)+)+\s(?<fields>(?:\w+=(?:"\w+"|\w+),?)+)\s(?<ts>[0-9]+)$/ |
This file contains 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 docker | |
client = docker.client.from_env() | |
def get_configs_for_service(service): | |
return [ | |
*get_configs_from_current_spec(service), | |
*get_configs_from_previous_spec(service) | |
] |
This file contains 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 | |
# Create the target dir | |
mkdir Completed | |
for mkvFile in *.mkv; do | |
# Get the file name without the extension | |
filename=$(basename -- "$mkvFile") | |
filename="${filename%.*}" |