-
First, add
asdfto the Nix configuration with the package namedasdf-vm. Add the following line to yourconfiguration.nixfile:environment.systemPackages = with pkgs; [ asdf-vm ];
| import type { StandardSchemaV1 } from "@standard-schema/spec"; | |
| import { type JSONWebKeySet, createLocalJWKSet, errors, jwtVerify } from "jose"; | |
| import { | |
| InvalidAuthorizationCodeError, | |
| InvalidRefreshTokenError, | |
| InvalidSessionError, | |
| } from "./error"; | |
| import { generatePKCE } from "./pkce"; | |
| import type { SubjectSchema } from "./session"; |
| /// <reference path="./.sst/platform/config.d.ts" /> | |
| import { resolve as pathResolve } from "node:path"; | |
| import { writeFileSync as fsWriteFileSync } from "node:fs"; | |
| import { asset as pulumiAsset, all as pulumiAll } from "@pulumi/pulumi"; | |
| // Specify HCLOUD_TOKEN and CLOUDFLARE_API_TOKEN before running | |
| // Permissions for CLOUDFLARE_API_TOKEN: | |
| // - Account Settings:Read | |
| // - Zone Settings:Edit |
| """ | |
| Copyright (C) 2024 promto-c | |
| Permission Notice: | |
| - You are free to use, copy, modify, and distribute this software for any purpose. | |
| - No restrictions are imposed on the use of this software. | |
| - You do not need to give credit or include this notice in your work. | |
| - Use at your own risk. | |
| - This software is provided "AS IS" without any warranty, either expressed or implied. | |
| """ |
| let | |
| # Playdate distributes their SDK as precompiled x86_64 binaries | |
| # currently so we have to import cross-compiled packages for it | |
| # if we're not on an x86_64 system. | |
| pkgsIntel = import <nixpkgs> { | |
| crossSystem = { | |
| config = "x86_64-unknown-linux-gnu"; | |
| }; | |
| }; | |
| in |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; | |
| ;; BACK UP YOUR LOGSEQ DIR BEFORE RUNNING THIS! | |
| ;; | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; Copyright (C) Aug 4 2022, William R. Burdick Jr. | |
| ;; | |
| ;; LICENSE | |
| ;; This code is dual-licensed with MIT and GPL licenses. |
Please note that these instructions are not offically supported or condoned by Nix and are not guaranteed to always work, but from my testing everything seems to work perfectly fine.
These steps may not be required if NixOS/nix#2374 is resolved.
These commands are required for both Fedora Workstation and Fedora Silverblue
Note
This gist has graduated to a proper repo: preactjs/preact-root-fragment
This is a standalone Preact 10+ implementation of the deprecated replaceNode parameter from Preact 10.
It provides a way to render or hydrate a Preact tree using a subset of the children within the parent element passed to render():
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
- Use ESM yourself. (preferred)
Useimport foo from 'foo'instead ofconst foo = require('foo')to import the package. You also need to put"type": "module"in your package.json and more. Follow the below guide. - If the package is used in an async context, you could use
await import(…)from CommonJS instead ofrequire(…). - Stay on the existing version of the package until you can move to ESM.
| /etc/init.d/tailscale | |
| /etc/rc.d/*tailscale | |
| /etc/tailscale/ | |
| /lib/upgrade/keep.d/tailscale | |
| /usr/sbin/tailscale | |
| /usr/sbin/tailscaled |