A real world example of digital signature checking

In this post we will see exactly how we can check if a SSL certificate hasn’t been tampered with. We will use https://google.com as an example and we’re manually going to check that the certificate’s digital signature is valid. Other important steps such as traversing the entire chain is beyond the scope of this simple […]

Read more
Zalenium a stable and scalable Selenium grid

I just want to give well deserved thumbs up to Zalando’s Zalenium Their own description says it best: Allows anyone to have a disposable, flexible, container based Selenium Grid infrastructure featuring video recording, live preview, basic auth & online/offline dashboards Getting up and-running really is only one docker pull and docker run command away.

Read more
Containerising the development environment

One of the nice things about docker is that we can use all kinds of software without cluttering up our local machine. I really like the ability to have the development environment running in a container. Here is an example where we: Get a Node.js development environment with all required tools and packages Allow remote […]

Read more
Docker on Raspbian: cgroup not supported on this system

Are you running Docker on Raspbian and getting the error: cgroups: memory cgroup not supported on this system Best solution is to add cgroup_memory=1 in /boot/cmdline.txt and reboot. PLease note, for future releases of Raspbian you will need the following instead: Alternatively, you can downgrade to an earlier docker version:

Read more
Returning a collection of objects from a PowerShell function

If you’re writing a function that returns a collection then don’t forget to include the comma operator in the return statement. If you forget it your function will work correctly when the collection contains multiple objects, but fails when it contains 1 object. Take the following buggy example: If you execute this code when $myarray […]

Read more
Understanding the LINQ nested grouping example

Here’s an explanation of how the default example for LINQ nested grouping actually works. The usual example for nested grouping looks like this: The objective of this statement is to first group-by students into faculties and then in each faculty create subgroupings of students by their DebtCategory. So how does this actually work and whats […]

Read more