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
| - name: "Get Repo" | |
| run: | | |
| git=/usr/bin/git | |
| refs="refs/remotes/origin/$GITHUB_REF_NAME" | |
| echo "cloning repo: ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" | |
| echo " from branch: $GITHUB_REF_NAME" | |
| echo " commit: ${GITHUB_SHA}" | |
| tokenkey="http.${GITHUB_SERVER_URL}/.extraheader" | |
| AUTH=$( echo -n "x-access-token:${GITHUB_TOKEN}" | base64 ) | |
| # |
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
| # vim: set ft=sh: | |
| # This bash fragment enables a powerline inspired | |
| # status bar (prompt) in less. | |
| # requires patched NerdFonts in your terminal! | |
| # see https://www.nerdfonts.com/cheat-sheet?set=nf- | |
| # Requires less-632 or newer to allow private code points | |
| # to be treated as characters using LESSUTFCHARDEF | |
| # download at https://greenwoodsoftware.com/less/download.html |
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 | |
| # | |
| # Wrapper to format dns zone prior to calling vim on it | |
| # for use as drop in editor in pdnsutil edit-zone | |
| # | |
| # written by Florian Streibelt <florian@streibelt.net> | |
| # | |
| # This is a very rough first POC | |
| import os,sys |