Merge pull request 'Some application and post changes' (#20) from anton/journal:master into master
continuous-integration/drone/push Build is passing Details

Reviewed-on: #20

This should clean up some code, and also solve the problem once, and for all, and forever, as we wont have to revisit this issue 6 months from now when someone changes their mind again.
This commit is contained in:
ubergeek 2022-01-26 16:51:07 +00:00
commit 82a598b6e7
6 changed files with 37 additions and 173 deletions

View File

@ -1,88 +0,0 @@
---
title: "How to Get Started with Tildes"
author: "Anton McClure"
date: "2020-06-30"
published: true
---
Originally published at [antonmcclure.com](https://www.antonmcclure.com/how-to-get-started-with-tildes.html)
* * *
In the article <q>[What are Tildes and How You Can Use Tilde Computing](https://www.antonmcclure.com/what-are-tildes-and-how-you-can-use-tilde-computing.html)</q>, I was mainly focusing on one of the most prominent tilde communities: the tildeverse. However, there are more than the ones on the tildeverse member list, such as [tilde.pw](https://tilde.pw).
If you hadn't signed up for a tilde yet, such as one of the above tildes, feel free to check them out and sign up for one, both, or any other tildes!
## Logging In
Most functions and features on tildes get done over a **S**ecure **Sh**ell (SSH) connection. Many tildes require SSH keys for logging on to their server(s). If you are unfamiliar with what these are, or don't know how to generate one, feel free to check out my guide on [how to make an SSH key pair](https://www.antonmcclure.com/openssh-basics.html). You can connect from virtually any device running Windows 10, macOS, Linux, UNIX, and most UNIX-based/UNIX-like systems using a tool called OpenSSH, a free implementation of the SSH protocol.
The exact method you'll use to log in varies between operating systems. The standard methods for using SSH are as shown below:
**Microsoft Windows 10:**
1. Open PowerShell (Win+X and select "Windows PowerShell").
2. Type `ssh domain.tld -l username` and then press the `enter` key.
3. Type your SSH password or key passphrase if you set one.
Legacy versions of Windows require third-party software, such as [PuTTY](https://www.antonmcclure.com/putty-guide.html).
**Apple macOS (formerly Mac OS X & OS X):**
1. Open Terminal.
2. Type `ssh domain.tld -l username` and then press the `enter` key.
3. Type your SSH password or key passphrase if you set one.
**Linux and other UNIX:**
1. Open your distro's terminal, or use TTY1-7.
2. Type `ssh domain.tld -l username` and then press the `enter` key.
3. Type your SSH password or key passphrase if you set one.
## Creating and Editing Files
Most tildes have multiple text editors and line editors installed. Some of the most popular choices include `nano` and `vim`, and you are free to choose whichever one you like. If you do not have experience with either, then I recommend using `nano` as it tends to be more beginner-friendly and more user-friendly. Nano, by default, lists various common. Key combinations beginning with `^` use your `CTRL` key, and combinations beginning with `M` use your `ALT` key.
For more help with the editors, you may view their manuals with `man nano` or `man vim`.
## Chatting
Tildes typically have multiple ways you can communicate such as
- IRC
- Email
- `talk`
There are more options, but these tend to be the most popular options.
Most tildes come with popular IRC clients such as `weechat` and `irssi`. If you want to be active or participate in other parts of the Tildeverse, feel free to connect to the Tildeverse's IRC network: `tilde.chat`. The commands you'll use are as follows:
**WeeChat:**
`/server add tilde irc.tilde.chat/6697 -ssl -autoconnect`
**IRSSI:**
`/network add tilde`
`/server add -auto -net tilde -ssl -ssl_verify irc.tilde.chat 6697`
## Emailing
While some tildes are member-only, many tildes, especially the newer tildes, allow external emailing. I use `alpine` for emailing on both my VPS and *tilde.pw*. It's a very user-friendly client, provides helpful information about commands and features for if the user needs it, and is easy to set up and customize if the user wishes to do so.
## Conclusion
All tildes have their own set of software and use cases. I run [tilde.pw](https://tilde.pw) with [neko](https://tilde.pw/~neko/). If either are interesting to you, feel free to sign up, and start making the most out of your new tilde account!
If you have any questions, or want to see more articles and possibly guides on different tilde things, comment below or [email me](https://www.antonmcclure.com/#contact)!
I'm also planning on adding a section to my site that is dedicated to the tildeverse and other tildes, including a list of different tilde servers. If you want your tilde in the list, feel free to contact me with the above information.
Have fun tildeing!
* * *
Copyright &copy; 2020, Anton McClure.
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).

View File

@ -20,7 +20,17 @@ if (file_exists($filename)) {
$yml = $document->getYAML(); $yml = $document->getYAML();
$content = $document->getContent(); $content = $document->getContent();
$title = $yml["title"] ?? "invalid"; $title = $yml["title"] ?? "invalid";
$author = htmlspecialchars($yml["author"]); $date = htmlspecialchars($yml["date"]);
$author_name = htmlspecialchars($yml["author_name"]);
if (isset($yml["author_link"])) {
$author_link = htmlspecialchars($yml["author_link"]);
$author = "<a href=\"$author_link\">$author_name</a>";
} else {
$author = $author_name;
}
if (isset($yml["original_link"])):
$original_link = htmlspecialchars($yml["original_link"]);
endif;
$description = "journal entry {$entry_name}: {$yml["title"]} by {$author}"; $description = "journal entry {$entry_name}: {$yml["title"]} by {$author}";
include __DIR__."/../header.php"; include __DIR__."/../header.php";
@ -29,13 +39,17 @@ if (file_exists($filename)) {
<a href=".">&lt; back to list</a> <a href=".">&lt; back to list</a>
<h1> <h1>
<?=$yml["title"]?> <?=$title?>
<?=$yml["published"] ? "" : " <small><em>draft</em></small>" ?> <?=$yml["published"] ? "" : " <small><em>draft</em></small>" ?>
</h1> </h1>
<p>author: <?=$author?></p> <p>author: <?=$author?></p>
<p>date: <?=$yml["date"]?></p> <p>date: <?=$date?></p>
<br /> <br />
<?php if (isset($original_link)): ?>
<p>Originally published at <a href="<?=$original_link?>"><?=$original_link?></a>.</p>
<br />
<?php endif; ?>
<?=$content?> <?=$content?>
@ -54,12 +68,23 @@ if (file_exists($filename)) {
<h1>journal entries</h1> <h1>journal entries</h1>
<ul> <ul>
<?php foreach ($entries as $entry) { <?php foreach ($entries as $entry) {
if (!$entry["yml"]["published"]) continue; ?> if (!$entry["yml"]["published"]) continue;
$title = $entry["yml"]["title"] ?? "invalid";
$date = htmlspecialchars($entry["yml"]["date"]);
$author_name = htmlspecialchars($entry["yml"]["author_name"]);
if (isset($entry["yml"]["author_link"])) {
$author_link = htmlspecialchars($entry["yml"]["author_link"]);
$author = "<a href=\"$author_link\">$author_name</a>";
} else {
$author = $author_name;
} ?>
<li> <li>
<a href="/entries/<?=$entry["slug"]?>"> <a href="/entries/<?=$entry["slug"]?>"><?=$title?></a>
<?=$entry["yml"]["title"]?> by <?=$entry["yml"]["author"]?> by
</a> <?=$author?>
&mdash;
<?=$date?>
</li> </li>
<?php } ?> <?php } ?>
</ul> </ul>

View File

@ -1,36 +0,0 @@
---
title: "Privacy Matters"
author: "Anton McClure"
date: "2020-03-12"
published: true
---
Originally published at [antonmcclure.com](https://www.antonmcclure.com/privacy-matters.html)
* * *
There's no doubt to many people that we are living in a highly-connected Internet age full of big data. As the amount of big data goes up, so does the importance of protecting people's privacy. After the GDPR took effect in May 2018, sites were required to say when they'd use cookies, and what those cookies do.
However, for many websites, the *cookie consent* banners still [broke the law by making it hard to reject all tracking](https://www.zdnet.com/article/cookie-consent-most-websites-break-law-by-making-it-hard-to-reject-all-tracking/), were [manipulative or completely meaningless](https://techcrunch.com/2019/08/10/most-eu-cookie-consent-notices-are-meaningless-or-manipulative-study-finds/), and sometimes were used to [undermine the user's privacy](https://techcrunch.com/2020/01/10/cookie-consent-tools-are-being-used-to-undermine-eu-privacy-rules-study-suggests/). What do companies do with these cookies and trackers behind the scenes that they might not want us to know about?
## Why do People Use Cookies?
Companies and people use cookies for analytics, ads, security products, and more. This is usually to just find how sites are being used and what content is popular, but it's often for money and maximizing profit off of user data. This data, for some sites, include personal details such as your full name, usernames, home address, email address, Social Security number or National Identification number, passport or Federal ID info, credit/debit card info, date of birth, phone numbers, login details, and much more, along with linkable information such as first or last name alone, country, state, province, city, gender, race, age, job, position, and workplace. What many don't know is how this data can get used if in the wrong hands: to track where users go online and offline to target the user with ads based on their online and offline activities.
Privacy policies exist to let users know how their data gets used, but you'll have to put blind trust in these documents, and hope that nobody is still [violating user privacy](https://medium.com/bestcompany/5-companies-that-have-been-caught-violating-their-customers-privacy-9cfe660ea3eb).
## Solutions
Several browsers such as Google Chrome and Firefox have extensions as well as privacy and security options that you may use to block various trackers, cross-site content, crypto miners, fingerprinters, or even all third-party and first-party cookies. Blocking all third-party and especially first-party cookies, however, may cause websites to break if they're used to store preferences or login info.
Make sure you thoroughly go through Terms of Services and Privacy Policies before signing up for a service. Even then, you can't be sure that companies are going to follow their own terms.
## In the End
There's no doubt that privacy matters in a world full of tracking and surveillance nearly everywhere. We shouldn't have to put up with or end all tracking, but we need to promote the idea and help people understand privacy matters.
* * *
Copyright &copy; 2020, Anton McClure.
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).

View File

@ -1,11 +1,12 @@
--- ---
title: "hello" title: "hello"
author: "Ben Harris" author_name: "Ben Harris"
author_link_: "https://tilde.team/~ben/"
date: "2019-09-09" date: "2019-09-09"
published: false published: false
--- ---
# hello! ## hello!
this is a sample journal entry. this is a sample journal entry.

View File

@ -1,38 +0,0 @@
---
title: 'What are "Tildes" and How You Can Use "Tilde Computing"'
author: "Anton McClure"
date: "2019-09-12"
published: true
---
Originally published at [antonmcclure.com](https://www.antonmcclure.com/what-are-tildes-and-how-you-can-use-tilde-computing.html)
* * *
## What are Tildes
A "tilde" server is a public access server running any operating system. These servers are hosted in various ways with many different technologies, ranging from a Raspberry Pi at someones home, to powerful dedicated servers in the Cloud, and nearly everything in between.
The first "tilde" known as [tilde.club](https://medium.com/message/tilde-club-i-had-a-couple-drinks-and-woke-up-with-1-000-nerds-a8904f0a2ebf) by Paul Ford, started in 2014, provided shell accounts and basic services for its users. However, it grew quickly leaving the admin unable to handle all the new user requests. Due to its growing waitlist, different servers became available. Many of these are now defunct, but some of them still exist to this day. Many of these tildes were exclusive/limited to members only, and services were mostly or completely intranet-only. While there were efforts between some tildes to combine services, most of their efforts fell flat. One of the successful efforts started with a group of tilde servers making a shared IRC network known as tilde.chat, which grew as more tildes were made and joined. This group eventually became the loose association known as the tildeverse.
## What do Tildes Do Different
The tildeverse allows learning and using UNIX, Linux, BSD, and other operating systems without having to have the system installed on your computers or servers. When members were asked, the common responses were that tildes are free, not for profit, inclusive, everyones welcomed, and is seen as a safe place for pro-foss beliefs and homebrewed tools.
Despite most similar services requiring a paid membership, or being completely paid, the tildeverse offers many things for free with optional donations.
## Introducing: "Tilde as an Example"
"Tilde as an Example" is a planned series that takes a look at one or more tilde servers, and uses them for testing, development, demonstration, and other various uses. This also utilizes tildes to their full potential and incorporates innovative and modern technologies within tilde environments.
Being an open environment, readers are free to try "Tilde as an Example" things for themselves.
## Getting Started with Tilde Computing
Any server can become a tilde server easily. All thats needed is a basic server (running any operating system) and a community of users.
If you find tildes interesting or want to join the tilde community without the required setup, Id recommend joining a server such as "[tilde.pw](https://tilde.pw)" by [neko](https://tilde.pw/~neko), or a different tilde such as "tilde.team" by ben, "thunix" by ubergeek, or any other tilde. These tildes provide many great services, primarily use only free software, and run on powerful servers.
For those who are already a tilde member, what do tildes mean to you?
* * *
Copyright &copy; 2019, Anton McClure.
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).

View File

@ -1,5 +1,5 @@
<hr> <hr>
<div class="text-center">This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.</div> <div class="text-center" style="margin-bottom:22px">This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.</div>
</div> </div>
</body> </body>
</html> </html>