Skip to content

Instantly share code, notes, and snippets.

@alexbepple
alexbepple / dotenvx.toml
Last active March 7, 2025 15:06
dotenvx.toml
name = "dotenvx"
type = "cli"
[resolve]
git-url = "https://github.com/dotenvx/dotenvx"
[install]
download-url = "https://github.com/dotenvx/dotenvx/releases/download/v{version}/{download_file}"
[install.arch]
name = "aws-vault"
type = "cli"
[resolve]
git-url = "https://github.com/99designs/aws-vault"
[install]
download-url = "https://github.com/99designs/aws-vault/releases/download/v{version}/{download_file}"
unpack = false
name = "just"
type = "cli"
[platform.macos]
download-file = "just-{version}-{arch}-apple-darwin.tar.gz"
[platform.linux]
# download-file = "just-{version}-{arch}-unknown-linux-{libc}.tar.gz"
download-file = "just-{version}-{arch}-unknown-linux-musl.tar.gz"
nodejs 16.18.0
java zulu-17.38.21
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexbepple
alexbepple / # ask-cli - 2019-01-27_19-13-35.txt
Created January 27, 2019 18:19
ask-cli on macOS 10.14.2 - Homebrew build logs
Homebrew build logs for ask-cli on macOS 10.14.2
Build date: 2019-01-27 19:13:35
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
LP solvers in JS
jsLPSolver, https://github.com/JWally/jsLPSolver, https://www.npmjs.com/package/javascript-lp-solver
++ no trouble whatsoever with 10000 constraints, however I got tired of waiting for 20000 (multiple minutes)
there is quite a lot on optimizing the problem formulation at http://lpsolve.sourceforge.net/5.5/lp-format.htm
SOS (special ordered sets) look interesting: http://lpsolve.sourceforge.net/5.5/SOS.htm
https://www.npmjs.com/package/simple-simplex
! violated constraints in some instances
-- cumbersome that all variables have to be named everywhere
https://www.npmjs.com/package/simplex-solver