summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-12-15 11:54:29 +0100
committerPatrick Spek <p.spek@tyil.nl>2021-12-15 11:54:29 +0100
commite86f65b9dbf82e70bbb5fc5f7f4e73190994b4f7 (patch)
tree77a6e5defb773f2d941f7bed23a31a5ba4c8aaee /content
parent5c086bc52fa3a226bcf706b1f420a5d98ea377dd (diff)
Add section for services
Diffstat (limited to 'content')
-rw-r--r--content/services/_index.md11
-rw-r--r--content/services/paste.md21
2 files changed, 32 insertions, 0 deletions
diff --git a/content/services/_index.md b/content/services/_index.md
new file mode 100644
index 0000000..dd98e8b
--- /dev/null
+++ b/content/services/_index.md
@@ -0,0 +1,11 @@
+---
+title: Services
+---
+
+These are all the services I run for public use.
+
+<ul>
+{{ range .Pages }}
+ <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
+{{ end }}
+</ul>
diff --git a/content/services/paste.md b/content/services/paste.md
new file mode 100644
index 0000000..4a89816
--- /dev/null
+++ b/content/services/paste.md
@@ -0,0 +1,21 @@
+---
+title: Pastes
+---
+
+Pastes are hosted through [fiche](https://github.com/solusipse/fiche). The
+domain on which the pastes become available is `https://p.tyil.nl`. The easiest
+way to create a new paste is with `nc`.
+
+To paste the output of a given command:
+
+```
+$command | nc tyil.nl 9999
+```
+
+Or, to upload the contents of a file:
+
+```
+nc tyil.nl 9999 < file
+```
+
+The buffer size is set to 32k, so that is the maximum size you can paste to it.