Hello Again
Hello again
Wow. It’s almost three years since I wrote a post and the site has been down for a lot of that time as well. I’ve been mostly busy with a new job during that time and haven’t really done much hobby computing. As I’m getting back into some side projects just for me, I thought I’d take the plunge and set this little corner of the web back up.
…Oh My Cron
Oh boy. I feel like I may never truly understand how cron works compared to other task scheduling applications. Today I went through a whole mess of steps to try and get a job scheduled to automatically generate my github contributions chart.
What happened?
So, I was able to use the lovely githubchart gem to generate my githubchart SVG with no issues at all. It was so simple.
> gem install githubchart
> githubchart -u onlymattjohnson ./github.svg
Since this was so easy I thought just dropping that in cron to run every 15 minutes or so would be straightforward. I get to keep hugo generating my static site and then in the background this script can just refresh the image.
Learning About Linux Permissions
So, who knows what’s a good pace for writing blog posts, but since I’m in the habit of writing up notes about new things I learn, might as well write a post even though I already put one up earlier today.
Permissions
So, I’ve got this website running on a linux server which serves this out of a directory /var/www/onlymattjohnson.com which is owned by the www-data group. I was trying to upload the files by ftp for my user but I found that I couldn’t write to the folder. So, I figured the folder is owned by www-data let’s add myself to that group.
A First Post
Hello! Welcome to my new website. This is a first post for my updated site that I would like to begin blogging on. The site is built with Hugo using a modificatio of the Archie theme
I will be making small tweaks here and there and figuring out how to automatically deploy this to my server, but first thing is first and I’m getting the site up and running. This is a first post to allow for that.
…