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
  • Mantel Group
  • ~/iykyk/
View GitHub Profile
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,