From 10854db21eab6270246343dafa3a8bfd68b5fc4b Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Thu, 19 May 2022 01:44:14 -0600 Subject: [PATCH] Add page for t0txt --- content/.obsidian/workspace | 16 ++++++++-------- content/Notica.md | 10 +++++++++- content/t0txt.md | 22 ++++++++++++++++++++++ themes/theme/templates/index.html | 8 -------- 4 files changed, 39 insertions(+), 17 deletions(-) create mode 100644 content/t0txt.md diff --git a/content/.obsidian/workspace b/content/.obsidian/workspace index fc1155e..3bc0279 100644 --- a/content/.obsidian/workspace +++ b/content/.obsidian/workspace @@ -4,12 +4,12 @@ "type": "split", "children": [ { - "id": "23343431d6b81224", + "id": "7f0602e2f0f19f5d", "type": "leaf", "state": { "type": "markdown", "state": { - "file": "Spaceport.md", + "file": "t0txt.md", "mode": "source", "source": false } @@ -69,7 +69,7 @@ "state": { "type": "backlink", "state": { - "file": "Spaceport.md", + "file": "t0txt.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -86,7 +86,7 @@ "state": { "type": "outline", "state": { - "file": "Spaceport.md" + "file": "t0txt.md" } } } @@ -96,17 +96,17 @@ "direction": "horizontal", "width": 300 }, - "active": "23343431d6b81224", + "active": "7f0602e2f0f19f5d", "lastOpenFiles": [ + "t0txt.md", + "Notica.md", "Spaceport.md", "Backup Strategy.md", "Protospace.md", - "Notica.md", "p.md", "QotNews.md", "media/Screenshot from 2022-05-18 16-24-38.png", "media/Pasted image 20220518162452.png", - "media/Pasted image 20220518162414.png", - "Plant Waterer.md" + "media/Pasted image 20220518162414.png" ] } \ No newline at end of file diff --git a/content/Notica.md b/content/Notica.md index 3ee6161..20a6119 100644 --- a/content/Notica.md +++ b/content/Notica.md @@ -10,4 +10,12 @@ You can find the [source code](https://github.com/tannercollin/Notica) on Github ![[notica1.png]] -I do most of my work on remote servers over ssh. When running a slow command (like `apt install`) I'll distract myself by browsing sites like my other project [[QotNews]]. The command will finish running, but I'll still be wasting time reading news articles. Notica helps me stay on track by alerting me when the command finishes. \ No newline at end of file +I do most of my work on remote servers over ssh. When running a slow command (like `apt install`) I'll distract myself by browsing sites like my other project [[QotNews]]. The command will finish running, but I'll still be wasting time reading news articles. Notica helps me stay on track by alerting me when the command finishes. + +Example uses of Notica would be: + +``` +$ sudo apt install freecad ; notica finished installing + +$ rsync -av backup/ myserver:/mnt/backup/ ; notica done backup +``` diff --git a/content/t0txt.md b/content/t0txt.md new file mode 100644 index 0000000..2093a06 --- /dev/null +++ b/content/t0txt.md @@ -0,0 +1,22 @@ +Title: t0txt +Date: 2022-05-15 +Category: Projects +Summary: Minimal command line pastebin. Allows you to upload text notes from a bash pipe or web browser. +Short: t + +[t0txt](https://txt.t0.vc) is a minimalist pastebin. You can upload text notes from the command line by using a bash alias or by submitting text through the web form. + +You can find the [source code](https://github.com/tannercollin/t0txt) on Github. + +The pastes you upload take the form of [txt.t0.vc/IMLV](https://txt.t0.vc/IMLV), where they are identified by four unique capital letters. This makes it easy to memorize the URL while moving it between devices. + +I wrote t0txt in July 2019 and plan to continue hosting it indefinitely. I use it quite often for sysadmin and automation work, so I'm committed to keeping it alive. Here's an example use case: + +``` +$ echo "hello world!" | txt +https://txt.t0.vc/IMLV + +$ curl https://txt.t0.vc/IMLV +hello world! +``` + diff --git a/themes/theme/templates/index.html b/themes/theme/templates/index.html index a7cddfe..56addaf 100644 --- a/themes/theme/templates/index.html +++ b/themes/theme/templates/index.html @@ -61,14 +61,6 @@ {% endfor %} -

- t0txt - — source code -

-
-

Minimal command line pastebin. Allows you to upload text notes from a bash pipe or web browser.

-
-

standardnotes-fs