Biscuits

In case you get a bit hungry… Ingredients Equipment 100g butter50g caster sugar175g plain flourA few drops of vanilla extract BowlSpoonRolling pinCookie cutterBaking Tray Method Preheat the oven to 150cAdd butter and sugar in a bowl and mix well until light and fluffyAdd the vanilla mix, then add the flour and mix wellRoll out to about 5mm think. Cut into shapesBake for 25 minutes or until golden brown

Installing Docker in Ubuntu (16 +)

To install Docker onto Ubuntu #Add the relevant support packages sudo apt install -y apt-transport-https ca-certificates curl software-properties-common # Get the repository’ key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add – # Add the fingerprint to accept the key sudo apt-key fingerprint 0EBFCD88 # Add the repository – $(lsb_release -cs) will insert your release name, if installing on a newly released version you may need to downgrade to the previous version of Ubuntu sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable” # Update the apt…

Lego Sets

Here’s a list of the lego sets we currently have, possibly with links to the instructions (just in case they don’t survive!). https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=10659 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=10671 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=10733 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=20333 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=30010 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=30229 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=31028 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=31042 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60002 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60007 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60035 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60041 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60043 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60044 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60054 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60055 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60058 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60060 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60065 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60072 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60073 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60076 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60084 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60085 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60092 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60093 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60095 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60101 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60106 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60114 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60121 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60126 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60136 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60142 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60163 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=60173 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=70349 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=70600 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=70735 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=70808 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=70815 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=76065 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=90092 https://www.lego.com/en-us/service/buildinginstructions/search#?search&text=853687

Installing Symfony, Doctrine and Login Manager

{{unknown}}http://symfony.com/doc/current/setup.html http://symfony.com/doc/current/doctrine.html http://symfony.com/doc/current/bundles/FOSUserBundle/index.html sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony sudo chmod a+x /usr/local/bin/symfony cd /usr/share/nginx/html symfony new projectname cd projectname chown www-data:www-data ./var/cache/dev/ -R chown www-data:www-data ./var/logs/ -R chmod 777 ./var/cache/dev/ -R chmod 777 ./var/logs/ -R Ensure you have the following in your nginx config file for the virtual host location ~ ^/(app_dev|config)\.php(/|$) { fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; fastcgi_param DOCUMENT_ROOT $realpath_root; } Setup the parameters nano app/config/parameters.yml php bin/console doctrine:database:create Create entity classes in arc/AppBundle/Entity php bin/console doctrine:generate:entities AppBundle php…

Nginx and Maria DB on Ubuntu 14.04

Installing Nginx and Maria DB on Ubuntu 14.04 is a reasonably straight forward job, but to make things simple a list of instructions is below. There is nothing really new here, it’s just a combination of pre-existing tutorials and setup instructions. We’ll deal with the background Nginx setup first. wget http://nginx.org/keys/nginx_signing.key sudo apt-key add nginx_signing.key Now we have the key and we’ve installed it, we need to tell apt-get to use the repository. I decided to put the details into a seperate config file, rather…

Installing Arch Linux

Download the iso image. Make the USB key, but don’t use the Windows Universal USB Installer, as it uses a different version of syslinux to arch which will stop arch from booting! dd bs=4M if=./archlinux-2015.03.01-dual.iso of=/dev/sdb Install standard system (connecting to wireless long the way) Once the installation is complete, but before exiting the chroot or unmounting pacman -S wpa_supplicant wireless_tools dialog wifi-menu Select the relevant wifi network and enter the passphrase then confirm it works by using systemctl start netctl-auto@wlp3s0 Assuming all is ok…

Link for setting up Memcache on PHP

{{unknown}}I needed to share sessions between two different PHP / Nginx servers. Basically there is a round-robin DNS setup, so I never know on any page load which server will be used – meaning the session (with login details) need to be shared. The solution is simple to install and configure – the details are here

Installing a Maria Galera cluster on Ubuntu 14.04.1

Initial steps are obviously to install the OS. The servers I am setting up are installed in a rack somewhere in London, so I’m using HP’s ILo system to access the boxes remotely, mounting an ISO and the running a standard Ubuntu 14.04.1 64bit install. I’ve chosen all of the standard installation options, re-partitioning the drive without LVM and choosing the OpenSSH server as the only package to install. Once the boxes were installed (I started with two as the others are in use by a…

Raspberry Pi Wireless Access Point

I decided to turn a Raspberry Pi into a simple wireless access point for my daughter’s tablet. Why? a. because I wanted the challenge. b. because I want to extend it so I can configure the Pi via a browser, setting the times the internet is available without having to change settings on our main router. These are the instructions I have for creating the access point, later I hope to detail how to put together a web interface for configuring most of the settings.…