about.go (1466B)
1 package config 2 3 import ( 4 "time" 5 _ "time/tzdata" // the box may not ship zoneinfo 6 ) 7 8 // BirthZone is where the birthday happened (Chicago); uptime counts calendar 9 // days on that clock, not the server's UTC one. 10 var BirthZone = mustZone("America/Chicago") 11 12 // Birthday drives the uptime line on the about page. 13 var Birthday = time.Date(2008, time.April, 20, 0, 0, 0, 0, BirthZone) 14 15 func mustZone(name string) *time.Location { 16 loc, err := time.LoadLocation(name) 17 if err != nil { 18 return time.UTC 19 } 20 return loc 21 } 22 23 type KV struct { 24 Key, Value string 25 } 26 27 type About struct { 28 Name string 29 Handle string 30 Bio string 31 Location string 32 Profession string 33 ProfessionShort string 34 Languages []string 35 Interests []string 36 Hobbies []string 37 Setup []KV 38 } 39 40 func GetAbout() About { 41 return About{ 42 Name: "damian myrda", 43 Handle: "moncheeta", 44 Bio: "always learning, like curious george 🐒", 45 Location: "mountain view, ca", 46 Profession: "software engineer", 47 ProfessionShort: "swe", 48 Languages: []string{"zig", "rust", "c", "go", "typescript", "python"}, 49 Interests: []string{"osdev", "firmware", "tui/cli tooling", "unix philosophy"}, 50 Hobbies: []string{"old-school audis", "rally", "pickup soccer"}, 51 Setup: []KV{ 52 {"os", "crux linux"}, 53 {"shell", "fish"}, 54 {"editor", "helix"}, 55 {"agent", "claude code"}, 56 }, 57 } 58 }