I got an issue installing Nix on latest macOS 15.0 (Sequioa), looks like 3xx uids are reserved by some new built-in users.
This should fix your issue: NIX_FIRST_BUILD_UID=600
I got an issue installing Nix on latest macOS 15.0 (Sequioa), looks like 3xx uids are reserved by some new built-in users.
This should fix your issue: NIX_FIRST_BUILD_UID=600
// ~/server/api/sse.ts | |
export default defineEventHandler(async (event) => { | |
if (!process.dev) return { disabled: true } | |
// Enable SSE endpoint | |
setHeader(event, 'cache-control', 'no-cache') | |
setHeader(event, 'connection', 'keep-alive') | |
setHeader(event, 'content-type', 'text/event-stream') | |
setResponseStatus(event, 200) |
Hyper-V in Windows 10 and Windows 11 allows running Virtual Machine. It is supported only in Pro, Enterprise and Education Edition of Windows 10 and Windows 11 by default. But this guide will show you how to enable it in Home Editions of Windows 10 and Windows 11.
Command Prompt
in Windows Start Menu and open it.systeminfo
and press Enter. Wait for the process to finishHyper-V Requirements
section which is usually the last one.
A hypervisor has been detected. Features required for Hyper-V will not be displayed.
that means Hyper-V is already enabled and there is no reason following this guide anymore.Virtualization Enabled in Firmware:
.The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.## Disk Settings ## | |
dir = ${HOME}/Downloads | |
daemon = false | |
enable-mmap = true | |
disk-cache = 64M | |
file-allocation = none | |
## Download Settings ## | |
continue = true | |
split = 16 |
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: blue; icon-glyph: bus-alt; | |
// Script to show real time SL departure information using the SL real-time API https://www.trafiklab.se/node/15754/documentation | |
// Todo: Pass siteID and StopPointNumber as arguments | |
const siteID = "9001" // 9001 is T-Centralen, replace with your station's ID. See: https://www.trafiklab.se/api/sl-platsuppslag/dokumentation | |
const myKey = "thekey" // Replace with your key, get it from https://www.trafiklab.se/api/sl-platsuppslag | |
const timeWindow = "30" // Show departures in the next 30 minutes |
{"lastUpload":"2020-09-03T22:01:49.199Z","extensionVersion":"v3.4.3"} |
### Basic ### | |
# The directory to store the downloaded file. | |
dir=${HOME}/Downloads | |
# Downloads the URIs listed in FILE. | |
input-file=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to FILE on exit. | |
save-session=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0 | |
save-session-interval=60 | |
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5 |
# Disable Commercial Repo | |
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list | |
apt-get update | |
# Add PVE Community Repo | |
echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list | |
apt-get update | |
# Remove nag | |
echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/Active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" > /etc/apt/apt.conf.d/no-nag-script |