Split a FLAC into small parts with a CUE file :
shnsplit -f CDImage.cue -t %n-%t -o flac CDImage.flac
Remove metadata on FLAC in a directory :
#!/bin/bash | |
#### | |
# Configuration | |
#### | |
SOUND_POWERSAVE_BATTERY=1 | |
SOUND_POWERSAVE_AC=0 | |
WIFI_IFNAME="wlp4s0" |
You just have to source this file.
#!/bin/bash | |
PATH="$PATH:/usr/local/bin" | |
kubectl get po --all-namespaces -o wide | head -n 1 | |
for ip in $(kubectl get po --all-namespaces -o "jsonpath={.items[*].status.podIP }"); do | |
ping -c 1 -W 3 $ip > /dev/null | |
[[ $? -gt 0 ]] && kubectl get po --all-namespaces -o wide | awk '$7 == "'$ip'" { print $0 }' | |
done |
#!/bin/bash | |
first=$1 | |
shift | |
for e in $@; do | |
tmux split-window ssh $e | |
done | |
tmux set-window-option synchronize-panes on |
demo: | |
image: vault:1.6.0 | |
script: | |
- export VAULT_ADDR=https://vault.example.com | |
- export VAULT_TOKEN="$(vault write -field=token auth/gitlab-jwt/login role=read-secret-demo jwt=$CI_JOB_JWT)" | |
- USERNAME="$(vault kv get -field=username kv/demo/hello)" | |
- PASSWORD="$(vault kv get -field=password kv/demo/hello)" | |
- echo "The secret is ${USERNAME}:${PASSWORD}" | |
only: | |
refs: ["master"] |
variable gitlab_url { | |
type = string | |
description = "URL to Gitlab (example: https://gitlab.example.com)" | |
} | |
variable vault_url { | |
type = string | |
description = "URL to Vault (example: https://vault.example.com)" | |
} | |
variable oidc_client_id { | |
type = string |