Filesystem | Time | Size |
---|---|---|
SquashFS | 5m53.945s | 17G |
EroFS | 5m26.367s | 41G |
EroFS (lz4hc) | - | dnf |
This file contains 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 main | |
import ( | |
"fmt" | |
"os" | |
"runtime" | |
log "golang.org/x/exp/slog" | |
) |
This file contains 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
// You can edit this code! | |
// Click here and start typing. | |
package byteunits | |
const ( | |
_ = iota | |
KB = 1 << (10 * iota) | |
MB | |
GB |
This file contains 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 main | |
import ( | |
"fmt" | |
"net" | |
"os" | |
"text/tabwriter" | |
) | |
func main() { |
This file contains 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 main | |
import ( | |
"fmt" | |
"runtime" | |
) | |
func trace() func() { | |
pc, file, line, _ := runtime.Caller(1) | |
fmt.Printf("%s:%d enter %s\n", file, line, runtime.FuncForPC(pc).Name()) |
This file contains 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 main | |
import ( | |
"context" | |
"fmt" | |
"time" | |
) | |
type Mailbox[T0, T1 any] struct { | |
ctx context.Context |
This file contains 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
{ config, pkgs, nixpkgs, ... }: | |
{ | |
# These don't exist : ( | |
# system.defaults.NSGlobalDomain."com.apple.AppleMultitouchTrackpad.Clicking" = true; | |
# system.defaults.NSGlobalDomain."com.apple.AppleMultitouchTrackpad.Dragging" = true; | |
system.defaults.NSGlobalDomain = { | |
NSAutomaticCapitalizationEnabled = false; | |
NSAutomaticDashSubstitutionEnabled = false; |
This file contains 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 main | |
import ( | |
"crypto/ed25519" | |
"encoding/base32" | |
"encoding/hex" | |
"fmt" | |
"strings" | |
"golang.org/x/crypto/sha3" |
This file contains 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
# WARNING: this file is generated from the nix.* options in | |
# your NixOS configuration, typically | |
# /etc/nixos/configuration.nix. Do not edit it! | |
max-jobs = auto | |
cores = 0 | |
sandbox = false | |
substituters = https://cache.nixos.org/ | |
trusted-substituters = |
This file contains 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
// go get "inet.af/netaddr" | |
// echo '[ "208.80.44.0/22", "208.80.44.0/23", "208.80.44.0/24", "208.80.45.0/24", "208.80.46.0/23", "208.80.46.0/24", "208.80.47.0/24" ]' | go run main.go -json - | |
package main | |
import ( | |
"encoding/json" | |
"errors" | |
"flag" | |
"fmt" | |
"io" |
NewerOlder