User login

You are here


Having great success with LetsEncrypt

Having great success with LetsEncrypt! Just switched over a few domains to this service

And so I don't have to think about renewing the certificates I put the following in my crontab

1 1 * * * /root/certbot-auto renew >/dev/null

As the script they supply automatically scans and updates any certs that need it

A hidden docker-compose gem, autocomplete!

I stumbled across this today whilst reading up on another issue. very cool, can do standard bash autocomplete of the various container/image names using the [tab] key, one thing I had to change tho was that it had just #!bash at the start of the script, not #!/bin/bash



Lenovo T460S / Ubuntu - will it be an improvement?

So I'm eagerly waiting on the Lenovo T460S to come out - I saw the T440s on a collegues desktop and asked him about it, the first thing he showed me was the really crappy track pad that moves up and down with extremly poor touch support in Linux / Ubuntu Also I've found that Ubuntu's "out of the box" support for hibernate, cpu scaling/power and bluetooth alway seem a bit dodgey And there's always the notorious fan speed issue So yes - I'm willing to buy, but I think this will be a try before you buy approach - I just re

Fun with LTSpice

No more fiddling around with boxes of components and searching for datasheets of components that arent available only to find that the reason why your MOSFET is not triggering correctly is because of an incorrect calculation i made when I read the datasheet!
Recently got the hang of modelling circuits in the wonderful but slightly weird (Well, not really, it's just the keyboard commands are weird like F5 to delete a component etc)
What's nice is that you can measure voltage/current and set the run time conditions (seconds, minutes etc) and also set the voltage input conditions (sin

Exploring Ansible's Drupal image

Something very nice about Ansible and the whole devops movement are companies like Digital Ocean with their ready to go Drupal images, in this case lets see what 11080335 gives you

In my case I got the 11080335 from using a direct curl request and parsing the output via python's json tool

An Ansible / Digital Ocean catch

If you get this error when running your new Ansible scripts, the problem may be that you're not running the right HEAD/2.0 digitalocean API from Ansible

ValueError: invalid literal for int() with base 10: 'xxx'

In any case, still have to love a project that names its releases after Van Halen tracks!


JetBrains adding value to Arduino with their editor?

Spotted this recently whilst seeing if there's a better editor around than the default Arduino editor - Lots of votes to integrate this functionality into the somewhat lacking existing Arduino editor - based on JetBrains existing CLion IDE

JetBrains write terrific software and a licence is a fantastic investment, lets hope it comes together!


Drupal 7 adding custom AJAX commands

Sometimes the existing Drupal AJAX Framework commandset isn't quite all you want todo.

Fortunately it's quite simple to add your own

Create your extension to the AJAX prototype - place it in a file 'thing.js' - data from your module will be serialised and sent here


Drupal 7 Anonymous User Sessions

In Drupal 7 anonymous sessions were disabled for performance reasons, there's generally not really any reason why you need or should be tracking anonymous users


But what if you want to do some session handling but don't necessarily need the user to login with a full Drupal account?


U2515H Dell LCD Upgrade

I recently upgraded my Xubuntu linux workstation LCD to the wonderful Dell U2515H

This is a fantastic monitor! Highly recommended - working nicely at full resolution with my T420S, the differences with the new IPA LCD technology are substantial - there is just no comparison to lower end LCD's anymore



Subscribe to RSS - tech