Skip to content
PHP Developer

Freelance PHP Developer based in Manchester, UK

  • Home
  • Contact
  • CV
  • Services
  • Portfolio
  • Articles
  • Talks

Posts by Paul

  • Home
  • Paul
  • Page 3
About Paul
Paul is a freelance PHP developer and Linux system administrator based in Manchester, UK.

Project Euler: Problem 8

Posted by By Paul July 22, 2020Posted inProject EulerNo Comments
Problem: Find the largest product of any 13 adjacent digits in a 1000 digit number. Solution: Move through the 1000 digit number with a sliding window of 13 digits. For…
Read More

Pretty print XML in PHP

Posted by By Paul July 15, 2020Posted inPHP, XML2 Comments
As part of my freelance work I send data to APIs, often using XML for data transfer. I log the XML sent and received for debugging and auditing, however the…
Read More

Project Euler: Problem 7

Posted by By Paul July 8, 2020Posted inProject EulerNo Comments
Problem: What is the 10,001st prime number? Q. How do we find the nth prime number?A. Build a Sieve of Eratosthenes large enough to contain the nth prime number. Q.…
Read More

Project Euler: Problem 6

Posted by By Paul July 1, 2020Posted inProject EulerNo Comments
Problem: Find the difference between the sum of the square of the first 100 natural numbers, and the square of the sum of the first 100 natural numbers. Solution: PHP…
Read More

Project Euler: Problem 5

Posted by By Paul June 25, 2020Posted inProject EulerNo Comments
Problem: Find the smallest number with all the integers 1 to 20 as factors (i.e. divisible without a remainder). Q. What is the simplest way to find the lowest number…
Read More

Project Euler: Problem 4

Posted by By Paul June 18, 2020Posted inProject EulerNo Comments
Problem: Find the longest palindrome made from the product of two three-digit numbers. Q: How do we work out if a number is a palindrome?A: Convert it to a string…
Read More

Project Euler: Problem 3

Posted by By Paul June 8, 2020Posted inProject Euler1 Comment
Problem: What is the highest prime factor of n? In this case: n = 600851475143 Q: What is the simplest way to find the highest prime factor of n?A: Try dividing…
Read More

Project Euler: Problem 2

Posted by By Paul May 29, 2020Posted inProject EulerNo Comments
Problem: Find the sum of all the even numbers in the Fibonacci sequence whose values do not exceed 4 million. Q: What is the minimum section of the sequence that…
Read More

Project Euler: Problem 1

Posted by By Paul May 20, 2020Posted inProject EulerNo Comments
Problem: Find the sum of all numbers below 1000 which are a multiple of 3 or 5. Solution: Given the numbers involved, we can simply brute-force the answer by simply…
Read More

Invoice Ninja and Vagrant

Posted by By Paul April 18, 2019Posted inAnsible, Business, Laravel, VagrantNo Comments
Invoice Ninja is a self-hosted and open source invoicing solution written using a PHP framework called Laravel. I wanted to give it a try as a replacement for my existing…
Read More

Posts navigation

Previous page 1 2 3 4 5 … 24 Next page
Contact details
Paul Waring
paul@phpdeveloper.org.uk
07999 030 251
LinkedIn
Recent Posts
  • Automated WordPress updates for Sympl
  • Sorting arrays in Twig
  • Changing Docker container timezones
  • Force SSH to prompt for password
  • Exclude files from searches in Visual Studio Code
Copyright 2022 — PHP Developer. All rights reserved. Sinatra WordPress Theme
Scroll to Top