Submitted by RoloDMonkey on 2019, January 2 - 13:16
A lot of my work over the last few years has been working on migrations between various versions of Drupal. That usually means that I need to configure a local Drupal development environment with more than one database. And although this is relatively easy to do with Lando, I often have to look up how I did it before. So, I figured I should write it down and share with everyone else at the same time.
.lando.yml
Adding a database to an existing Lando environment is as easy as adding a few lines to the .lando.yml
file and restarting.
Submitted by RoloDMonkey on 2018, November 7 - 08:54
Installing Lando on a Windows machine is easy. Just follow these 30 (or more) simple steps:
- Review the directions.
- Figure out which version of Windows you are running.
- Realize that you need to upgrade to Windows 10 Professional, because apparently you have to pay extra to actually do work on a Windows machine.
- Open the Windows Store.
- Spend half an hour trying to figure out why the Windows store is only showing blank pages.
- ...
Submitted by RoloDMonkey on 2015, May 15 - 14:05
Submitted by RoloDMonkey on 2011, May 23 - 14:21
Or, What does "scale" really mean?
If you interact with technical people, you will inevitably hear the word scale. They will say something like, "it doesn't scale well", or, "we need to make sure that this can scale up". Maybe you aren't sure what this means, but you nodded your head anyway. Well, let me tell you what they are talking about.
Submitted by RoloDMonkey on 2011, January 25 - 09:19
I'm on the intertubes!
Recently, I made two presentations at the Western MA Drupal Camp. One presentation was for people new to Drupal and the other was a very advanced look at the framework for database administrators. I have posted my slides on the camp website. Also, the first presentation was streamed live and is available for viewing. Feel free to take a look at the links below.
Submitted by RoloDMonkey on 2008, October 23 - 12:00
Case Sensitivity in MySQL
Yesterday I spent more than an hour trying to get a MySQL export from a Windows machine to play nice with a Unix server. This problem was compounded by Windows hiding a configuration file from me. Luckily for you, I eventually solved my problem and decided to write another Mistakes story.
Submitted by RoloDMonkey on 2008, May 21 - 14:41
The setup
Recently, I did some pro-bono consulting work for a client. As part of our agreement I made it clear that I would retain the rights to the code I wrote. The reason I did this is because I wanted to be able to give back to the community, and now I am going to do that. The work was made up of six tasks, ranging from trivial to complex. I intend to write six articles based on these tasks. This is the first.
Submitted by RoloDMonkey on 2008, May 9 - 15:33
The lists below may seem sparse. This is deliberate. I could give you a laundry lists of every programming language, software package, operating system, and technology buzzword that I have ever worked with. I won't subject you to that. I will just tell you my greatest strength:
I find solutions.
Submitted by RoloDMonkey on 2008, March 20 - 17:40
What is Unit Testing?
In simple terms, unit testing is a definition of tests to run on your code. Usually, these tests are automated. The "unit" in unit testing means that the tests should test the smallest functional units, like functions or methods. However, unit testing does not have to be limited to only testing small parts; it can also test interactions between parts with complex combinations and variables, and even test some visual elements, like whether or not a certain image is actually shown or if a class was applied to an XHTML tag.
Submitted by RoloDMonkey on 2008, January 21 - 15:50
Here is another tip from "Mistakes I've Made". Don't mix up your conditions and assignments. In other words be careful about using assignment operators (like the eqauls sign '=') inside of conditional statements. Although this happened with PHP, the same problem can occur with many other languages. Let me explain...
Here is a very common way to loop:
Pages