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 | |
| # Load history from ~/.zsh_eternal_history and save it to the atuin history database | |
| # Modified from Mark Hepburn's code | |
| # https://blog.markhepburn.com/posts/atuin-and-per-directory-history-import/ | |
| # My eternal history command was copied from someone elses, *years* ago. | |
| # ZSH_ETERNAL_HISTORY=~/.zsh_eternal_history | |
| # [[ ! -f $ZSH_ETERNAL_HISTORY ]] && touch $ZSH_ETERNAL_HISTORY |
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
| #!/bin/bash | |
| # add the security certificate of a host to macos keychain | |
| if [[ -z $1 ]]; then | |
| echo USAGE: $0 hostname | |
| exit | |
| fi | |
| host=$1 | |
| tmpfile=/tmp/${host}.pem |
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
| # | |
| # Dockerfile for rteplayer_dl, | |
| # based on vimagick/youtube-dl | |
| # | |
| FROM alpine | |
| MAINTAINER Tim Hunter <[email protected]> | |
| RUN set -xe \ | |
| && apk add --no-cache ca-certificates \ | |
| ffmpeg \ |