Skip to content

Instantly share code, notes, and snippets.

View coolaj86's full-sized avatar
😎
🐹 Go 🦎 Zig πŸ“¦ Node 🐧 POSIX πŸͺŸ PowerShell

AJ ONeal coolaj86

😎
🐹 Go 🦎 Zig πŸ“¦ Node 🐧 POSIX πŸͺŸ PowerShell
View GitHub Profile
- https://api.onlyoffice.com/docs/office-api/usage-api/form-api/Api/Methods/CreateSignatureForm/
- https://api.onlyoffice.com/docs/office-api/usage-api/form-api/
- https://api.onlyoffice.com/docs/document-builder/using-cli/script-file/
- https://api.onlyoffice.com/docs/docs-api/additional-api/conversion-api/request/#converting-docx-to-pdf-form
#!/bin/sh
# Install xcode and cmake
xcode-select --install
curl https://webi.sh/cmake | sh
. ~/.config/envman/PATH.env
# Download llama.cpp at 1348f67
git clone https://github.com/ggml-org/llama.cpp
cd ./llama.cpp/
# debug: goreleaser release --snapshot --clean --skip=publish
# release: goreleaser release --clean
version: 2
project_name: overclockedmusicd
before:
hooks:
- go mod download
- go generate ./...
builds:
- id: ocmd-all
@coolaj86
coolaj86 / Fix Civ VI Crashing on macOS Apple Silicon.md
Last active July 28, 2026 16:42
Fix Civ VI Crashing on macOS Apple Silicon

Updates

  • 2025-01-27: Quite unexpectedly, it seems that just setting Memory to minimum will work
    (unexpected because the error I get is about threads - CPUs)

Quick Fix

Screenshot 2025-01-27 at 12 22 46β€―PM

The "Performance Impact" has dozens of options. One or more of them is buggy on macOS and causes Civ VI to crash every few minutes.

<!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 `<`)