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
| // net yet used because | |
| // 1. very slow (like 10x worse than DeepEqual) | |
| // 2. terrifying - i mean what even is this | |
| var ( | |
| cmpOptIgnorePrivate = ignoreUnexportedAlways() | |
| cmpOptNilIsEmpty = cmpopts.EquateEmpty() | |
| ) | |
| // ignoreUnexportedAlways is a derivative of go-cmp.IgnoreUnexported, but this one |
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
| fs/cgroup/nomad.slice | |
| ➜ cat 416baca9-bc05-d4c4-29f0-d0feec4e355c.task*.scope/cpuset.cpus | |
| ───────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
| │ File: 416baca9-bc05-d4c4-29f0-d0feec4e355c.task1.scope/cpuset.cpus | |
| ───────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
| 1 │ 0-2,8-23 | |
| ───────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
| ───────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
| │ File: 416baca9-bc05-d4c4-29f0-d0feec4e355c.task2.scope/cpuset.cpus | |
| ───────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── |
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
| job "pebble" { | |
| type = "service" | |
| group "pebble" { | |
| network { | |
| mode = "host" | |
| port "acme" { | |
| static = 6666 | |
| } | |
| port "mgmt" { |
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 main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strconv" | |
| "strings" | |
| ) |
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 main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "sort" | |
| "strconv" | |
| "strings" | |
| ) |
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 main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strconv" | |
| "strings" | |
| "github.com/hashicorp/go-set" |
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
| // NOTE: pre-transpose matrix, split instructions into second file | |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strconv" | |
| "strings" |
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 main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strconv" | |
| "strings" | |
| "github.com/hashicorp/go-set" |
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 main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strings" | |
| "github.com/hashicorp/go-set" | |
| ) |
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 main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strings" | |
| ) | |
| const ( |