Find the article here which explains with steps.
Thursday, January 10, 2013
Friday, July 20, 2012
Useful Linux Commands..
- SVN related commands
- To checkout the code
- svn co SVN_URL
- To checkout the code for a revision
- svn co -r REVISION_NUMBER SVN_URL
- To update the code to latest revision
- svn update
- To update the code for a particular revision
- svn update -r REVISION_NUMBER
- SendMail related commands
- To check is SendMail is running successfully
- ps -aux | grep sendmail
- To install sendmail in Ubuntu
- apt-get install sendmail
- To start sendmail service
- service sendmail start
- Memcached related commands
- To start memcached
- memcached -m MEMORY_SIZE -p PORT_NUMBER -u nobody -l 0.0.0.0
- To check is memcached is running successfully
- ps -eaf | grep memcached
- To login into memcached host
- telnet MEMCACHED_HOST PORT_NUMBER
- To flush memcached data
- echo 'flush_all' | nc MEMCACHED_HOST PORT_NUMBER
SVN_URL
Any URL of valid SVN
REVISION_NUMBER
Any valid revision number. Ex: 121
MEMORY_SIZE
Any valid memory number in MegaBytes(MB). Ex: 2000
PORT_NUMBER
Any valid port number. Ex: 11211
MEMCACHED_HOST
Any valid memcached host. Ex: 127.0.0.1 OR localhost
Monday, March 05, 2012
How to redirect to another host using .htaccess?
RewriteCond %{HTTP_HOST} ^(.*)fromhost\.com
[NC]
RewriteCond %{REQUEST_URI} ^/$ [NC]
RewriteRule ^(.*)$ http://tohost.com/page [R=301,L]
RewriteCond %{REQUEST_URI} ^/$ [NC]
RewriteRule ^(.*)$ http://tohost.com/page [R=301,L]
List of useful Drupal modules.
Node export - This module allows users to export nodes and then import it into another Drupal installation, or on the same site.
Monday, January 30, 2012
Command to flush Memcache data.
For Unix:
Here is the article which explains various ways to clear the memcache data from linux command prompt.
For Windows:
telnet localhost 11211
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
flush_all
OK
quit
Connection to localhost closed by foreign host.
Here is the article which explains various ways to clear the memcache data from linux command prompt.
For Windows:
telnet localhost 11211
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
flush_all
OK
quit
Connection to localhost closed by foreign host.
Saturday, January 28, 2012
Install Memcached on EC2 Amazon Linux
Find the article link here which explains the steps.
Saturday, January 14, 2012
How to host node as a service, just like IIS in Windows?
Installing node as a service will help us as below.
Steps:
- Run in the background
- Restart automatically if it crashes
Steps:
- Install NSSM (non-sucking service manager). This tool lets you host a normal.exe as a Windows service.
- Go to command prompt.
- Execute nssm.exe install node-service c:\nodejs-path\node.exe c:\code\sample\server.js
- Execute net start node-service
For more information see here.
Friday, January 13, 2012
How to install NodeJS plugin into Sublime Text editor in Windows?
- Invoke the command prompt as administrator.
- Make sure git is already installed.
- Execute the below command.
git clone git://github.com/tanepiper/SublimeText-Nodejs.git "%APPDATA%\Sublime Text 2\Packages\Nodejs"- After successfully installed, restart Sublime text editor.
- To invoke list of functions use Ctrl + Space.
For more information see here.
Friday, January 06, 2012
Friday, December 30, 2011
How to install/uninstall node modules in windows 7?
To install node module
- Start command prompt as administrator. For help see this link.
- Go to the folder where nodejs installed. Example: CD "C:\Program Files\nodejs\"
- Again go to the folder of node_modules under npm. Example: CD "node_modules\npm\node_modules"
- Execute command "npm install http-proxy"
To uninstall node module
- Follow Step 1 to 3 of above.
- Execute command "npm uninstall http-proxy"
Third Party Modules of Node.js
Wednesday, December 21, 2011
What is Node.js ?
Node is a server-side JavaScript interpreter that changes the notion of how a server should work. Its goal is to enable a programmer to build highly-scalable applications and write code that handles tens of thousands of simultaneous connections on one, and only one, physical machine.
Read More:
http://www.ibm.com/developerworks/opensource/library/os-nodejs/index.html
http://www.nodebeginner.org/
Read More:
http://www.ibm.com/developerworks/opensource/library/os-nodejs/index.html
http://www.nodebeginner.org/
Tuesday, November 22, 2011
How to customize Google Docs Form for Custom Thank You Page and Form Validation ?
Below articles are so useful.
http://www.2webvideo.com/blog/customizing-google-docs-form-for-email-validation-with-free-jquery-script
http://whanethewhip.wikidot.com/article:custom-google-form
http://www.morningcopy.com.au/tutorials/how-to-style-google-forms-redux/
http://sneakysheep.com/contact.php
http://www.2webvideo.com/blog/customizing-google-docs-form-for-email-validation-with-free-jquery-script
http://whanethewhip.wikidot.com/article:custom-google-form
http://www.morningcopy.com.au/tutorials/how-to-style-google-forms-redux/
http://sneakysheep.com/contact.php
Tuesday, July 12, 2011
Information on Drupal setup for Multilingual site
This link gives information on Drupal setup for Multilingual site
Thursday, February 03, 2011
Tuesday, January 18, 2011
Programmer's reference to the Drupal Forms API
This document provides a programmer's reference to the Drupal Forms API.
Subscribe to:
Posts (Atom)