Skip to content

Instantly share code, notes, and snippets.

View bradsbrown's full-sized avatar

Brad Brown bradsbrown

View GitHub Profile
@bradsbrown
bradsbrown / # neovim - 2023-10-30_15-29-21.txt
Created October 30, 2023 20:33
neovim on macOS 14 - Homebrew build logs
Homebrew build logs for neovim on macOS 14
Build date: 2023-10-30 15:29:21
import json
import os
from twitter import *
# Twitter app credentials
token = "..."
token_secret = "..."
consumer_key = "..."
consumer_secret = "..."
@bradsbrown
bradsbrown / q3.py
Last active September 16, 2017 15:09
my solution to the MST problem
# --- Question 3 answer --- #
def question3(G):
'''Inputs a graph G, returns the minimum spanning tree of the graph
as an adjacency list'''
nodes = G.keys()
mst = {}
cursor = nodes[0]
while nodes:
next_edge = findSmallest(G[cursor], nodes)
nodes.pop(nodes.index(cursor))
@bradsbrown
bradsbrown / keybase.md
Created July 26, 2016 00:30
Verification for keybase

Keybase proof

I hereby claim:

  • I am bradsbrown on github.
  • I am bradsbrown (https://keybase.io/bradsbrown) on keybase.
  • I have a public key whose fingerprint is 0308 1780 8A04 15A8 9B9E 6B43 EEA8 54E0 72E8 B0A8

To claim this, I am signing this object: