Thursday, October 05, 2017
It's been a very long time since I've coded HTML.
So long that I cant remember most of it. The basic structure of a site remains in my head but the intricacies are gone. So I'm starting over again. I'm reading up on HTML5 and CSS. It's suprising what comes back. I'm only building a simple site, very simple in fact but I still want it to look, behave and feel right when it's online.
I've downloaded a few PDF's on the subject, there are lots of good free ones around.
When I first learned HTML many moons ago I hand coded in a text editor. I eventually moved to a piece of software that checked the syntax for me.
This time around I'm on Ubuntu Linux and I've chosen Bluefish. So far so good.
If you discover the new site one day I hope you'll appreciate that it was made properly. Even if the content doesn't interest you at all.
The content? That's another story.
Monday, October 02, 2017
The last time I booted my RPi it failed to load the Debian OS.
I'd long suspected that the Micro SD card was problematic when I couldn't get Mate to work on it. The only thing that would work was Debian. It's OK as far as it goes. There are lots of things you can do with it but having been on Linux for over a year it's just not geared to the way I work.
I decided to invest in a brand new Micro SD and try Kali.
It went onto the card without a problem and booted first time in the RPi.
I'd like to keep it air-gapped but I imagine there will come a time when I need to add a few bits and bobs that make crypto stuff so much fun.
Until then I'm very happy.
Sunday, September 10, 2017
On days like today when the weather isn't so good and I'm stuck indoors and I need space to think, where do I go?
Everyone needs a change of scenery once in a while to help their thought process. A place where one is away from the distractions that clutter thought. When I'm stuck at my desk I disappear to the location in the picture. Virtually.
It's a live stream on YouTube of a railway crossing in the Netherlands. It's a perfect snapshot of Dutch life. Bicycles, people, scooters, cars and trains all visit this spot. I can lose hours gazing out of my virtual window. It's a place to observe and to daydream and to think. I can mull over the obstacles to solutions and then get back to work. There's all the time in the world at the crossing.
Maybe you'll find it. It might be the escape you're looking for. A place to go in inclement weather. It might provide a solution. Who knows?
You might even bump into me there.
Saturday, August 12, 2017
It turns out that my rucksack was only 15kgs.
I thought it was much more. By the end of the 12 mile trek it certainly felt like much more.
I had a wonderful day exploring the Leicestershire countryside. The highlight was the Shaggy Ink Cap fungi above. It was absolutely stunning in its location. A real treat of a find.
More walks are planned.
Bed now. I'm as swollen as a balloon.
Sunday, August 06, 2017
Sometimes finding the right command in Linux shell can be an uphill struggle.
I seem to spend hours at a time looking for a simple and elegant solution to a problem only to find long winded articles on how to achieve the result I'm looking for. Today was one such day.
All I wanted to do was re-arrange a list in a random order. There were plenty of articles on how to choose a single item on the list randomly but nothing about my particular problem.
Then I came across the shuf command. There were a few solutions that were close but not quite what I wanted. This is where man pages come into their own. The man page for shuf is short and sweet and all the options I needed are right there on the page. After a little trial and error I wrote a short and elegant command (see above) that does exactly what I want.
How does it work?
I make a list with each item on a different line in a text file and the command writes another text file with the same list but in a random order. Simple.
One more Linux victory under my belt.