First of all, download the updated nebula version that has v2 certs and IPv6 support from nightly releases, and move all of the hosts in your network to it.
🏳️🌈
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 type { Meta, StoryObj } from "@storybook/react"; | |
import { expect, userEvent, waitFor, within } from "@storybook/test"; | |
import fc from "fast-check"; | |
import { useState } from "react"; | |
import { SMORGASBORD_OPTIONS } from "./contants"; | |
import { OptionSelector } from "./OptionSelector"; | |
const meta = { | |
title: "components/OptionSelector", | |
component: OptionSelector, |
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 { useQueryClient, type DefaultError, type FetchQueryOptions, type QueryKey } from '@tanstack/react-query'; | |
// Type specified by `ensureQueryData` definition. | |
// Pulled from <https://tanstack.com/query/latest/docs/react/guides/prefetching> | |
export function usePrefetchQuery< | |
TQueryFnData, | |
TError = DefaultError, | |
TData = TQueryFnData, | |
TQueryKey extends QueryKey = QueryKey, | |
>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>, { enabled = false }: { enabled?: boolean } = {}) { |
- Rust
- rustfmt
- Go
- gofmt
- Javascript/Typescript
- prettier
- biome
- Markdown
- prettier
- Python
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
{ | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
old-hugo-nixpkgs.url = "github:NixOS/nixpkgs/4fe31ab170bbbdd089b05b268b681542886eb642"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, nixpkgs, old-hugo-nixpkgs, flake-utils, }: | |
flake-utils.lib.eachDefaultSystem | |
(system: | |
let |
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 { Tab as AriakitTab, type TabProps } from 'ariakit/tab'; | |
import cn from 'classnames'; | |
import { useLayoutEffect, useRef } from 'react'; | |
import { useRect } from '@hooks/useRect'; | |
import { useAnimatedTabs } from '../context/useAnimatedTabs'; | |
import styles from './Tab.module.css'; | |
/** | |
* A tab that goes at the top of a tab panel, which a user clicks on to change the UI underneath. | |
* This is a button by default, but can also be a react-router Link, if the `to` and `as` props are provided. |
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 { Markdown } from 'astro-remote'; | |
import MainLayout from "@layouts/MainLayout.astro"; | |
const markdown = Astro.request.headers.get('markdown'); | |
--- | |
<html> | |
<MainLayout> | |
<h1>My ODB post page</h1 | |
<!-- Disallow inline `style` attributes, but allow HTML comments --> | |
<Markdown content={markdown} sanitize={{ dropAttributes: { "style": ["*"] }, allowComments: true }} /> |
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
openapi: 3.1.0 | |
servers: | |
- url: https://api.defined.net | |
description: Default server | |
info: | |
description: | | |
# Introduction | |
This API is documented in **OpenAPI format** and describes methods that can be invoked when using an api key from <https://admin.defined.net/settings/api-keys> | |
Each endpoint is versioned individually, under a `/vXX` endpoint, ex `/v1/hosts` would become `/v2/hosts` with a breaking change, while `/v1/host-and-enrollment-code` would remain at `/v1` |
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 { getPicture } from "@astrojs/image"; | |
type BgHeroCSS = { | |
/** perfect for use w/ define:vars to inject */ | |
cssProperty: string; | |
/** the source of the regular image */ | |
imageSrc: string; | |
/** the sourceset used in the image-set */ | |
imageSet: string; | |
/** the set useful for preloading |
NewerOlder