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
#!/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 |
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
// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) | |
/* | |
* Copyright (C) 2017-2022 Jason A. Donenfeld <[email protected]>. All Rights Reserved. | |
* Copyright Matt Mackall <[email protected]>, 2003, 2004, 2005 | |
* Copyright Theodore Ts'o, 1994, 1995, 1996, 1997, 1998, 1999. All rights reserved. | |
* | |
* This driver produces cryptographically secure pseudorandom data. It is divided | |
* into roughly six sections, each with a section header: | |
* | |
* - Initialization and readiness waiting. |