commit 2ec36d8557e51e412940f419861cb80ea8b08004 Author: ben clark Date: Wed Mar 10 17:33:58 2021 +0000 migrate from phabricator diff --git a/coc/index.html b/coc/index.html new file mode 100644 index 0000000..c5c2b9b --- /dev/null +++ b/coc/index.html @@ -0,0 +1,72 @@ + + + + + + code of conduct - south london + + + + + +
+

code of + conduct

+
+
+

🌿 home · 🌱 signup · 🌺 webterm · 🌷 code of conduct · 🌻 wiki · 💐 faq

+ hi! south london is a public access unix system that people can use to make things & interact with others on the system via irc and email. these are a few rules that you need to keep to when doing that. + (this code of conduct is stolen based on the citizen code of conduct and the tilde.town code of conduct under the terms of the creative commons attribution-sharealike license,) +

expected behaviour

+ the following behaviours are expected and requested of all members of our community. + +

unacceptable behavior

+ the following behaviors are considered harassment and are unacceptable within our community: + +

resource use

+ all users must be respectful of system resources, we are quite a small tilde for the time being. anyone using excessive amounts of storage, ram or cpu will be nicely asked to stop, then sternly asked to stop, see the next section for more details. +

consequences of unacceptable behavior

+ unacceptable behavior from any community member, including sponsors and those with decision-making authority (sudo), will not be tolerated. +
+ anyone asked to stop unacceptable behavior is expected to comply immediately. +
+ if a community member engages in unacceptable behavior, the community organizers may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from tilde.team without warning (meaning your account will be terminated and all user data deleted). +

reporting guidelines

+

if you are subject to or witness unacceptable behavior, or have any other concerns, please contact an admin (see info below). +
+ additionally, help engaging with law enforcement is available.

+

addressing grievances

+

if you feel you have been falsely or unfairly accused of violating this code of conduct, use the contact info below to send a concise description of your grievance.

+

scope

+ we expect all south london members to abide by this code of conduct while: + +

contact info

+

send an email to: + root (at) southlondon (dot) cc + or to benclark006 (at) outlook (dot) com

+
+
+ this document is not all encompassing, we reserve the right to throw your account into the sun for any reason at any time. +
+ thank you and gosh bless. +
+ + \ No newline at end of file diff --git a/faq/index.html b/faq/index.html new file mode 100644 index 0000000..c0ffc8f --- /dev/null +++ b/faq/index.html @@ -0,0 +1,37 @@ + + + + + + signup - south london + + + + + +
+

"frequently" asked + questions

+
+
+

🌿 home · 🌱 signup · 🌺 webterm · 🌷 code of conduct · 🌻 wiki · 💐 faq

+

signing up

+

what are these ssh key whatchamacallits that you speak of?

+

ssh keys are a method of authentication that the server can use to make sure you're actually you logging in, and not just some guy trying to get into your account. it works using magic and offers security that your bog-standard password simply can't provide. if you need to generate one, check out this handy guide! after you have one generated, you can use cat ~/.ssh/id_rsa.pub to get your public key that you can paste into the signup email. (note: if your keys are stored somewhere else you'll need to change the second part to the path where they're located, but you probably knew that already).

+

wait, so why would i want to sign up this again?

+

mostly becuase
+ a) it's fun
+ b) it's a good practice zone if you're new to *nix operating systems and need somewhere to play around with things
+ c) we have a good community that can help you out if you're stuck. +

+

account deletion etc.

+

how can i delete my account?

+

send an email to benclark006@outlook.com using the email that you used to sign up and say you want out, and i'll delete it.

+

can i request a copy of my data?

+

yes! send an email to benclark006@outlook.com and i'll send you a copy of your data within 14 days.

+

other

+

how are you?

+

depends on when you're reading this

+
+ + \ No newline at end of file diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000..92dbbbe --- /dev/null +++ b/favicon.svg @@ -0,0 +1,3 @@ + + + diff --git a/fonts.css b/fonts.css new file mode 100644 index 0000000..c49f2cf --- /dev/null +++ b/fonts.css @@ -0,0 +1,51 @@ +/* fredoka-one-regular - latin */ +@font-face { + font-family: 'Fredoka One'; + font-style: normal; + font-weight: 400; + src: url('/fonts/fredoka-one-v8-latin-regular.eot'); /* IE9 Compat Modes */ + src: local(''), + url('/fonts/fredoka-one-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('/fonts/fredoka-one-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('/fonts/fredoka-one-v8-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('/fonts/fredoka-one-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('/fonts/fredoka-one-v8-latin-regular.svg#FredokaOne') format('svg'); /* Legacy iOS */ +} +/* manrope-regular - latin */ +@font-face { + font-family: 'Manrope'; + font-style: normal; + font-weight: 400; + src: url('/fonts/manrope-v4-latin-regular.eot'); /* IE9 Compat Modes */ + src: local(''), + url('/fonts/manrope-v4-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('/fonts/manrope-v4-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('/fonts/manrope-v4-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('/fonts/manrope-v4-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('/fonts/manrope-v4-latin-regular.svg#Manrope') format('svg'); /* Legacy iOS */ + } + + /* manrope-700 - latin */ + @font-face { + font-family: 'Manrope'; + font-style: normal; + font-weight: 700; + src: url('/fonts/manrope-v4-latin-700.eot'); /* IE9 Compat Modes */ + src: local(''), + url('/fonts/manrope-v4-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('/fonts/manrope-v4-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ + url('/fonts/manrope-v4-latin-700.woff') format('woff'), /* Modern Browsers */ + url('/fonts/manrope-v4-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ + url('/fonts/manrope-v4-latin-700.svg#Manrope') format('svg'); /* Legacy iOS */ +} + +@font-face { + font-family: "Comic Mono"; + font-weight: 400; + src: url("/fonts/ComicMono.ttf") format("truetype"); +} +@font-face { + font-family: "Comic Mono"; + font-weight: 700; + src: url("/fonts/ComicMono-Bold.ttf") format("truetype"); +} \ No newline at end of file diff --git a/fonts/ComicMono-Bold.ttf b/fonts/ComicMono-Bold.ttf new file mode 100644 index 0000000..e03f41e Binary files /dev/null and b/fonts/ComicMono-Bold.ttf differ diff --git a/fonts/ComicMono.ttf b/fonts/ComicMono.ttf new file mode 100644 index 0000000..9bc7354 Binary files /dev/null and b/fonts/ComicMono.ttf differ diff --git a/fonts/fredoka-one-v8-latin-regular.ttf b/fonts/fredoka-one-v8-latin-regular.ttf new file mode 100644 index 0000000..a61da80 Binary files /dev/null and b/fonts/fredoka-one-v8-latin-regular.ttf differ diff --git a/fonts/fredoka-one-v8-latin-regular.woff b/fonts/fredoka-one-v8-latin-regular.woff new file mode 100644 index 0000000..7379d6e Binary files /dev/null and b/fonts/fredoka-one-v8-latin-regular.woff differ diff --git a/fonts/fredoka-one-v8-latin-regular.woff2 b/fonts/fredoka-one-v8-latin-regular.woff2 new file mode 100644 index 0000000..d38c405 Binary files /dev/null and b/fonts/fredoka-one-v8-latin-regular.woff2 differ diff --git a/fonts/manrope-v4-latin-200.ttf b/fonts/manrope-v4-latin-200.ttf new file mode 100644 index 0000000..65e915a Binary files /dev/null and b/fonts/manrope-v4-latin-200.ttf differ diff --git a/fonts/manrope-v4-latin-200.woff b/fonts/manrope-v4-latin-200.woff new file mode 100644 index 0000000..e30530a Binary files /dev/null and b/fonts/manrope-v4-latin-200.woff differ diff --git a/fonts/manrope-v4-latin-200.woff2 b/fonts/manrope-v4-latin-200.woff2 new file mode 100644 index 0000000..7d8b26d Binary files /dev/null and b/fonts/manrope-v4-latin-200.woff2 differ diff --git a/fonts/manrope-v4-latin-300.ttf b/fonts/manrope-v4-latin-300.ttf new file mode 100644 index 0000000..31925d7 Binary files /dev/null and b/fonts/manrope-v4-latin-300.ttf differ diff --git a/fonts/manrope-v4-latin-300.woff b/fonts/manrope-v4-latin-300.woff new file mode 100644 index 0000000..2edd21e Binary files /dev/null and b/fonts/manrope-v4-latin-300.woff differ diff --git a/fonts/manrope-v4-latin-300.woff2 b/fonts/manrope-v4-latin-300.woff2 new file mode 100644 index 0000000..dce0ab3 Binary files /dev/null and b/fonts/manrope-v4-latin-300.woff2 differ diff --git a/fonts/manrope-v4-latin-500.ttf b/fonts/manrope-v4-latin-500.ttf new file mode 100644 index 0000000..5f5b839 Binary files /dev/null and b/fonts/manrope-v4-latin-500.ttf differ diff --git a/fonts/manrope-v4-latin-500.woff b/fonts/manrope-v4-latin-500.woff new file mode 100644 index 0000000..cf1a2c6 Binary files /dev/null and b/fonts/manrope-v4-latin-500.woff differ diff --git a/fonts/manrope-v4-latin-500.woff2 b/fonts/manrope-v4-latin-500.woff2 new file mode 100644 index 0000000..6f45fdf Binary files /dev/null and b/fonts/manrope-v4-latin-500.woff2 differ diff --git a/fonts/manrope-v4-latin-600.ttf b/fonts/manrope-v4-latin-600.ttf new file mode 100644 index 0000000..7903e9f Binary files /dev/null and b/fonts/manrope-v4-latin-600.ttf differ diff --git a/fonts/manrope-v4-latin-600.woff b/fonts/manrope-v4-latin-600.woff new file mode 100644 index 0000000..2ef7f12 Binary files /dev/null and b/fonts/manrope-v4-latin-600.woff differ diff --git a/fonts/manrope-v4-latin-600.woff2 b/fonts/manrope-v4-latin-600.woff2 new file mode 100644 index 0000000..225ff10 Binary files /dev/null and b/fonts/manrope-v4-latin-600.woff2 differ diff --git a/fonts/manrope-v4-latin-700.ttf b/fonts/manrope-v4-latin-700.ttf new file mode 100644 index 0000000..cb744cc Binary files /dev/null and b/fonts/manrope-v4-latin-700.ttf differ diff --git a/fonts/manrope-v4-latin-700.woff b/fonts/manrope-v4-latin-700.woff new file mode 100644 index 0000000..fd595fe Binary files /dev/null and b/fonts/manrope-v4-latin-700.woff differ diff --git a/fonts/manrope-v4-latin-700.woff2 b/fonts/manrope-v4-latin-700.woff2 new file mode 100644 index 0000000..48fb480 Binary files /dev/null and b/fonts/manrope-v4-latin-700.woff2 differ diff --git a/fonts/manrope-v4-latin-800.ttf b/fonts/manrope-v4-latin-800.ttf new file mode 100644 index 0000000..bf5a9e2 Binary files /dev/null and b/fonts/manrope-v4-latin-800.ttf differ diff --git a/fonts/manrope-v4-latin-800.woff b/fonts/manrope-v4-latin-800.woff new file mode 100644 index 0000000..9faad7e Binary files /dev/null and b/fonts/manrope-v4-latin-800.woff differ diff --git a/fonts/manrope-v4-latin-800.woff2 b/fonts/manrope-v4-latin-800.woff2 new file mode 100644 index 0000000..32a8e61 Binary files /dev/null and b/fonts/manrope-v4-latin-800.woff2 differ diff --git a/fonts/manrope-v4-latin-regular.ttf b/fonts/manrope-v4-latin-regular.ttf new file mode 100644 index 0000000..a0fcb1d Binary files /dev/null and b/fonts/manrope-v4-latin-regular.ttf differ diff --git a/fonts/manrope-v4-latin-regular.woff b/fonts/manrope-v4-latin-regular.woff new file mode 100644 index 0000000..e2824b7 Binary files /dev/null and b/fonts/manrope-v4-latin-regular.woff differ diff --git a/fonts/manrope-v4-latin-regular.woff2 b/fonts/manrope-v4-latin-regular.woff2 new file mode 100644 index 0000000..966fb7b Binary files /dev/null and b/fonts/manrope-v4-latin-regular.woff2 differ diff --git a/index.php b/index.php new file mode 100755 index 0000000..a605c9a --- /dev/null +++ b/index.php @@ -0,0 +1,48 @@ + + + + + + south london + + + + + + +
+

south + london

+
+
+

🌿 home · 🌱 signup · 🌺 webterm · 🌷 code of conduct · 🌻 wiki · 💐 faq

+ south london is a shared computer based in the uk that you can use to make cool things and practice your unix skills. if you're new to *nix, this is a good place to start! +
+ the main perk of using this server over any other pubnix is that +
    +
  1. we're based in the uk, so if you're in or near there you'll get much better ping
  2. +
  3. we have a much better name than most other pubnixes
  4. +
+
+ the server is currently in beta, so don't try to put any super-sensitive files on here just in case there's a security hole that hasn't been patched up yet. (if you do spot one, let me know!) +
+ +
+
+

users

+ this is a list of every user page on the server. + +
+
+ enjoy and god save the queen
+ - ben / lp0 / cark + (this site's code can be found over here) +
+ + diff --git a/main.css b/main.css new file mode 100644 index 0000000..8fc66ef --- /dev/null +++ b/main.css @@ -0,0 +1,107 @@ +@import url(/fonts.css); +body { + background: #fff; + margin:0; + font-family: 'Manrope', sans-serif; +} + +.header { + font-family: 'Fredoka One', cursive; + text-align: center; + font-size: 4em; + position: relative; + width: calc(100% - 16px); /* css weirdness */ + padding: 50px 8px 100px 8px; + background: #B7EBCA; + color: #316A3A; + line-height: 100%; +} +.header-wiki { + padding: 80px 8px 140px 8px; +} +.header-wiki p { + margin-bottom: -20px; +} + +.header:after { + background: linear-gradient(-45deg, #fff 16px, transparent 0), linear-gradient(45deg, #fff 16px, transparent 0); + background-position: left-bottom; + background-repeat: repeat-x; + background-size: 32px 32px; + content: " "; + display: block; + position: absolute; + bottom: 0px; + left: 0px; + width: 100%; + height: 32px; +} + +main { + max-width: 900px; + margin: auto; + padding: 24px 10%; +} + +h1,h2,h3 { + font-family: 'Fredoka One', cursive; +} + +hr.zig, hr.zag { + border: none; + height: 30px; + margin: 12px 0; +} +hr.zig{ +background: linear-gradient(-135deg, #FFF 20px, rgba(0, 0, 0, 0) 0) 0 5px, linear-gradient(135deg, #FFF 20px, rgba(0, 0, 0, 0) 0) 0 5px; +background-color: rgba(0, 0, 0, 0); +background-position: center bottom; +background-repeat: repeat-x; +background-size: 20px 40px; +z-index: 100; +position: relative; +} +hr.zag { +background: linear-gradient(-135deg, #b1b1b1 20px, rgba(0, 0, 0, 0) 0) 0 5px, linear-gradient(135deg, #b1b1b1 20px, #FFF 0) 0 5px; +background-color: rgba(0, 0, 0, 0); +background-position: center bottom; +background-repeat: repeat-x; +background-size: 20px 40px; +z-index: 50; +margin-top: -40px; +} + +a { + color: #000; +} + +/* colours */ + +.header-red { + background: #f0b2b2; + color: #7e1616; +} + +.header-orange { + background: #f0d5b2; + color: #7e3c16; +} + +.header-blue { + background: #b2cbf0; + color: #26167e; +} + +/* code blocks */ + +pre { + width: 100%; + background-color: #e4e4e4; + padding: 12px 18px; + border-radius: 4px; +} +code { + font-family: 'Comic Mono', monospace; + font-size: 14px; + font-weight: 400; +} \ No newline at end of file diff --git a/main.js b/main.js new file mode 100644 index 0000000..e69de29 diff --git a/signup/index.html b/signup/index.html new file mode 100644 index 0000000..5f9482d --- /dev/null +++ b/signup/index.html @@ -0,0 +1,23 @@ + + + + + + signup - south london + + + + + +
+

signup

+
+
+

🌿 home · 🌱 signup · 🌺 webterm · 🌷 code of conduct · 🌻 wiki · 💐 faq

+

shoot an email at benclark006@outlook.com.

+

+ you'll need to include you're desired username, ssh public key (see faq for details) and a note saying you've read the code of conduct and that you're over thirteen so i don't get sued. if you prefer a specific shell over bash, you can include that on the email too.

+ enjoy the tilde! +
+ + \ No newline at end of file diff --git a/wiki/.gitignore b/wiki/.gitignore new file mode 100644 index 0000000..0b84df0 --- /dev/null +++ b/wiki/.gitignore @@ -0,0 +1 @@ +*.html \ No newline at end of file diff --git a/wiki/Makefile b/wiki/Makefile new file mode 100644 index 0000000..de45523 --- /dev/null +++ b/wiki/Makefile @@ -0,0 +1,16 @@ +# stolen from https://tildegit.org/ben/club-site/src/branch/master/Makefile + +SRC_MD_FILES != find . -type f \( -name '*.md' ! -name 'README.md' \) +DST_HTML_FILES := $(SRC_MD_FILES:%.md=%.html) + +all: $(DST_HTML_FILES) + +%.html: %.md + $(info building $@) + @pandoc --template html.template -so $@ $< + +clean: + $(info removing build artifacts) + @rm $(DST_HTML_FILES) + +.PHONY: clean \ No newline at end of file diff --git a/wiki/contribute.md b/wiki/contribute.md new file mode 100644 index 0000000..05ea094 --- /dev/null +++ b/wiki/contribute.md @@ -0,0 +1,63 @@ +--- +title: contributing +subtitle: how to help out +author: cark +date: 2021-03-05 +--- +this wiki is written with markdown and turned into html with pandoc. i store everything on my phabricator instance @ https://code.cark.website/. if you're not familiar with phabricator already, the workflow may seem a little bit strange but this doc will try to guide you through it. if you're stuck, don't hesitate to send a message on irc! + +0. make an account on the [phabricator instance ](https://code.cark.website/) + signups require approval beforehand to reduce spam, just ping an admin on irc and they'll approve it. + +1. clone the repo from phabricator: +```bash +cark@southlondon:~$ git clone https://code.cark.website/diffusion/4/south-london.git +Cloning into 'south-london'... +remote: Enumerating objects: 111, done. +remote: Counting objects: 100% (111/111), done. +remote: Compressing objects: 100% (99/99), done. +remote: Total 111 (delta 51), reused 0 (delta 0), pack-reused 0 +Receiving objects: 100% (111/111), 251.23 KiB | 2.03 MiB/s, done. +Resolving deltas: 100% (51/51), done. +``` + +2. make your changes + if you've never used markdown, you might want to have a look at [this here cheat sheet](https://www.markdownguide.org/cheat-sheet/) + +3. build it + run `make` to build all wiki pages, you can then open up a http server and browse away! +```bash +cark@southlondon:~/south-london/wiki$ make +building contribute.html +$ python3 -m http.server 8000 +Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ... +# wiki content will be served up at http://localhost:8000/wiki/ +``` +4. commit and submit a diff to phabricator +```bash +cark@southlondon:~/south-london/wiki$ git diff > patch.diff +# upload the file it spits out to https://code.cark.website/differential/diff/create/ + +# you can also use arc for this if you have it installed +cark@southlondon:~/south-london/wiki$ arc diff +You have uncommitted changes in this working copy. + + Working copy: /home/cark/south-london/ + + Unstaged changes in working copy: + changes.diff + +Uncommitted changes in working copy: + site/fonts/ComicMono-Bold.ttf + site/fonts/ComicMono.ttf + site/main.css + site/wiki/contribute.md + + + Do you want to create a new commit with these 5 change(s)? [y/N] y +# fill in the blanks when asked + +``` +5. fill in the details + give it a name, describe your changes, add a test plan (usually just run make and open in an http server). set south london as the tag. +after you've submitted it, you can ping an admin on irc or just wait for someone to see it and they'll review it. keep an eye on the comments in case changes are needed. \ No newline at end of file diff --git a/wiki/html.template b/wiki/html.template new file mode 100644 index 0000000..e8e78ae --- /dev/null +++ b/wiki/html.template @@ -0,0 +1,81 @@ + + + + + + +$for(author-meta)$ + +$endfor$ +$if(date-meta)$ + +$endif$ +$if(keywords)$ + +$endif$ + $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ - south london + +$if(highlighting-css)$ + +$endif$ + +$if(math)$ + $math$ +$endif$ +$for(header-includes)$ + $header-includes$ +$endfor$ + + +$for(include-before)$ +$include-before$ +$endfor$ +$if(title)$ +
+

$title$

+$if(subtitle)$$subtitle$$endif$ + +
+$endif$ +
+$if(toc)$ + +$endif$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ + +
+
+$if(author)$this article was lovingly written by $for(author)$$author$$endfor$$endif$ +$if(date)$ and was last updated $date$
$endif$ +← go back +
+↜ back to wiki root +
+↞ go to the homepage +
+ + diff --git a/wiki/img/puTTYmain.png b/wiki/img/puTTYmain.png new file mode 100644 index 0000000..72c976c Binary files /dev/null and b/wiki/img/puTTYmain.png differ diff --git a/wiki/index.md b/wiki/index.md new file mode 100644 index 0000000..9caeada --- /dev/null +++ b/wiki/index.md @@ -0,0 +1,10 @@ +--- +title: wiki +subtitle: "tech tip: computer" +color: blue +--- +hi! welcome to the wiki. it contains some helpful info about living life on southlondon.cc. + +### a table of contents +- [logging in: a guide](./login.html) +- [how to contribute to this wiki](./contribute.html) diff --git a/wiki/login.md b/wiki/login.md new file mode 100644 index 0000000..13b4ac7 --- /dev/null +++ b/wiki/login.md @@ -0,0 +1,45 @@ +--- +title: logging in +subtitle: "how to get into your account" +author: cark +date: 2021-03-09 +color: orange +--- +this guide is split into three parts: + +- [Windows](#windows) +- [MacOS + Linux](#macos-and-linux) +- [Using the webterm](#using-the-webterm) + +# Windows +there are many many ways to connect to an SSH server on Windows, here's a sample of some of them. +### the fastest: via powershell +the fastest way to get started on south london using Windows is via Powershell. the latest versions of Windows 10 include an `ssh` binary that you can use to connect to servers such as southlondon.cc. + +to connect, just open up a powershell window and type +```powershell +ssh @southlondon.cc -i +``` +if you see a warning asking you to verify the fingerprint, just type 'yes' and it'll connect you up to the server. congrats! you're now connected to south london! + +### the unix-y-ist: cmder + git bash +getting cmder is pretty easy, just head on down to [cmder.net]() and click 'Download Full'. the full download includes Git Bash, which emulates the bash command line inside windows. just unzip the folder and double click `Cmder.exe`. + +now just run this command to connect +```bash +ssh @southlondon.cc -i +``` +congrats! you're in. + +# macOS and linux +crack open a terminal and run + +``` +ssh @southlondon.cc +``` +if your ssh key is in a nonstandard place, you'll also need to append `-i `. +good job! you're in. + +# using the webterm +if you're having trouble getting set up, you can use the webterm to login. +just click webterm on the homepage and type in your username and password. \ No newline at end of file