Skip to content

Instantly share code, notes, and snippets.

@mindplay-dk
mindplay-dk / join.sh
Created June 27, 2025 07:24 — forked from detunized/join.sh
Join repos into subfolders with flat history
#!/bin/bash
set -euo pipefail
$REPO_DIR=~/devel
repos="1password bitwarden dashlane lastpass opvault passwordbox roboform stickypassword truekey zoho-vault"
# pull all repos
(
for repo in $repos; do
echo $repo
@mindplay-dk
mindplay-dk / tinyAMD.js
Last active December 19, 2015 06:09 — forked from potch/tinyAMD.js
// # tinyAMD: a Minimal AMD shim.
// I define Minimal AMD as the following:
// * Every define() call provides a module id field (no filename magic)
// * Every require() call consistently provides a list of dependencies, and
// optionally a callback to receive the resolved dependencies
// * No additional network traffic to fetch modules
// * All dependencies must be defined before a module may be required
// ## Uses