Midwesternmac - midwesternmac.com - Midwestern Mac, LLC
General Information:
Latest News:
Restrict access to the Apache Solr admin interface 25 Aug 2013 | 08:47 pm
I've helped many people set up or fix a botched install of Apache Solr on their VPSes and web servers. Most of the time, I've noticed that people leave the administrative frontend to Solr wide open fo...
Overriding a template file (.tpl.php) from a module 21 Aug 2013 | 06:44 pm
There are many times when a custom module provides functionality that requires a tweaked or radically altered template file, either for a node, a field, a view, or something else. While it's often a ...
D8CX at MWDS - Porting Wysiwyg Linebreaks to Drupal 8 17 Aug 2013 | 11:58 pm
I have been at the Midwest Drupal Summit for the past few days, focusing on #D8CX and reducing Drupal 8's technical debt (at least, a tiny bit of it!). Wysiwyg Linebreaks My main goal at the confere...
The Drupal Way™ 13 Aug 2013 | 05:26 pm
I've worked with a wide variety of developers, designers, content managers, and the other Drupal users in the past few years, and I'm pretty sure I have a handle on most of the reasons people think Dr...
Install Node.js on CentOS using yum 8 Aug 2013 | 07:06 am
If you're running CentOS 6.x (I use 6.4 currently), and you have installed the EPEL yum repository, you can install Node.js simply with: $ sudo yum install npm Done. Check for node's successful inst...
Running Vagrant + VirtualBox from an External Drive 7 Aug 2013 | 11:41 pm
I have a MacBook Air with a 128 GB SSD, so I'm always in a bit of a crunch for space on my hard drive. Developing with local VMs provisioned by Vagrant and VirtualBox makes my Drupal (and other) devel...
Migrating Drupal 7 users from site to site while preserving password hashes 14 Jul 2013 | 08:26 am
From time to time, I use the incredibly powerful Migrate module to migrate a subset of users from one Drupal 7 site to another. Setting up the user migration class is pretty straightforward, and ther...
Quickly generate secure, random passwords (Mac) 2 Jul 2013 | 11:09 pm
If you use Mac OS X, add the following line to your .bash_profile: alias passme='openssl rand 48 -base64 | pbcopy' Whenever you need a password (like when you're registering a new account or resetti...
Boost Expire module being deprecated; how to switch to Cache Expiration 27 Jun 2013 | 08:41 am
I'm a huge fan of Boost for Drupal; the module generates static HTML pages for nodes and other pages on your Drupal site so Apache can serve anonymous visitors the static pages without touching PHP or...
Quickly resetting a local MySQL database from the command line [Updated] 25 Jun 2013 | 09:17 am
[Update: And, as quickly as I finished writing this post, I thought to myself, "surely, this would be a good thing to have drush do out-of-the-box. And... it already does, making my work on this shell...