Skip to content

2021

Thinking about Log4J

So I'm thinking that the 2 forward facing internet sites should probably be just things like Jekyll and MkDocs where I've got the original stored on Nextcloud or Syncthing so that if I get hacked I can just nuke and pave the site. That means that tools like Django, Flask, Tiddlywiki, and Dokuwiki are better left on my Raspberry Pi's that I'm using as home servers.

I played around a bunch trying to work out a blog on MkDocs and really didn't like anything I saw. I think I need to get back to work on the Jekyll site - just have posts there and for documentation get a really nice MkDocs site going.

Still Confused

I did get Django to work remotely on the pi4 in the basement. So yay for that.

I'm still struggling with where to focus my time - Python via Flask and Django, or web development with HTML/CSS and Javascript.

Codemy Django

I'm going to try to restart the Codemy.com Django classes. I think I know how to create it on a server (probably the pi that houses the Tiddlywiki stuff). Couple of things I want to do first:

  • Backup Tiddlywiki's
  • Figure out how to remote into a server with VSCode
  • Work on the first really simple Codemy.com Django course.

Learning Plans Update

Several thoughts while I couldn't sleep last night.

  • I could run Django projects on my servers here at home using the development server pretty easily.
  • I'm not sure whatever I developed in Django would be any better or as good as what I can accomplish with Jekyll, Dokuwiki, Tiddlywiki, MkDocs etc.
  • I do think I could get back to things like the Freecell solver and have some fun with desktop development.

Learning Plans

So I'm suddenly pretty happy with Jekyll and what I've got set up in this real thing directory. So I'm going to work on both the Udemy Django course and I think Net Ninja's stuff. But I've got both the Academind and the Colt Steele web courses on Udemy also.

I want to set up my categories page so that it's got all the preset categories pages that I might need.

I looked at and tried to follow a video about running Django on a Ubuntu server and I'm a little disappointed in that. So I think it's Academind 100 Days Web Developement course for me right now.

Simplest Web Developer Path

OK, here's his list. His favorite course is Colt Steele Web Developement.

  • HTML
  • CSS
  • Javascript
  • Either React or Vue (Front End Framework)
  • Node JS
  • Express (Node JS Framework)
  • Database like MongoDB
  • MERN Stack - Mongo, Express, React, NodeJS

At the end you should be able to build a CRUD application. Create, Read, Update, and Delete. Proves knowledge of how to put these things together.

Extras: TypeScript, GraphQL

Rsync and Jekyll

I have a working shell script to upload this jekyll site to 192.168.86.20. Here's the code

    #!/bin/bash
    cd /home/terry/Sync/real_thing
    bundle exec jekyll build --baseurl ""
    rsync -vrzc --chown=www-data:www-data /home/terry/Nextcloud/real_thing/_site/* terry@192.168.86.20:/home/terry/webroot

Xubuntu and I3WM

OK, I installed Xubuntu 21.10 and it was OK once I stopped trying to resize the old Arch partition and just deleted and recreated it. Then I grabbed an old pi4 i3wm config file and i3blocks file. Installed i3, i3blocks, and rofi. After a bunch of editing of the config file, installing lxappearance, codium, atom, nextcloud, dropbox, and syncthing, I've got a working system.

Then I followed the jekyll instructions for installing jekyll on Ubuntu and now I've got the whole thing working. Now I'm working on transferring the files to my local server (192.168.86.20) using rsync. Right now I need to check if using the rsync chown option will work.

I messed up Nextcloud when moving the DocumentRoot of Apache2 on 192.168.86.20. I'm not even sure I care - I wasn't using any of the nextcloud apps and syncthing seems to do what I want.

Got simple-scan working on my xubuntu / i3 desktop. Yay.

Arch - Aargh!

I restored a version of Arch using clonezilla and tried to set up Jekyll. It didn't work and I don't know why I insist on trying to use Arch. I would like to use the i3 window manager, but I think tomorrow I'm going to install Xubuntu and install and run i3 from there.

Then again there's always the possibility that no amount of screwing around with window managers or desktop environments will make much difference. So maybe I should just focus on studying whatever it is that I'm going to study.