Category Archives: Life of a Web Developer

WizOne Solutions Winter Update

Update: I’ve also sponsored DrupalCamp NJ (http://www.drupalcampnj.org/sponsors/fill-pdf-service) at the Silver level. I wondered what I should call this post, and the title I picked seemed to fit. It’s been some time since I’ve written a proper blog post about my attendance to (or sponsorship of) camps. I’ve definitely tweeted about it, but the blog posts have [...]
Also posted in Drupal, Events, Updates | Leave a comment

Last-ditch Solution to Non-Working PHP-FPM + Apache Configuration

I had a surreal experience yesterday. I was following online tutorials about setting up Apache + PHP-FPM (for example, this ServerFault question: http://serverfault.com/questions/326919/how-to-set-the-httpd-conf-when-using-php-fpm-with-php5-3-8-and-apache2). I’ll let you read that rather than re-hash it. My goal here is only to share quickly how I actually got this working. Alright, so you know the part where it says [...]
Also posted in DevOps, Tips | Tagged , , , , , , , , , , , | Leave a comment

Linux tip – regular expression find and replace in all files in a directory

As you may have seen me tweet, I’ve been looking for a way to do this. I didn’t want to manually change my Apache configuration to reflect my new internal IP address. After some Internet searching, I stumbled across this gem: http://www.linuxquestions.org/questions/linux-software-2/find-and-replace-text-in-multiple-file-203801/#post1742045 find . -name '[^.]*' | xargs perl -pi -e 's/192\.168\.1\.3/192\.168\.0\.3/g' I adapted it [...]
Also posted in Tips | Tagged , , , , , , , , , , , | 2 Comments

How-to: Create Drupal development sites in Quickstart

Yesterday, I felt like reviewing some patches, so I fired up my Quickstart-based virtual machine and set about creating some Drupal development sites. I realized I first had to create Drush Make files to get the proper development versions installed. So I did that. However, I also realized that, despite cloning the code via Git [...]
Also posted in Drupal, Drush, Tips | Tagged , , , , , , , , , , , | Leave a comment

Meetup API Tools Seek Co-Maintainer, Further Developments Possible

Always wanted to entitle something like that. Anyway, I’m certainly not getting anywhere fast on PHP Meetup API Client or Meetup API on drupal.org. There are issues on both expressing this. Reply to them or contact me. Meetup API on drupal.org issue: http://drupal.org/node/1194532 GitHub issue: https://github.com/wizonesolutions/meetup_api/issues/4
Also posted in Drupal | Tagged , , , , , , , , , , | Leave a comment

Drupal Camp Sacramento Area 2011 Conference Report

This weekend, I attended the first DrupalCamp in the Sacramento, California area. It happened to be held in Davis, a location which worked for me. Some of you might know that I was talking about taking Amtrak’s Coast Starlight up to the Bay Area. I indeed did. Here’s some pictures: (flickr link coming soon; I [...]
Also posted in Drupal, Events | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Linux sed trick – Remove line from file by number

I wanted to document this before I forgot it. To remove a single line from an existing file with sed, use: sed -i '[num]d' [filename] For example, to remove line 1 from ~/.ssh/known_hosts (my exact use case right now), type: sed -i '1d' ~/.ssh/known_hosts sed is a neat little tool. I use it to quickly [...]
Also posted in Tips | Tagged , , , , , , , , | Leave a comment

Quest for a Flexible Development Environment

(If you don’t have a lot of time, skip to Phase 5.) Update! Track my planning and thought process in the public Quest for a Flexible Development Environment Evernote notebook! This blog post is actually a big question. It’s hard to express this question in 140 characters, so I blogged instead of tweeting. Here goes: [...]
Posted in Life of a Web Developer | Tagged , , , , , , , , , , , , , , , , , | 3 Comments

Quick Drush Tip – Import database SQL with drush sql-cli (sqlc)

I discovered something awesome today just on a hunch and wanted to share. I’m not the first one to blog about this, but it isn’t widely mentioned on the ‘net, at least not as far as I can see. Basically, it’s the drush sql-cli command, or drush sqlc for short. If you type just that, [...]
Also posted in Drupal, Drush, Tips | Tagged , , , , , , , , , , | Leave a comment

Drupal in 2020

This post is the expansion of a tongue-in-cheek IRC conversation I had the other day. I thought it’d be fun to blog about it because, while it’s mostly just humorous, it actually does cover some of the issues Web Developers encounter while developing in Drupal (or in many other platforms). So, walk with me if [...]
Also posted in Drupal | Tagged , , , , , , , , , , , , | Leave a comment