See https://buildkite.com/blog/goodbye-integers-hello-uuids
0 1 2 3
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title> | |
Multi-Section Code Carousel with Active Section and Hash Routing | |
</title> | |
<link | |
href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css" |
\ escape
^ match start (or negate group)
$ match end
. match any character (except newlines, [\s\S] to match newlines too)
[] match range (see examples below)
[^] negative match range, such as [^<]* (match up to but not including the next `<`)
npm init -y
npx jswt init
sqlc.yaml
:
version: "2"
const express = require('express'); | |
const AsyncRouter = require('@root/async-router'); | |
const fetch = require('node-fetch'); // For making external API requests | |
const app = AsyncRouter.Router(); | |
// Secret key for reCAPTCHA | |
const RECAPTCHA_SECRET_KEY = 'YOUR_SECRET_KEY'; | |
app.post('/api/process-payment', async (req, res) => { |
Copied from https://github.com/bnnanet/bnna-payment-gateway.js/issues/5 for the immediate benefit of others, to be available as a Public gist until we make the whole repo public (once it's useful).
// generated by GPT4o using the command summary in this README as the prompt: | |
// https://github.com/posix-utilities/timeout | |
use std::process::{Command, ExitStatus}; | |
use std::time::Duration; | |
use std::os::unix::process::CommandExt; | |
use std::sync::{Arc, atomic::{AtomicBool, Ordering}}; | |
use std::thread; | |
use nix::sys::signal::{self, Signal}; | |
use std::env; | |
use std::ffi::OsString; |
Proxmox's pveam update
fetches releases from http://download.proxmox.com/images/aplinfo-pve-8.dat
and https://releases.turnkeylinux.org/pve/aplinfo.dat, which can be changed in /usr/share/perl5/PVE/APLInfo.pm
.
The dat
files contain the names of images which can you use to get the direct pveam download
download URLs,
for example: