Detailed instructions for installing simple test on Drupal 6 Unix like

Open a Terminal Window; if your target is Remote you need also a ssh Login to your Server.

Drupal 6 Limit the User to only One Node/Story/Post Creation

To Set up the Rules on your System you need to Add the Rules Module and the Node Limit Number Module.

To Getting-Started making Rules on Drupal look: Quick Start Making Rules on Drupal 6

Drupal 6 Enable Clean URLs .htaccess Settings Hostgator

Set-Up the Clean URLs for Drupal is a little bit Tricky  and if you try Googling around only for

a little while you will find Multiple Contrasting Options to be inserted on the .htaccess file.

There are Basically two kind of different Setup for the .htaccess file:

  1. For the Main Registered Domain located inside the public_html Directory

Drupal 6 Rules Module Getting Started

  1. Need to install the Rules module
  2. Go in your Browser to Address:

    http://www.yourDomainName/?q=admin/rules/trigger

    or if you have Clean URLs enabled

    http://www.yourDomainName/admin/rules/trigger

What are Google Webmaster Tools Impressions?

According to Google Webmaster (Reference):

robots.txt file for Wordpress Network

Here is a Default robots.txt for Network of Wordpress Sites:

Rails Adding Field/Column to Migration

rails generate migration add_fieldname_to_tablename fieldname:string

This will generate the file timestamp_add_fieldname_to_tablename, which will look like this:

class AddFieldnameToTablename < ActiveRecord::Migration
  def up
    add_column :tablenames, :fieldname, :string
  end

  def down
    remove_column :tablenames, :fieldname
  end
end

After if you need to Change some Options or Add some others Fields/Columns you can Edit the file:
db/migrate/timestamp_my_new_migration.rb

Rails Form date_select Helper Options date range start end how many years

To change the Default Settings for the date_select Helper in a Rails form.

cd path/To/railsApp
cd app/views/yourApp
nano _form.html.erb

Edit the line containing date_select and insert some options.

How to Start PostgreSQL Server on Mac OS X

  1. You need to Locate the bin/pg_ctl file If you do Not know the location make a Search with $locate or $find Commands... Example:

    locate pg_ctl
  2. Login as the postgres User with (or the User is Able to run the Server):

    su postgres
  3. Give the command to Start the server. Example:

    /Library/PostgreSQL/9.0/bin/pg_ctl -D /Library/PostgreSQL/9.0/data start

How To Set Permissions Recursively on Web Server by Command for Files and Directories after Deployment Mac Linux Unix

Open a Terminal window (if your Live Server is Remote you need a ssh Login)

To Set Permissions Only for Files Recursively execute:

find path/To/Root/Directory -type f -print0 | xargs -0 chmod 744

To Set Permissions Only for Directories Recursively execute:

find path/To/Root/Directory -type d -print0 | xargs -0 chmod 755

(Reference)

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer