User login

Docker: My solution to sending emails from within the container to the host with PHP

Here's my solution to reliably and quickly (low latency) sending emails from the docker container using the hosts email subsystem (in my case Postfix), I had tried using the SSMTP solution but I found it had terrible performance and suffered from random delays and pauses. Knowing the amount of effort that goes into a reliable mail subsystem I decided to cut SSMTP out of the picture.

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.

https://github.com/docker/compose/blob/master/contrib/completion/bash/docker-compose 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

 

Topic: 

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!

Topic: 

Ubercart bitcoin module receives major update

Just spent a few hours giving the Ubercart Bitcoin module a lot of love, main change now is using the Guzzle HTTP library with composer_manager to make sure HTTP/1.1 is fully supported when talking to Blockchain.info

And ofcourse some lovely fresh configuration panels

Pages

Subscribe to Front page feed