I am an Architect & CS Adjunct Professor at Babson College, heading up providing Drupal services at the college. We're currently working on LMS type features, and we're creating portals for the different departments, and other forms and tools for the college. Barnettech still takes on some side consulting work. Be in touch regarding any of our modules posted on drupal.org, or to speak about consulting, Drupal, or Education.

Installing Selenium 2 on OSX

http://damien.co/resources/how-to-install-selenium-2-mac-os-x-python-7391

Here above is a linkback to a great tutorial.  Here is the content in case the page above gets taken down (its happened before) and I need to find the notes myself.  Hopefully damien.co gets more traffic than this page, but I don't want to lose the great info in case he ever takes down his site.

 

Setting up and using VIMs Exuberant CTAGS on OSX (MAC)

Wiki Terms: 

Assuming you have macports install you first type:

port install ctags

Then you generate a ctags file in the root of your Drupal project by typing in:

ctags --langmap=php:.engine.inc.module.theme.install.php --php-kinds=cdfi --languages=php --recurse

type in the following in vim to tell vim to look in the current directory for a tags file and then the parent, and then recursively continue until a tags file is found.

:set tags=./tags; 

Now type in ctrl-] on any function or class name and it will take you to the definition

Here is my .vimrc file for mvim

Here is my .vimrc file for mvim, in particular I don't want to forget how to configure Syntastic for Drupal syntax checking in drupal.  If you type in "phpcs -i" you can verify that the drupal sniffer is setup and available.  The output on my screen from phpcs -i is "The installed coding standards are Drupal, MySource, PEAR, PHPCS, PSR1, PSR2, Squiz and Zend"

Pages

Subscribe to Barnettech Blog RSS