Cool we back! But I'm in bed so it's going to have to wait!
Whoa it's exactly a month since I last posted on here! Funny how that happened.
I set up superwifi.club to try and create my own tilde but in the end I didn't invite anybody to it. I can't remember why, exactly.
Everything was pretty rock solid from a security perspective -- I think I got tangled up in writing scripts for the onboarding process and it all fizzled out.
I already had $15 credit on DigitalOcean and the cost of running a mostly idle box has cost:
- October - $2.59
- November - $5.00
- December (so far) - $3.04
I'm on the $5/month plan.
Since I started writing on Tilde I've been putting my `public_html` folder on GitHub.
I think it's important that folk have the knowledge to back up their 1s and 0s because nobody wants another GeoCities.
I should finish my git-101 repo.
I've really gotten a great deal out of putting together superwifi.club this weekend.
I've learnt and relearnt a great deal about putting together a Unix box. Best of all? I've never had to do it for a bunch of potential users.
Building a platform for a community, the privacy and security considerations for such a server are somewhat new to me.
I don't even know if I'll ever open superwifi.club to actual human beings but I love the idea of other folk building on it to spin up their own micro communities.
Yesterday I spent a decent amount of time putting together a relatively quick and simple guide to getting up and running with your own tilde-esque box.
As a first go I'm quite pleased, there's a script that'll install a handful of applications, Apache and postfix plus some further documentation that touches on securing your box, my own `/etc/skel` example and creating users.
I've just tested the latest version and I was up and running in 5 minutes.
Check out the repo: superwifi.club.
Generating a 6 character hash
I think I'm going to write a bash script that will generate the HTML for these blog posts and automagically fill in the correct date and permalink hash but until then...
I wanted a way to generate a 6 character hash for the permalinks. After some googling I figured this cheeky line would do it:
date | md5sum | cut -c 1-6
I created an alias in my `.bash_profile` for ease:
alias hash='date | md5sum | cut -c 1-6'
Primarily for my own benefit I added a sidebar with some handy links.
This is my favourite tinned soup -- I had it for dinner this evening.
There's so much good stuff to read on tilde.club. I find myself idly command-clicking the recently updated page.
As a thought experiment I thought I'd have a go at putting together some instructions of how to create your own tilde.club.
EDIT: This has been refined and submitted as a pull request.
Interestingly, I missed tilde.club whilst it was down.
I spent the afternoon putting together some instructions for setting up something similar on an Ubuntu micro instance on Amazon EC2.
I guess the ideal scenario is to spin up a new box, run a script and it does it all for you.
That would be cool.
Many thanks to ~fitnr for this email:
I just figured this out. Fix: mv ~/.bash_profile ~/.profile
No idea why .profile beats .bash_profile
I recall that SDF does something similar but ¯\_(ツ)_/¯
The chicken came out delicious!
Skillet roasted spatchcock chicken
I invented this recipe as I went along:
- Preheat your oven to 220 degrees celcius.
- Spatchcock your chicken.
- Get a decent sized bowl that you can fit your chicken in.
- Crush 4/5 garlic cloves, chuck in the bowl.
- Grate 3 inches of ginger, use your hands to squeeze the ginger pulp's juice into the bowl.
- Add a decent glug of Worcestershire sauce.
- Add a decent glug of soy sauce.
- Add a decent glug of olive oil.
- Add 5 dots of Tabasco.
- Season with salt and pepper.
- Put your chicken in the bowl of delicious things and give it a good rub so it's covered in the marinade.
- Put in the fridge for an hour or so.
- Play around on tilde.club
- Get your preheated cast iron skillet, throw in a bunch of peeled potatoes and carrots and place your chicken on top
- Give it 10/15 minutes at 220 degrees celcius then turn down to 200.
- Take the leftover marinade, add to a small saucepan with a teaspoon of sugar and half a cup of water and boil it until it starts to thicken up -- use this to glaze the chicken every now and then.
- Keep checking on it, glazing and basting.
As an aside I'm quite pleased that my [.vim](https://github.com/rey/.vim) and [.tmux](https://github.com/rey/.tmux) configurations worked straight out the box.
Reminder: this isn't a Markdown file.
Now looking into why my `.bashrc` and `.bash_profile` aren't getting sourced when I log in.
How to get passwordless ssh to work on tilde.club
On your machine:
cat .ssh/id_rsa.pub | ssh USER@tilde.club 'cat >> .ssh/authorized_keys'
chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys
Trying to get passwordless login working. No luck so far.
This is my tilde. There are many like it but this one is mine.