https://metacpan.org/pod/local::lib
https://metacpan.org/pod/DBD::SQLite
As a business owner, you may have been advised by an agency or freelancer that your software requires a complete rewrite. The idea of starting from scratch can be intimidating, especially if you don't have a technical background. In this article, we will explore the reasons behind software rewrites, and why you might not need one. Instead, we'll discuss the benefits of working with skilled developers who can refactor and document your existing software, saving you time and money.
This all started out with Docker failing to start because binding the port wasn't permitted
Now, this isn't the best article, as it was written half from memory, and half from command history, but hopefully it will help somebody!
I tried to find out what ports were in use with
The Windows Subsystem for Linux (WSL2) has proven to be a game-changer for developers, allowing them to run a GNU/Linux environment directly on Windows, without the overhead of a traditional virtual machine. With Windows 11, WSL2 now supports GUI applications, which opens up a whole new world of possibilities, including running Cypress, a popular end-to-end testing framework for web applications.
This article will walk you through the process of setting up Cypress in WSL2 under Windows 11, highlighting some of the changes since GUIs were supported in WSL, and providing step-by-step instructions to get everything up and running. Step 1: Set Up WSL2
This is a collection of a few of the projects I've undertaken with PHP.
A client had a complex system which had been built over a number of years with no specific arcitectural design,
I have been using Linux for over ten years, starting when I found a boxed version of RedHat 7 at a computer fair, as teenager this seemed really cool. In my early career a lot of my focus was building and maintaining RedHat Enterprise Linux servers, while I was using RHEL at work, I was using Ubuntu and Debian at home.
Caddy seems like a Web Server that's going places, but unfortuantely there is still a need for more tutorials, and discussion. While there was nothing overly complicated about getting it up and running, it did take a few head scratching moments to get there! So, here's how to do it:
I've been working for quite some time to migrate an application from an old, very liniar, non-modular design to the point where it follows the MVC pattern fairly well.
It's a slow process, but it's getting there, here is an example of one of the functions that has been reworked.
The following function is one I wrote to generate URLs for eBay APIs, but I took care to avoid making it vendor specific, hopefully it's of use to somebody, and as always, please get in touch with any feedback!
/**
* This function provides a generic way of building a request URL for a
* range of APIs. Vendor specific elements are contained within theIncase you've not heard of it, MySQL's "load data infile local" is a really useful bit of functionality that allows you to load a file directly into a database table.
The benefit of it is that the whole file is processed at once, so it's very fast!
The downside is that the file has to be perfect, or nothing is loaded (I suppose atomic behaviour is really a benefit as well...). The columns must occur in the same order as they occur in the database, needless to say getting it to work initially can be a little fiddly, but when it works, it's worth it!
Laravel includes MonoLog, which is a rfc5424 compatible logging library, which basically means you log in the same way as if you were using a similar Library in another language, or even just another PHP logging library (such as Log4PHP, which I used before I started using Laravel).
So, what's this Grunt? Basically, it's a Javascript based task runner, which can be used for a huge range of, well, tasks!
In my use case Grunt performs a few tasks:
An issue I've run into in the past is "how do we perform 5 calls to a 3rd party API, as quickly as possible?" The obvious answer is, make them all at once and wait until they've all come back! While PHP does support forking on Unix OSes http://www.tuxradar.com/practicalphp/16/1/3, the method I am going to explain allows for the requests to be load balanced,
First of all, Apache Allura is an open source forge application, it was developed by SourceForge, and provides a lot of really great functionality, to find out more about what it offers, check out the link.
While servers often cache files to allow them to serve them more quickly, so do web browsers. Most of the time this is great, as it lets you see the page you want, sooner!
But if the page has updated, or the website has moved servers, and the cache is still in place it can be quite frustrating.