While checking out my AWS instances /var/log/auth.log I came across a message repeatedly showing up:
Feb 03 18:04:11 edrc sshd: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
If you;re seeing this message, it means that the ed25519 HostKey setting is enabled in your sshd_config, but no host key was generated for it.
The fix is pretty simple. Just run the following command:
$ ssh-keygen -A
ssh-keygen: generating new host keys: ED25519
I’ve been wasting an afternoon playing with my Raspberry Pi today, and having found an old webcam lying around I decided to see if I could make a couple of time-lapse films – No reason, just to see if I can!
A little while back I wrote an article about using contenteditable and execCommand to build World Simplest HTML5 WYSIWYG Inline Editor.
After a huge number of comments from a whole range of people, I ended up deciding that while the editor works, there are some caveats thats just can’t be ignored, so I followed up with Worlds Simplest HTML Markdown Editor as a simple but usable alternative.
I work from home most of the time, which means my ADSL really is a life line. Without it i’d be making a 35 mile trek to the office every day.
The village i live in doesn’t have the greatest ADSL, but it’s not too bad either. For most stuff it’s perfectly workable, however I have repeatedly had problems with home routers and their inability to work correctly for extended periods. From a ton of reading i guess it’s down to memory leaks etc. A simple power cycle fixes it, but that’s not a great help during a VoIP call when the line keeps breaking up. Power cycles typically take 2-4 minutes to complete, which is often an issue, followed by a 1 min VPN reconnect….
If you’ve played around with a Raspberry Pi (http://www.rapberrypi.org) much, then you may well have come across a small but quite annoying issue with your SD card becoming corrupt.
Now I can say why it happens, but the problem appears to only happen occasionally, and only with some card, but when it happens it can be really annoying! I know we’re all supposed to back up after every keystroke, but one of the things about the RPi is that it’s a great hobby platform. This means that quite often you;re just messing with things to get an idea working. Often it’s hard to remember exactly what it was that you did to make it work, which makes a corrupt SD even more annoying!
I recently wrote an article on implementing the World Simplest HTML5 WYSISYG Inline Editor
Well as it turns out, it’s really not that simple! The number of issue presented by every browser implementing things differently creates a situation where the whole idea can only really be used if you can guarantee with absolute certainty that only one browser type and version will be used!
Recently I have been using BitBucket to get to grips with Git. Git is a strange version control system, although maybe that’s because I am more used to SVN.
One thing I had read was that Git was great for remote deployment, because only the deltas are needed, making the whole update process far quicker. The added bonus is that you can always log in to the production server and change branch or revision quickly if you really do foul up!
BitBucket supports Git Hooks. These are essentially scripts which are run on certain events. In my particular case, what I wanted was for BitBucket to POST some data to a specific URL on my server on the event of a push.
Over the years I’ve built up a huge collection of photos. Digital photo’s are great, you can take hundreds of pictures, and delete the ones you don’t like. The only problem seems to be that there isn’t a consistent naming scheme between devices! That’s a hassle, because one way or another you need to organise them to be able to find things later!
Now i’m not a big cook, although i do really enjoy it. I am however a big fan of Cake!
If you’re a fan of cake too, head over to www.sarahwilmott.com and download yourself a copy of her new Kindle book, Oh My God It’s Cake.
If you’re reading this in Early August, it’s currently free to download from the Amazon Kindle store. The cakes are family favorites, and are really easy to make!
Now, I just need find a book on reducing the size of my belly!!!!! 🙂
Recently I needed to add the ability to do some pretty basic in-page editing of content. I didn’t want to use iFrame’s, i didn’t want a hugely featured editor, literally some pretty basic tools to be able to edit content, bold, italic, h1, h2 and so on.
After a fair bit of Googling, it seemed that there wasn’t a hope! all the plug in’s i found just seems unnecessarily complicated so, in a fit of self-importance, i decided i could do it myself. i’d end up with the editor i wanted, and code that i fully understood. Granted, it wasn’t likely to be an easy job, but hey, why would i code anything if there was an easier option?