You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
4.3 KiB

<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="ben @ unix group">
<meta name="author" content="Ben Harris">
<meta property="og:title" content="">
<meta property="og:site_name" content="ben at tilde dot team">
<meta property="og:url" content="">
<meta property="og:description" content="my tilde page">
<meta property="og:type" content="website">
<meta property="og:image" content="">
<link rel="icon" type="image/png" sizes="32x32" href="">
<style><?php include "gruvbox/gruvbox.min.css"; ?></style>
<link rel="stylesheet" href="">
<main id="app">
<div class="pull-right">
<p><a href="">&lt;- back to tilde team</a></p>
<?php $taglines = file("taglines.txt"); ?>
<p>i built and maintain come join the tilde team
<a href="">:)</a>
<p>pitch in for hosting costs if you're able: <a href="">donate here</a></p>
<p>the best place to find me is irc: i'm ben on <a href=""></a>
and benharri on <a href="">freenode</a>.
<p>here are some other places to find me</p>
<?php include "links.php"; ?>
<p>here are some of my things</p>
<?php include "mypages.php"; ?>
<h3>play with some ascii art</h3>
<label for="font">pick a font</label>
<select id="font">
<?php $figfonts = array_map(function($f) { return basename($f, ".flf"); }, glob("api/fonts/*.flf"));
foreach ($figfonts as $font): ?>
<option<?=$font == "slant" ? ' selected="selected"' : ""?> value="<?=$font?>"><?=$font?></option>
<?php endforeach; ?>
<label for="input">type here</label>
<input id="input">
<pre id="output">
_ _ __
____ ___________(_|_) ____ ______/ /_
/ __ `/ ___/ ___/ / / / __ `/ ___/ __/
/ /_/ (__ ) /__/ / / / /_/ / / / /_
\__,_/____/\___/_/_/ \__,_/_/ \__/
<h3>page hits as of jan 2020</h3>
<script type="text/javascript" src="counter/gcount.php?page=index"></script>
<!-- ring fragment-->
<div id="newring">
[<a href="">previous page</a>]
[<a href="">random page</a>]
[<a href="">next page</a>]
<a href="">how to join this webring</a>
<a href="">page source</a>
var font = document.getElementById("font");
var input = document.getElementById("input");
var output = document.getElementById("output");
font.addEventListener("change", figlet);
input.addEventListener("input", figlet);
function figlet() {
var xmlHttp = new XMLHttpRequest();
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200)
output.innerHTML = xmlHttp.responseText;
};"GET", `api/?font=${font.value}&text=${input.value}`, true);