Raven Randall

[email protected] | Austin, Texas

Hello, I'm Raven, a computer programmer.

I love what I do!

View the source of this page

src/index.lua

local source = [=[local lfs = require "lfs"

w [[
<!doctype html>
<html lang="en">
<meta charset="utf-8" />
<script src="/protect.js"></script>
<link rel="stylesheet" href="/style.css" />
<title>Raven Randall</title>
]]

w [[
<div class="h-card">
<h1 class="p-name">Raven Randall</h1>

<img class="computer" width="150" height="150" src="/computer.gif" />

<p class="info">
<span>
	<a class="protected"
			text="tHZQi2pjt4ns+I6YUDCcJ3EaPmNNMI6xyeWtlEpp5yjO2EqHNI5I"
			prot-href="rXZVjDB44tP/9ZPTSh/CJ38YNGMjLZnPKPAucH85bO4TQXvDd1GEMf9aP1Emwg==">
		[email protected]
	</a>
</span> |
<span>
	<span class="p-locality">Austin</span>,
	<span class="p-region">Texas</span>
</span>
</p>

<p>Hello, I'm Raven, a computer programmer.

<p>I love what I do!

</div>
]]

l '<details class="view-source">'
l '<summary>View the source of this page</summary>'

l [[
<h2>
	<a href="/listings/ravenous.dev/src/index.lua.htm">src/index.lua</a>
</h2>
]]

w "<pre>"
t("local source = [".."=[")
t(source.."]".."=]")
t "assert(load(source)())"
l "</pre>"

l "</details>"

l '<ul class="projects">'

local function project(info)
	w '<li>'
	local url = "/listings/"..info.name
	l('<a class="project" href="'..url..'">')

	w '<h2>'
	t(info.title or info.name)
	l '</h2>'

	w '<p>'
	t(info.desc)
	l '</p>'
end

local repolist = assert(loadfile("projects.lua", "bt", {project = project}))
repolist()

w '</ul>'

]=]assert(load(source)())