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
tap "alexanderwillner/tap" | |
tap "apparition47/tap" | |
tap "charmbracelet/tap" | |
tap "cuelang/tap" | |
tap "dagger/tap" | |
tap "dart-lang/dart" | |
tap "dokku/repo" | |
tap "earthly/earthly" | |
tap "elastic/tap" | |
tap "federico-terzi/espanso" |
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
import { | |
extract, | |
test as containsFrontmatter, | |
} from "https://deno.land/[email protected]/encoding/front_matter/any.ts"; | |
import { walk } from "https://deno.land/[email protected]/fs/mod.ts"; | |
import { stringify } from "npm:[email protected]" | |
async function writeFile(path: string, attrs: { [key: string]: any }, body: string) { | |
await Deno.writeTextFile(path, `---\n${stringify(attrs)}\n---\n\n${body}`) | |
} |
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
// Lowercase letters start at 97 => 1 | |
// Max is 122 for z => 26 | |
pub fn ascii_sum(string: &'static str) -> u32 { | |
string.bytes().map(|char| { | |
(char - 96) as u32 | |
}).sum::<u32>() | |
} | |
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
<div class="layout layout--row flex flex--center"> | |
<div class="item"> | |
<div class="meta"></div> | |
<div class="content"> | |
<span class="value value--xsmall">{{ IDX_0.commonName }}</span> | |
<span class="label flex flex--row"> | |
{% for attrs in IDX_0.additionalProperties %} | |
{%- if attrs.key == "NbEmptyDocks"-%} | |
<span class="label">⬜ {{attrs.value | number_with_delimiter}}</span> | |
{%- endif -%} |
OlderNewer