On some of the servers I work with, due to cheap hard drives in software RAID configuration, I’ve found that bundle install can be extremely slow (take half an hour to complete). This obviously became unacceptable during deploys.
Category: Open Source
Effort – Personal To-do and Project manager
I open sourced a Rails app that I’ve been personally using for years for simple project management. The code is available on Github under the MIT license. From the README:
klevo/percona docker container updated
The dockerfile repos my docker containers depend on have been discontinued at Docker Hub. I have updated klevo/percona to reflect this. The Dockerfile now imports the official Ubuntu base image. I have also done some other tiny improvements.
Script to update PhpBB 3.0.x to 3.1.x
Recently I had to upgrade a dozen PhpBB boards to the latest version. Previously I would do this by hand, which would take days. This time though, while reading through the update notes, I noticed that it is possible to update the database through the console (I assume this was only introduced in 3.1). That was the necessary prerequisity to be able to automate everything. I ended up with the following script:
```bash #!/usr/bin/env bash echo “Upgrading PhpBB instal in ‘$1’ to 3.1 with files from ‘$2’…”
Bash: Underscore a String
I find it weird that I did not find a ready made script for this immediately through a google search. So this is what I arrived at after some digging:
MailCatcher – My favorite development SMTP server
Big part of development of webapps is to be able to effectively send and receive email from these apps. Using and external SMTP server is slow: you have to wait for the email to be send and then receive it through a real email client. Having a local SMTP server on the dev machine is a much better solution. I use MailCatcher. It’s open source, simple and today I fixed the only thing that was bothering me on it.
