Category Archives: Life of a Web Developer

Regular expressions: positive and negative lookaheads and lookbehinds

Do you work with regular expressions sometimes? If you do, and you don’t know about lookbehinds and lookaheads, you are missing out on a fantastic feature. I’m just pasting in something I said to some colleagues. Use your imagination and Google to extract the rest of the blog post 😉 [10/30/14, 10:11:44 PM] Kevin Kaland: man [10/30/14, 10:11:53 […]
Also posted in Regex, Tips | Tagged , , , , , , , , , , | Leave a comment

Disabling default rsync of the Vagrant Docker provider

Discovered today that Vagrant automatically rsyncs files to the Host VM when the Docker provider is used on a system that doesn’t natively support Docker. Sometimes, though, one wants to sync the files to a custom location, and might get errors when trying to sync them to two locations on the Host VM (as I […]
Also posted in DevOps, Technology, Vagrant | Tagged , , , , , | Leave a comment

lefnire.js: the weirdest Node.js API consumer ever

It must have all started with a joke on iRC that my friend lefnire, creator of HabitRPG, might just be an advanced Node.js program. A few weeks later, a buddy and I took this to its logical conclusion. But even with novelty projects, there are things to be learned, and this project has exposed me […]
Also posted in APIs, Node.js, Projects, Technology | Leave a comment

One SSH key to rule them all: Forward your SSH agent session in 15 seconds

Recently, I used a tool that spoke of “forwarding” my SSH session to the server and thus avoiding needing to copy my private key to the server in order to be able to access Git repositories or other servers where I log in by public key. If you manage your keys at all, you can immediately […]
Also posted in Tips, Toolbox | Tagged , , , , | Leave a comment

My mobile office is now in the Toolbox

If you follow me on Twitter, you probably already know all this. If not, however, allow me to explain. When I’m away from home, whether at a cafe or a Drupal event, there are a few things I take with me to ensure a pleasant working experience. You may have encountered me with them at […]
Also posted in Drupal, Events | Leave a comment

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 , , , , , , , , , , , | 3 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