Skip to content

Instantly share code, notes, and snippets.

View rhiaro's full-sized avatar
👽
nomadding

Amy Guy rhiaro

👽
nomadding
View GitHub Profile
@rhiaro
rhiaro / xmonad.hs
Last active December 2, 2023 12:19
xmonad config
--
-- xmonad example config file for xmonad-0.9
--
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
--
-- Normally, you'd only override those defaults you care about.
--
-- NOTE: Those updating from earlier xmonad versions, who use
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar
@rhiaro
rhiaro / inbox.php
Created August 13, 2017 13:50
Basic LDN receiver. Help yourself. See: https://rhiaro.co.uk/2017/08/diy-ldn
<?
/*
Copyright 2017 Amy Guy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@rhiaro
rhiaro / files_from_solid.py
Created March 23, 2016 10:57
Download all files in a container from a Solid server to local disc
import sys
from rdflib import Graph, URIRef, Namespace
import urllib
LDP = Namespace("http://www.w3.org/ns/ldp#")
def main(localdir, remote):
g = Graph()
g.parse(remote)
forceTrailingSlash: function(aString) {
if(aString.slice(-1) == "/") return aString;
else return aString + "/";
}
@rhiaro
rhiaro / Proposal.md
Created December 7, 2015 16:56 — forked from apparentlymart/Proposal.md
HTML Social Network

HTML Social Network

Back in July of 2008 I started thinking about HTML microformats for linking together and discovering social objects on the web.

I later discussed this with folks at the Internet Identity Workshop and after a few rounds of discussion we ended up working on Activity Streams instead, which shifted the focus to machine-readable descriptions of actions on social objects. However, the social object research here was the initial basis of what went on to become the "Object Types" in Activity Base Schema, after many iterations.

Keybase proof

I hereby claim:

  • I am rhiaro on github.
  • I am rhiaro (https://keybase.io/rhiaro) on keybase.
  • I have a public key whose fingerprint is D678 8320 1E23 9279 B36F 1ABA 1615 B371 FCDA 857C

To claim this, I am signing this object:

@rhiaro
rhiaro / indyref.md
Last active August 29, 2015 14:06
#Indyref for temporary residents

There's plenty of debate about whether to vote yes or no. But without discussing which way I'm leaning, I'm concerned about whether I should vote at all.

I'm a UK citizen and live in Scotland, so I have the technical right. I love Scotland. But there are lots of other places I love too, and even more places I've never been to and would like to find out if I love.

Continuing on my current trajectory, I'm going to live here for at least another two years. Probably a bit longer. But then what?

Are many students, or otherwise temporary residents, wondering the same? Do I really have a right to vote and then not stick around in the long term? Is a vote a commitment to, in the event of the result matching my vote, stay here and support Scotland with my income tax and my custom and my activism?

I feel like it should be. It's a vote about a long term future, and it's not going to fade away when this batch of politicians leave office in a few years (is it?).