Formatting JSON with the Python JSON Tool

When working with web server JSON responses, if they span several lines with no ‘new line’ formatting they can be difficult to read. When JSON responses end up on the command line, it is possible to format them for easier reading. Here I use a short output from the jsontest.com site as an example. Copyable …

Continue reading ‘Formatting JSON with the Python JSON Tool’ »

Building a UK Street / Road Name Wordlist

If you need to create custom dictionaries or wordlists, there are many options, in this case we were looking for UK specific street / road names. You do not need to ‘scrape’ open street map for data, it is not ideal from their point of view or yours. As the data is open, they do …

Continue reading ‘Building a UK Street / Road Name Wordlist’ »

Basic web server backup script – MySQL and Apache

I was working on a dedicated server the other day and needed a quick script to backup the website and the MySQL database. The following bash script will do just that, simply modify the directory paths within the tar command to ensure every folder you need is included, the MySQL command assumes all databases need …

Continue reading ‘Basic web server backup script – MySQL and Apache’ »

Raspberry Pi Screensaver and Screen Blanking with Pidora

So I tried and failed to disable the screensaver and screen blanking within pidora on the Raspberry Pi. I was up against a time target and needed to find a solution. I needed the screen to stay live, with no screen blanking or screensaver, even when the keyboard and mouse were completely disconnected. I tried …

Continue reading ‘Raspberry Pi Screensaver and Screen Blanking with Pidora’ »

distributed.net client RPM Package

This week I decided to dust off my RPM hat and build an RPM for the distributed.net client application.  Firstly to test my setup here and secondly to make the client easier to deploy and remove from my systems.  I have packaged the core DNETC application (v2.9104.510), and added my own DNETC System V init …

Continue reading ‘distributed.net client RPM Package’ »