Variable | Description | Example |
---|---|---|
CI |
Always set to true |
|
GITHUB_ACTION |
The name of the action currently running | |
GITHUB_ACTION_PATH |
The path where an action is located, only supported in composite actions. | /home/runner/work/_actions/repo-owner/name-of-action-repo/v1 |
GITHUB_ACTION_REPOSITORY |
The owner and repository name of the action. | actions/checkout |
GITHUB_ACTIONS |
Always set to true when GitHub Actions is running the workflow. |
|
GITHUB_ACTOR |
The name of the person or app that initiated the workflow. | octocat |
This file contains 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
#[macro_export] | |
macro_rules! record { | |
($($fields:tt)+) => { | |
let fieldset = tracing::fieldset!($($fields)+); | |
$crate::valueset!(fieldset, $($fields)+); | |
}; | |
} | |
#[macro_export] | |
macro_rules! valueset { |
This file contains 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
include <relativity.scad/relativity.scad> | |
$fn = 20; | |
module base() { | |
minkowski() { | |
box([30, 80, 4]); | |
cylinder(0.5, r = 4); | |
} | |
} |
This file contains 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
use std::{future::Future, time::Duration}; | |
use bigerror::{LogError, NetworkError, OptionReport, Report, ReportAs, ResultExt}; | |
use futures::{future, pin_mut}; | |
use stream_cancel::TakeUntilIf; | |
use tokio::{ | |
sync::mpsc::{UnboundedSender, WeakUnboundedSender}, | |
task::JoinHandle, | |
}; | |
use tokio_stream::wrappers::UnboundedReceiverStream; |
This file contains 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 bash | |
join_files() { | |
local input_n=() | |
local scale_to_n=("$SEP") | |
local concat_n=() | |
for i in $(seq $#); do | |
input_n+=("-i ${!i}") | |
((n = i - 1)) |
This file contains 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
{ | |
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions", | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"additionalProperties": false, | |
"definitions": { | |
"architecture": { | |
"type": "string", | |
"enum": [ | |
"ARM32", | |
"x64", |
This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x
The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/
The Data structure used to store various states uses a cursor to traverse the nodes known as the Zipper
technique.
Example of a Zipper cursor traversing a Vector, the focus provides a view "Up" and "Down" the data:
[1, 2, 3, 4, 5] // array with 5 entries
1}[2, 3, 4, 5] // zipper starts with focues at first index
This file contains 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
#[macro_export] | |
macro_rules! from_report { | |
(impl From<$from:path as $context:path> for $for:ident::$variant:ident) => { | |
impl From<$from> for $for { | |
fn from(e: $from) -> Self { | |
Self::$variant(error_stack::Report::new(e).change_context($context)) | |
} | |
} | |
}; | |
(impl From<$from:path> for $for:ident::$variant:ident) => { |
NewerOlder