Posts By: jonny

Bulk Delete Emails in Gmail

Gmail bulk delete messages

I had a bunch of emails sent from one of my own automated notification systems that I wanted to remove from Gmail. Doing a search in Gmail showed the first batch of 50 emails but the key to removing them all in one go is when ticking the ‘Select All’ checkbox (see below) a message… Read more »

Solar Power Installation

Solar Panels on Roof

Just thought I would record a few notes/thoughts on my recent solar installation in case I need to illustrate it to anyone I know. For the solar photovoltaic (PV) panels there was two choices: Sharp (Japanese) or SolarWorld (German) panels. According to David (our installer) there is little difference bar aesthetics, although the Sharp ones… Read more »

CyanogenMod on the Samsung Galaxy Tab 2

cyanogenmod clockwork recovery image

I wanted to breath a little new life into a Galaxy Tab 2 (model P3110) that was about 18 months old, so dusting it off I followed the instructions on the CyanogenMod wiki. Roughly the steps were as follows: I downloaded and installed the Heimdall tool to my desktop computer I downloaded the Clockwork Mod… Read more »

Building Likwid RPMs for CentOS

centos logo

Installing likwid is easy (using ./configure, make, make install) however I wanted to create an RPM package to allow for repeatable builds and installation across a number of nodes/machines. With the ‘Development Tools’ package installed I started with: mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} cd /root/rpmbuild/SOURCES I downloaded the latest likwid release (3.1.3) and copied it to /root/rpmbuild/SOURCES/likwid-3.1.3.tar.gz… Read more »

MySQL dummy placeholder RPM package for MariaDB

On CentOS 7 MariaDB has (quite rightfully IMHO) replaced MySQL in the repositories however this has caused me a few problems. Since MySQL was so widely used there are other things that have MySQL as a requirement/dependency. Mainly my problem was some puppet modules that wanted the mysql-server package installed before they would proceed with… Read more »

Local Ubuntu Repository

I wanted to set up a local repository for DEB packages I create to be installed among a number of cluster nodes. After building the deb package I added it to my home folder as follows and created the Packages.gz file: apt-get install dpkg-dev mkdir -p /home/jonnymcc/ubuntu_repo cp slurm-14.03.3_14.03.3-1_armhf.deb /home/jonnymcc/ubuntu_repo cd /home/jonnymcc/ubuntu_repo dpkg-scanpackages . /dev/null… Read more »

Nginx Reverse Proxy

centos logo

Using CentOS 6 I installed Nginx with: yum install nginx and amended the config file for the default website i.e. vi /etc/nginx/conf.d/default.conf With the following content: upstream backend_st { server st.domain.co.uk:80; } server { listen 123.123.123.123:8080; server_name frontend.domain.co.uk; include /etc/nginx/default.d/*.conf; access_log /var/log/nginx/log/lamp.eeecs.qub.ac.uk.access.log main; error_log /var/log/nginx/log/lamp.eeecs.qub.ac.uk.error.log; root /usr/share/nginx/html; index index.html index.htm; location / { proxy_pass http://backend_st;… Read more »

Fido U2F Security Key

FIDO U2F Key Opening

So I ordered a FIDO U2F Security Key from a French company ‘Plug-Up’ to have a little play.  It is used in 2-factor authentication so when logging in to a service you first enter your username and password and if correct your are prompted for your second factor (a code sent by SMS or a… Read more »