| Event Bridge | Trigger URL | Description |
|---|---|---|
| AWS RND L7 | https://events.l7l2.com/builds/trigger/nightly | CI Builds Nightly Cron Triggering multiple CI pipeline builds |
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
| function .gpg.key.create --description 'GPG: Create a key' | |
| gpg --full-gen-key | |
| end | |
| function .gpg.key.export --description 'GPG Key Export' --argument email filename | |
| gpg -a --export $email > "$filename.pub.key" | |
| gpg -a --export-secret-keys $email > "$filename.secret.key" | |
| end | |
| function .gpg.key.list --description 'List GPG Keys' | |
| gpg --list-secret-keys --keyid-format LONG | |
| end |
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 | |
| detect_os() { | |
| local os="unknown" | |
| case "$(uname -s)" in | |
| Linux) | |
| os="Linux" | |
| ;; | |
| Darwin) |
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
| # find all .fish|.bash|no-ext files | |
| find . -regex '.*\.\(fish\|bash\)\|^[^\.]*$' #noworky | |
| # that was supposed to work but it did ot | |
| # this worked: | |
| find . -regex '.*.[.fish]' |
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
| # fish completion for rclone | |
| # rclone v1.68.2 dec 20 | |
| function __rclone_debug | |
| set -l file "$BASH_COMP_DEBUG_FILE" | |
| if test -n "$file" | |
| echo "$argv" >> $file | |
| end | |
| end |
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
| FROM ubuntu:rolling | |
| WORKDIR /volta | |
| RUN apt-get update && \ | |
| apt-get install --no-install-recommends -y fish \ | |
| wget \ | |
| git \ | |
| sudo \ | |
| ca-certificates |
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
| type PropEventSource<Type> = { | |
| on<Key extends string & keyof Type> | |
| (eventName: `${Key}Changed`, callback: (newValue: Type[Key]) => void): void; | |
| }; | |
| declare function makeWatchedObject<Type>(obj: Type): Type & PropEventSource<Type>; | |
| const person = makeWatchedObject({ | |
| firstName: "lynsei", | |
| lastName: "asynyn", |
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/bash | |
| OS=`uname -s` | |
| REV=`uname -r` | |
| MACH=`uname -m` | |
| if [ "${OS}" = "SunOS" ] ; then | |
| OS=Solaris | |
| ARCH=`uname -p` | |
| OSSTR="${OS} ${REV}(${ARCH} `uname -v`)" |
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 | |
| # | |
| # error handling and error report example | |
| # | |
| set -e | |
| # logfile | |
| LOGFILE=`mktemp` |
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
| 0.9.95.dbld.00103 |