#16 Render newlines when echoing privkey to tmp
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s

This commit is contained in:
Joey Hafner 2024-10-24 16:34:31 -07:00
parent 879400718b
commit b5f77f5ab1
No known key found for this signature in database
3 changed files with 7 additions and 1 deletions

View File

@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Configure SSH agent - name: Configure SSH agent
run: | run: |
echo ${{ secrets.RUNNER_SSH_PRIVATEKEY }} >> /tmp/key echo -e ${{ secrets.RUNNER_SSH_PRIVATEKEY }} > /tmp/key
alias ssh='ssh -i /tmp/key' alias ssh='ssh -i /tmp/key'
- name: Print running VyOS version - name: Print running VyOS version
run: | run: |

View File

@ -194,6 +194,7 @@
neofetch = "fetch"; neofetch = "fetch";
find = ''fzf --preview "bat --color=always --style=numbers --line-range=:500 {}"''; find = ''fzf --preview "bat --color=always --style=numbers --line-range=:500 {}"'';
hmu = "home-manager switch -b backup --flake ~/Git/Jafner.net/nix/dungeon-master/home-manager/ --impure"; hmu = "home-manager switch -b backup --flake ~/Git/Jafner.net/nix/dungeon-master/home-manager/ --impure";
nixgc = "nix-env --delete-generations 7d && nix-store --gc --print-dead";
kitty = "nixGL kitty"; kitty = "nixGL kitty";
fzf-ssh = "ssh $(cat ~/.ssh/profiles | fzf --height 20%)"; fzf-ssh = "ssh $(cat ~/.ssh/profiles | fzf --height 20%)";
fsh = "fzf-ssh"; fsh = "fzf-ssh";

View File

@ -5,6 +5,11 @@
name = "send-to-x264-mp4"; # { filePath }: { none } (side-effect: transcodes & remuxes file to x264/mp4) name = "send-to-x264-mp4"; # { filePath }: { none } (side-effect: transcodes & remuxes file to x264/mp4)
runtimeInputs = [ runtimeInputs = [
libnotify libnotify
( writeShellApplication { name = "check-inputs"; } )
( writeShellApplication { name = "transcode-av1"; } ) # https://trac.ffmpeg.org/wiki/Encode/AV1
( writeShellApplication { name = "transcode-x264"; } ) # https://trac.ffmpeg.org/wiki/Encode/H.264
( writeShellApplication { name = "upload-zipline"; } )
( writeShellApplication { name = "slow-motion"; } ) # https://trac.ffmpeg.org/wiki/How%20to%20speed%20up%20/%20slow%20down%20a%20video
]; ];
text = '' text = ''
INPUT_FILE=$(realpath "$1") INPUT_FILE=$(realpath "$1")