Setting up Drupal in Rackspace Centos 5.5 in 3 minutes or less

The boring part:

Log in to Rackspace and spin a new server with Centos 5.5 and most basic settings.

We will be doing this with root so this setup will be for testing only and no production.

The fun part:

$ yum install httpd php php-mysql mysql-server unzip nano php-xml php-gd

(NOTE: php-xml and php-gd are required by Drupal dom/gd respectively)
$ service httpd start
$ service mysqld start
$ msyql
> create database drupal
> quit()
$ cd /var/www/html
$ wget
$ unzip
$ mv drupal-7.2/* .
$ rm -rf drupal-7.2
$ mkdir files
$ chmod 777 files
$ cp default.settings.php settings.php

open the IP address on your browser and follow the installation instructions

How do you install Vim plugins? – Wikianswers – Find and edit the best answers. How to? What? Is it? Can I? Where is?

  • The “plugin” directory is for plugins that should always be loaded whenever Vim starts. These define global commands, interface tweaks, or new functionality useful for all or many file types.
  • The “ftplugin” directory is for filetype-specific plugins, such as autocompletion or highlight-errors-as-you-edit plugins.
  • The “syntax” directory is for updated syntax highlighting rules specific to a file type.
  • The “indent” directory is for filetype-specific indentation rules.
  • The “ftdetect” directory is for filetype-detection rules. Files that go here should usually do nothing but set the filetype so that files in the ftplugin, indent, or syntax directories are loaded for a new filetype.
  • The “colors” directory is for color scheme files.
  • The “doc” directory is for any help file documentation.
  • The “after” directory contains another tree with directories like “plugin”, “ftplugin”, and “syntax” that can be used to override settings in the system-wide settings or other plugins placed in the normal version of these directories. These files will always be loaded after their counterparts in other directories.
  • All about the VIM Folder structure

    Command Center: Nerd tree Tips

    > (a)dd a childnode(m)ove the curent node(d)elete the curent node(c)copy the current node

    m + c on the folder would duplicate it

    How to jump back to NERDTree from file in tab?


    NERDTree moving from file in tab.

    Fake – Mac OS X Web Browser Automation and Webapp Testing Made Simple.

    Fake is a new browser for Mac OS X that makes web automation simple. Fake allows you to drag discrete browser Actions into a graphical Workflow that can be run again and again without human interaction. The Fake Workflows you create can be saved, reopened, and shared.

    Inspired by Apple’s Automator application, Fake looks like a combination of Safari and Automator that allows you to run (and re-run) “fake” interactions with the web.

    I am starting to think of an idea browser/OS independent.