Skip to content

Instantly share code, notes, and snippets.

View Broderick-Westrope's full-sized avatar
🍝
eating spaghetti code

Broderick Westrope Broderick-Westrope

🍝
eating spaghetti code
View GitHub Profile
@Broderick-Westrope
Broderick-Westrope / go.mod
Last active November 3, 2024 22:29
Golang Lipgloss Window Overlay
module test
go 1.23.0
require (
github.com/MakeNowJust/heredoc v1.0.0
github.com/charmbracelet/lipgloss v1.0.0
github.com/charmbracelet/x/ansi v0.4.2
github.com/stretchr/testify v1.9.0
)
@Broderick-Westrope
Broderick-Westrope / go.mod
Created September 19, 2024 00:53
Example of KeyRelease Not Working - Go BubbleTea v2alpha1
module test
go 1.22.4
require github.com/charmbracelet/bubbletea/v2 v2.0.0-alpha.1
require (
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/charmbracelet/lipgloss v0.13.0 // indirect
github.com/charmbracelet/x/ansi v0.3.2 // indirect
local wezterm = require("wezterm")
local session_manager = {}
--- Helper function to safely perform file operations and capture errors.
local function safe_file_operation(func, ...)
local success, result_or_error = pcall(func, ...)
if not success then
wezterm.log_info("File operation error: " .. tostring(result_or_error))
return false, result_or_error
end
@Broderick-Westrope
Broderick-Westrope / keybase.md
Created September 6, 2023 21:12
Keybase Proof

Keybase proof

I hereby claim:

  • I am broderick-westrope on github.
  • I am aunknown (https://keybase.io/aunknown) on keybase.
  • I have a public key ASCqLeXC7okwcyBbCvflw69gih8gqKG38yPPOP7TVxGCVgo

To claim this, I am signing this object:

@Broderick-Westrope
Broderick-Westrope / .golangci.yml
Last active August 28, 2023 07:39 — forked from maratori/.golangci.yml
My config for golangci-lint
# This code is licensed under the terms of the MIT license https://opensource.org/license/mit
# Copyright (c) 2021 Marat Reymers
## Golden config for golangci-lint v1.54.2
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adopt and change it for your needs.
run:
@Broderick-Westrope
Broderick-Westrope / Ideas.md
Created July 2, 2023 06:27
Blog Post Ideas

Ideas

Feel free to leave comments of ideas you'd like to see!

  • Current favourite dev/productivity apps:
    • LazyGit
    • VSCode
    • Rider
    • Cron
    • Mimestream
{
"workbench.colorTheme": "Halcyon",
"sync.gist": "a93d9897846a7b1e4d476b6dc8b5770f",
"workbench.iconTheme": "vscode-great-icons",
"security.workspace.trust.untrustedFiles": "open",
"editor.fontFamily": "MesloLGS NF",
"code-runner.runInTerminal": true,
"code-runner.saveAllFilesBeforeRun": true,
"prettier.configPath": "/home/asclepiius/Desktop/.prettierrc",
"prettier.useTabs": true,