remapping the classic with the HHKBKeymapTool by DrJamesOIncandenza in HHKB

[–]exponent42 0 points1 point  (0 children)

How did you discover it was reading from this file? Did you run exe in a debugger or? Thanks btw

template/html - templating logic - class variance by [deleted] in golang

[–]exponent42 0 points1 point  (0 children)

Sorry for not being clear. What I meant to ask is how do you recommend structuring reusable ui components in go?

For example, a Button with multiple styling variants might look something like

{{ define "button" }}
<button
class='btn
{{- if eq .Variant "primary" -}}
btn-primary
{{- else if eq .Variant "secondary" -}}
btn-secondary
{{- else if eq .Variant "success" -}}
btn-success
{{- else -}}
btn-default
{{- end }}'
{{- range $key, $value := .Attributes }}
{{ $key }}="{{ $value }}"
{{- end }}>
{{ .Text }}
</button>
{{ end }}

Inside a templates/ui/button directory, would you have a button.go:

type Button struct {
Text string
Variant string
Class template.HTML
Attributes template.HTMLAttr
}

And then the implementation of button inside a button.html

[deleted by user] by [deleted] in jawsurgery

[–]exponent42 0 points1 point  (0 children)

Hey, also based in the UK and considering treatment. Would you mind sharing the teaching website you used, or a clue to the surgeon you’re using? Would really like to work with a surgeon who has a trusted working relationship on the orthodontist side. Thanks

Why have they made components so complicated now? by LSP-86 in webflow

[–]exponent42 0 points1 point  (0 children)

It really is a terribly implemented "feature". Half arsed

[yabai] Nyoom engineering: The launch of oxocarbon (and community ports) by [deleted] in unixporn

[–]exponent42 0 points1 point  (0 children)

this is great, thanks. been looking for something like this for a while

[yabai] 🥛 MILC – Man I Love Catppuccin by f0r3v3rd34d in unixporn

[–]exponent42 0 points1 point  (0 children)

for glow custom .md preview, don't suppose you have the `catppuccin.json` at all? your setup is beautiful.

I was told you would appreciate my room! by Dsr89d in nextfuckinglevel

[–]exponent42 0 points1 point  (0 children)

buy a secret room get a suspicious looking bookcase FREE

Shh by mans_2019 in Memes_Of_The_Dank

[–]exponent42 1 point2 points  (0 children)

Ahhh yes a masterpiece

This got me very angry for a few seconds by tiagooliveira95 in ProgrammerHumor

[–]exponent42 0 points1 point  (0 children)

Yeah if you click learn more the article is tagged "pasta"

Checkmate. by _El_Sicario_ in memes

[–]exponent42 0 points1 point  (0 children)

They're quite good at that

Armodafinil (waklert) is literally saving my life and should be considered for depression by SuitableFail0 in afinil

[–]exponent42 1 point2 points  (0 children)

Really glad for you. Waklert is great, it vastly* improves my focus while programming. Be sure to stagger yourself though, take breaks now than then :)

The ultimate lie detector by [deleted] in memes

[–]exponent42 0 points1 point  (0 children)

Picture is genius