Skip to content

Instantly share code, notes, and snippets.

@ndabas
ndabas / install-autobahn-win-arm64.ps1
Created September 23, 2026 08:27
Install and test autobahn-python on Windows ARM64
<#
.SYNOPSIS
Install and verify autobahn on native Windows ARM64 (win_arm64).
.DESCRIPTION
autobahn publishes win_arm64 wheels, but its `cryptography` dependency does not:
no cryptography release since 46.0.3 ships a win_arm64 wheel, and autobahn
requires cryptography>=50. pip therefore has to build cryptography from source,
which needs Rust, the MSVC ARM64 toolchain and OpenSSL headers/libs.
@ndabas
ndabas / PEG.ps1
Last active December 16, 2021 20:01
# https://github.com/stedolan/jq/wiki/Parsing-Expression-Grammars
<#
Sequence: e1 e2 e1 | e2
Ordered choice: e1 / e2 e1 // e2
Zero-or-more: e* star(E)
One-or-more: e+ plus(E)
Optional: e? optional(E)
And-predicate: &e amp(E)
Not-predicate: !e neg(E)
@ndabas
ndabas / README.md
Last active October 5, 2015 18:07 — forked from jterrace/lang-llvm.js
LLVM plugin for google-code-prettify

LLVM plugin for google-code-prettify

lang-llvm.js adds LLVM assembly language syntax highlighting support to google-code-prettify. I wrote this in response to a question on StackOverflow.

Usage

See the google-code-prettify README for instructions on how to setup google-code-prettify. Then:

  1. Include lang-llvm.js in your HTML head tag, after prettify.js. This file is now included in the official google-code-prettify distribution.
  2. Markup your LLVM code like this: