Skip to content

Instantly share code, notes, and snippets.

View brendes's full-sized avatar

brendes

  • New England
  • 16:47 (UTC -04:00)
View GitHub Profile
@brendes
brendes / acme-autoformat
Created February 11, 2020 14:32 — forked from mkhl/acme-autoformat
My current autoacme event handler script
#!/usr/local/plan9/bin/rc
. 9.rc
. $PLAN9/lib/acme.rc
event=$1
target=$2
fn hashbang {
awk '
:: HOON SCHOOL 101
:: ASSIGNMENT 02
:: Build a naked generator that takes a noun and checks if that noun is
:: a cell or an atom. If that input noun is an atom, check if it’s even or
:: odd. The output should be of the tape type. A tape is a string.
|= a=*
?^ a
"not an atom"
@brendes
brendes / bsd-01-aura-transform.hoon
Last active November 18, 2019 16:23
hoon 101 assignment 01
:: HOON 101
:: Assignment 1
::
:: Build a naked generator that takes an atom from the user and returns that
:: atom with a different aura. Don't worry about guaranteeing that the output aura
:: is different from the input aura as this assignment is mostly intended to make
:: sure you have set everything up properly.
::
:: TODO:
:: - recognize input aura
@brendes
brendes / Installing The Sword Project.md
Created October 31, 2019 17:12 — forked from Nilpo/Installing The Sword Project.md
Instruction for installing The Sword Project on Mac and Linux. This is intended for module developers.

Installing The Sword Project

I found installing Sword from source to be problematic on both Mac and Linux. Thankfully, I found hidden in some documentation that it is available through common repositories. Unfortunately, the documentation was not thorough. Here's what worked for me on Mac OSX 10.9.5 and Linux Mint 17.3 "Rosa". These instructions should work on any recent version of Mac and any flavor of Ubuntu.

Installing Sword Package

The process for installing Sword differs a bit between Mac and Linux. I used Homebrew on Mac, but MacPorts should work just fine. Linux was a little less friendly, but I did get it working.

Instructions for Mac Users

ipurcbasefc for tbe Sltbrars of
be TUniverait? of {Toronto
out of tbe proceeds of tbe fun&
bequeatbefc bp
@brendes
brendes / keybase.md
Last active February 27, 2016 17:11
keybase.io github verification

Keybase proof

I hereby claim:

  • I am brendes on github.
  • I am brendes (https://keybase.io/brendes) on keybase.
  • I have a public key whose fingerprint is C2BC DBBF 490B F1B0 C80F 1842 5747 50E1 F35E 01D1

To claim this, I am signing this object: