From 8855b7cfbfd3c5505bb4471bce65e3333db12ec7 Mon Sep 17 00:00:00 2001 From: Travis Briggs Date: Sun, 12 Apr 2020 21:47:42 -0700 Subject: [PATCH] Add links and cleanup formatting on multiple articles --- wiki/source/2fa.md | 4 ++-- wiki/source/archive.org.md | 2 +- wiki/source/bashblog.md | 4 +++- wiki/source/chat.md | 4 ++-- wiki/source/donate.md | 1 - wiki/source/error404.md | 4 ++-- wiki/source/git.md | 2 +- wiki/source/json.md | 4 ++-- wiki/source/leafnode.md | 2 +- wiki/source/security.md | 8 ++++---- wiki/source/slrn.md | 4 ++-- wiki/source/sshfs.md | 17 +++++++---------- wiki/source/time-zone.md | 2 +- wiki/source/tunnelblick.md | 2 +- wiki/source/vpn-gate.md | 2 +- wiki/source/wiki.md | 13 +++++++------ 16 files changed, 37 insertions(+), 38 deletions(-) diff --git a/wiki/source/2fa.md b/wiki/source/2fa.md index d96541a..76e98a5 100644 --- a/wiki/source/2fa.md +++ b/wiki/source/2fa.md @@ -7,7 +7,7 @@ author: deepend To get started, run the following command: - setup-2fa + setup-2fa Allow the command to update your Two-Factor Authentication. After running the command, you’ll be asked a couple of questions, the first one being: @@ -24,7 +24,7 @@ only be used once, so they really are in case of emergency. You’ll then be prompted with several questions, The choices are all about balancing security with ease-of-use. It begins with: - Do you want me to update your "~/.google_authenticator" file (y/n) + Do you want me to update your "~/.google_authenticator" file (y/n) You will need to answer 'yes'(y) for two-factor authentication to work with your login. diff --git a/wiki/source/archive.org.md b/wiki/source/archive.org.md index bb5d95d..10a6040 100644 --- a/wiki/source/archive.org.md +++ b/wiki/source/archive.org.md @@ -2,4 +2,4 @@ title: archive.org --- -archive.org has an archive of tilde.club at http://web.archive.org/web/*/http://tilde.club +archive.org has an archive of tilde.club at [http://web.archive.org/web/*/http://tilde.club](http://web.archive.org/web/*/http://tilde.club) diff --git a/wiki/source/bashblog.md b/wiki/source/bashblog.md index be84380..d9f885c 100644 --- a/wiki/source/bashblog.md +++ b/wiki/source/bashblog.md @@ -1,6 +1,8 @@ --- title: bashblog -author: deepend / benharri +author: + - deepend + - benharri --- diff --git a/wiki/source/chat.md b/wiki/source/chat.md index 38de241..f1af480 100644 --- a/wiki/source/chat.md +++ b/wiki/source/chat.md @@ -12,8 +12,8 @@ in the [tildeverse irc network](https://tilde.chat). the official channel for ~club is `#club`. stop by and say hello! run `chat` to open [weechat](https://weechat.org) auto-connected to our irc -server. try launching [tmux](tmux.html) or [byobu](https://superuser.com/a/423397) -to keep your chat session running. +server. try launching [tmux](tmux.html), [byobu](https://superuser.com/a/423397) + or [screen](screen.html) to keep your chat session running. other clients like irssi are available as well! just connect to localhost on port 6667 and `/join #club`. diff --git a/wiki/source/donate.md b/wiki/source/donate.md index 1165e75..79893a2 100644 --- a/wiki/source/donate.md +++ b/wiki/source/donate.md @@ -19,5 +19,4 @@ develop software using the many tools available to you on tilde.club. Tilde.club does cost money to run, however it all makes it worth it if the community is active and enjoying what we offer. - ask on irc if you have questions! diff --git a/wiki/source/error404.md b/wiki/source/error404.md index 2ced741..09fa465 100644 --- a/wiki/source/error404.md +++ b/wiki/source/error404.md @@ -3,8 +3,8 @@ title: custom 404 author: deepend --- -All users can now setup their own custom 404 error page. Just add a file named 404.html in ~/public_html +All users can now setup their own custom 404 error page. Just add a file named `404.html` in `~/public_html` -An example of one users custom 404: [~benharri](http://tilde.club/~benharri/not_here). +An example of one user's custom 404: [~benharri](http://tilde.club/~benharri/not_here). diff --git a/wiki/source/git.md b/wiki/source/git.md index e01c684..513ecbc 100644 --- a/wiki/source/git.md +++ b/wiki/source/git.md @@ -5,7 +5,7 @@ title: how to use git `git` is a version control system. It's pretty confusing at first, but once you sort out what it can do and can't do, it starts to get better. -This tutorial is pretty good: http://git-scm.com/docs/gittutorial +This tutorial is pretty good: [http://git-scm.com/docs/gittutorial](http://git-scm.com/docs/gittutorial) The best way to learn `git` is to find someone who knows `git` really well and sort out issues with them. Ask on [IRC](chat.html) if you get diff --git a/wiki/source/json.md b/wiki/source/json.md index 208ec93..d50335c 100644 --- a/wiki/source/json.md +++ b/wiki/source/json.md @@ -6,10 +6,10 @@ JSON is the "Javascript Object Notation", basically a file format for data that's suitable for easy processing by most modern web-based tools. Several tilde.club programs expose APIs essentially by spitting out -JSON as their output, including e.g. the list of recently updated home +JSON as their output, including e.g. the list of recently updated home pages at -http://tilde.club/~delfuego/tilde.24h.json +[http://tilde.club/~delfuego/tilde.24h.json](http://tilde.club/~delfuego/tilde.24h.json) If you're looking to parse JSON from the command line with a minimum of code, the `jq` program may be your thing. `jq` is a filter that takes diff --git a/wiki/source/leafnode.md b/wiki/source/leafnode.md index 8cbfce5..fef3f72 100644 --- a/wiki/source/leafnode.md +++ b/wiki/source/leafnode.md @@ -4,4 +4,4 @@ title: Leafnode `leafnode` is a news client suitable for "leaf" nodes, that is nodes that have no downstream feeds. -http://leafnode.sourceforge.net/ +[http://leafnode.sourceforge.net/](http://leafnode.sourceforge.net/) \ No newline at end of file diff --git a/wiki/source/security.md b/wiki/source/security.md index 688db78..a31d8d5 100644 --- a/wiki/source/security.md +++ b/wiki/source/security.md @@ -147,9 +147,9 @@ Back at our command line, lets type the command `id`: The `id` command is a tool to show us how the system keeps track of us. From this we can see that according to the system, our user ID (or uid) is 501, and our group id is also 501. - - Homework - - Run `id` in your own directory, then run - - Run `id -u root` - - use the `grep` command to find your uid in the `/etc/passwd` file +- Homework + - Run `id` in your own directory, then run + - Run `id -u root` + - use the `grep` command to find your uid in the `/etc/passwd` file As noted above, we can obtain our group id using the `id` command. Try locating your group in `/etc/group` using the commands that were specified above; your group name will probably be the same as your user (although at times this might not be true depending on the configuration of the system). diff --git a/wiki/source/slrn.md b/wiki/source/slrn.md index 8c021d6..3b62a2a 100644 --- a/wiki/source/slrn.md +++ b/wiki/source/slrn.md @@ -4,7 +4,7 @@ title: slrn ``slrn`` is a news reader for [Usenet](usenet-news.html). -Documentation for slrn can be found at http://slrn.sourceforge.net +Documentation for slrn can be found at [http://slrn.sourceforge.net](http://slrn.sourceforge.net) -Tilde-specific slrn info is on http://tilde.club/~joeld/slrn.html +Tilde-specific slrn info is on [http://tilde.club/~joeld/slrn.html](http://tilde.club/~joeld/slrn.html) diff --git a/wiki/source/sshfs.md b/wiki/source/sshfs.md index b9b07a7..3a6d818 100644 --- a/wiki/source/sshfs.md +++ b/wiki/source/sshfs.md @@ -5,21 +5,18 @@ title: SSHFS On OS X: - Download the lastest version of OSXFUSE: [http://osxfuse.github.io/](http://osxfuse.github.io/) - brew install sshfs +- Download the lastest version of OSXFUSE: [http://osxfuse.github.io/](http://osxfuse.github.io/) +- `brew install sshfs` Now you can mount a ssh server by issuing the following commands: - mkdir tilde.club - sshfs jeffbonhag@tilde.club:/home/jeffbonhag tilde.club - - - + mkdir tilde.club + sshfs jeffbonhag@tilde.club:/home/jeffbonhag tilde.club If you're on Linux and want to make an entry in your fstab: -mkdir -p /mnt/tilde.club + mkdir -p /mnt/tilde.club Put an entry in your `/etc/fstab` like this: @@ -27,12 +24,12 @@ jeffbonhag@tilde.club:/home/jeffbonhag /mnt/tilde.club fuse.sshfs _netdev,user, then you can do - mount /mnt/tilde.club + mount /mnt/tilde.club If you want to use an identity file to mount instead of a password, this may work (untested): -jeffbonhag@tilde.club:/home/jeffbonhag /mnt/tilde.club fuse.sshfs _netdev,user,idmap=user,transform_symlinks,identityfile=/home/USER_C/.ssh/id_rsa,allow_other,default_permissions,uid=USER_C_ID,gid=GROUP_C_ID,umask=0 0 0 + jeffbonhag@tilde.club:/home/jeffbonhag /mnt/tilde.club fuse.sshfs _netdev,user,idmap=user,transform_symlinks,identityfile=/home/USER_C/.ssh/id_rsa,allow_other,default_permissions,uid=USER_C_ID,gid=GROUP_C_ID,umask=0 0 0 Although -- do you really need to do this? It just occurred to me that the first command is just as easy, and probably makes more sense. diff --git a/wiki/source/time-zone.md b/wiki/source/time-zone.md index 1997395..64cfaa9 100644 --- a/wiki/source/time-zone.md +++ b/wiki/source/time-zone.md @@ -10,5 +10,5 @@ to find the correct timezone name that you'll need to export as the `TZ` environ for example, if you're in eastern time, add something like this `export TZ="America/Detroit"` -to your `.bashrc` . +to your `.bashrc` diff --git a/wiki/source/tunnelblick.md b/wiki/source/tunnelblick.md index d4df810..dd6c150 100644 --- a/wiki/source/tunnelblick.md +++ b/wiki/source/tunnelblick.md @@ -8,6 +8,6 @@ tilde.club via a network that does not allow high UDP ports; with a properly configured tunnel, you can still run [[mosh]] as your shell and keep on truckin. -https://code.google.com/p/tunnelblick/ +[https://tunnelblick.net/](https://tunnelblick.net/) To find a VPN endpoint, see the [VPN Gate](vpn-gate.html) project. diff --git a/wiki/source/vpn-gate.md b/wiki/source/vpn-gate.md index f5d3e33..d98beb3 100644 --- a/wiki/source/vpn-gate.md +++ b/wiki/source/vpn-gate.md @@ -6,7 +6,7 @@ title: VPN Gate evade censorship and filtering by setting up VPN tunnels. It was designed with the Great Firewall of China in mind. -http://www.vpngate.net/en/ +[http://www.vpngate.net/en/](http://www.vpngate.net/en/) You may need client side software to make this work; [tunnelblick](tunnelblick.html) is one such service on the Mac. diff --git a/wiki/source/wiki.md b/wiki/source/wiki.md index 1d4e1a1..2bb463b 100644 --- a/wiki/source/wiki.md +++ b/wiki/source/wiki.md @@ -10,19 +10,20 @@ or maybe you just found a typo on one of the existing pages! follow these steps to submit a change. 1. grab a copy of the site's source code +```bash + git clone https://github.com/tildeclub/site tilde.club && cd tilde.club/wiki +``` - git clone https://github.com/tildeclub/site tilde.club && cd tilde.club/wiki - -1. make a new article or update an existing one. make sure that you create the +2. make a new article or update an existing one. make sure that you create the title and author keys in the yaml frontmatter (see an existing article for an example) -1. submit the code via a PR on github or with git-send-email(1) to root@tilde.club +3. submit the code via a PR on github or with git-send-email(1) to root@tilde.club see [git-send-email.io](https://git-send-email.io) for more info on how to use it. if you're working locally on tilde.club, you won't have to configure anything; git will use the system's sendmail to handle the email. -1. profit??? +4. profit??? -ask on irc if you have questions! +ask on [irc](chat.html#irc) if you have questions!