Mike Admire

About

Mike Admire is a software developer and technology manager specializing in web applications and Internet architecture. more...

Tags

Posted by Mike on 2010-07-15

I have been looking for a good way to run Cucumber tests from inside of vim without having to switch to a terminal window and enter the cucumber command. I came across this post from Larry Marburger over the weekend that talks about setting vim up to send Cucumber commands to a screen session. He references a blog post by Jonathan Palardy that goes in to some good detail about how to get everything setup for this to work. Using these two posts as a reference I started experimenting, and I think I've come up with a pretty cool work flow.





Posted by Mike on 2010-06-26

Bash aliases are a very useful feature for UNIX command line users. In this article I will discuss what they are and how to take advantage of them.

Aliases are a way to say "when I type this, I want you to interpret it as this other thing." For example:

alias ft='find . -type f'




Posted by Mike on 2010-06-08

A useful command that I frequently use when looking for a particular string in a file is a find command piped to xargs grep. For example, if I am looking for the word Mike in any file inside of /usr/local I will type:

find /usr/local -type f | xargs grep Mike




Posted by Mike on 2010-05-26

OK, I have finished migrating the posts from my old blog.





Posted by Mike on 2010-05-25

I'm in the process of migrating posts from my old blog.





Posted by Mike on 2010-05-23

I have the server setup and the Capistrano deploy configured. The site you see now is evidence of that.





Posted by Mike on 2008-09-29

There may be times when you need to query data from a SOAP web service. This article is an attempt to document the process of retrieving and working with that data.





Posted by Mike on 2008-09-25

I guess this is what I get for doing most of my testing in Firefox. I created an aspx page to be opened in a javascript window.open to allow a customer to preview some rendered HTML. I used labels in the aspx page and then populate those with data returned from a database. Everything looked great in Firefox, but when I checked it in Internet Explorer, there was no word wrapping. Each line ran off the page.





Posted by Mike on 2008-08-30

I just installed ruby 1.8.7 on a Windows machine and when I started IRB I got this error:

ruby.exe Unable To Locate Component readline.dll




Posted by Mike on 2008-08-13

I just went through the process of setting up a new Linux desktop for Rails development.