Category

Python

4. Write tests for your code (Python: beginner to pro in five steps)

Top five things to improve your coding (in no particular order): 1. Document your code (automatically) 2. Write Object Oriented code 3. Get acquainted with useful packages 4. Write tests for your code (This post) 5. Use a version control… Continue Reading →

Deploy Multiple WordPress Sites Using Virtualmin and Ansible on Ubuntu

This guide shows you how to automate the configuration of a virtual server from scratch (using Ansible) and deploy multiple independent Wordpress websites (using Webmin/Virtualmin).

Contributing to an Open Source Python project

A few weeks ago I wrote an Ansible module for Fly. To give you some background, Fly is an application delivery network which I mainly use for auto provisioning SSL certificates for static websites, and Ansible is an open source… Continue Reading →

3. Get acquainted with useful packages (Python: beginner to pro in five steps)

Top five things to improve your coding (in no particular order): 1. Document your code (automatically) 2. Write Object Oriented code 3. Get acquainted with useful packages (This post) 4. Write tests for your code 5. Use a version control… Continue Reading →

2. Write Object Oriented Code (Python: beginner to pro in five steps)

Top five things to improve your coding (in no particular order): 1. Document your code (automatically) 2. Write Object Oriented code (This post) 3. Get acquainted with useful packages 4. Write tests for your code 5. Use a version control… Continue Reading →

Automating Global HTTPS Deployment using Fly’s API and Ansible

When it comes to deployment, Ansible is fast becoming the tool of choice for many DevOps engineers. When I discovered the benefits of using Fly – especially for HTTPS – I thought it would be a really useful to automate… Continue Reading →

Raspberry Pi SMS to email gateway – Part 4

In this final part, we’ll complete the gateway by setting up our relay to send an sms by sending an email. 1. Setup DNS and Mailgun I part 3 we already partially setup mailgun, but now you’ll need to add… Continue Reading →

Mining Monero XMR Crypto Currency on Raspberry Pi

UPDATE DEC 2 2017: Please see comment at the bottom for a suggestion of a miner that currently works! I’ve got a Pi 3 that’s hanging around doing nothing so I thought I would try and use it to mine… Continue Reading →

Raspberry Pi SMS to email gateway – Part 3

This is part 3 of our series in building an SMS to email gateway. Now we’re setup with the hardware tested and working, it’s time to write some python code for receiving an SMS and forwarding it to an email… Continue Reading →

WordPress Plugins Advanced Search

WordPress is a great system because it is extendible by using plugins. However, the search function within WordPress and their website is very annoying, since you can’t order your search results by plugin rating or most installed, so even if… Continue Reading →

© 2024 AndyPi — Powered by WordPress

Theme by Anders NorenUp ↑