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
type Hello struct { | |
Name string | |
File string | |
} | |
helloCmd := &cli.Command[Hello]{ | |
Use: "hello <name> <file>", | |
Short: "Say hello to someone, using a file", | |
Flags: func(f *cli.Flags[Hello]) { | |
// regular flags |
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
[font] | |
size = 11.0 | |
[font.normal] | |
family = "Hack" | |
style = "Regular" | |
[colors.primary] | |
background = '#282a36' | |
foreground = '#f8f8f2' |
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
py3status { | |
output_format = "i3bar" | |
} | |
order += "clock" | |
order += "wifi" | |
order += "battery_level" | |
clock { |
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
# start a terminal | |
bindsym $mod+Return exec alacritty | |
# start Google Chrome | |
bindsym $mod+b exec google-chrome-stable | |
# start Slack | |
bindsym $mod+s+l exec slack | |
# start Okular |
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
# Monitors | |
#output HDMI-A-1 resolution 1920x1080 position 1920,0 | |
#output HDMI-A-1 resolution 3840x2160@60Hz position 0,0 | |
output eDP-1 resolution 1920x1080 position 0,0 | |
#output eDP-2 resolution 1920x1080 position 1920,0 | |
output HDMI-A-1 resolution 1366x768 position 1920,0 | |
#output DP-4 resolution 1920x1080 position 1920,0 | |
#output DP-3 resolution 1920x1080 position 1920,0 | |
#output DP-3 resolution 3840x2160@60Hz position 1920,0 |
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
set $mod Mod4 | |
include hotkeys | |
include workspaces | |
# Font for window titles | |
font Hack Regular 12, FontAwesome 12 | |
#font FontAwesome 12 | |
# Use Mouse+$mod to drag floating windows to their wanted position |
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 dag | |
//go:generate go run ../internal/cmd/graph-gen-scaffold --type dag --section graph --path . | |
import ( | |
"github.com/abstractionsinc/go-graph" | |
) | |
// SortAlgorithm defines supported sorting strategies for DAG execution. | |
// |
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 ( | |
"fmt" | |
"github.com/dave/jennifer/jen" | |
) | |
func snippetBuilderType(f *jen.File) { | |
fields := []jen.Code{ |
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 dag | |
//go:generate go run ../internal/cmd/graph-gen-scaffold --type dag --section builder --path . | |
import ( | |
"fmt" | |
"github.com/abstractionsinc/go-graph" | |
"github.com/abstractionsinc/go-graph/internal/core" | |
) |
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
-- ===================================================================== | |
-- File: db/migrations/0001_pantropy_schema.sql | |
-- Purpose: Pantropy core schema (global DAG, plugins, runs, contexts, | |
-- plan/apply, events, audit). Rich comments on every table/attr. | |
-- Notes: Run idempotently. Uses uuid-ossp and citext optionally. | |
-- ===================================================================== | |
-- Extensions ------------------------------------------------------------ | |
CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; -- UUID generation for PKs | |
CREATE EXTENSION IF NOT EXISTS citext; -- Case-insensitive text (optional) |
NewerOlder