This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package orderedmap | |
import ( | |
"cmp" | |
"github.com/ClickHouse/clickhouse-go/v2/lib/column" | |
"slices" | |
) | |
// Map is a simple implementation of [column.IterableOrderedMap] interface. | |
// It is intended to be used as a serdes wrapper for map[K]V and not as a general purpose container. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# zsh and ruby are used for convenience, but both are shipped with macos, so no big deal | |
DONOR_SHELL=/opt/local/bin/zsh # pick the shell you use in terminal and have your env configured in | |
SCRIPT=${0:A} # autodetect this script's absolute path | |
PLIST=~/Library/LaunchAgents/osx-env-sync.plist | |
write_plist() { | |
cat > $1 <<EOF | |
<?xml version="1.0" encoding="UTF-8"?> |