Monthly Archives: August 2011

to install yum on ubuntu

sudo aptitude install yum  above command not worked .   so download rp m file from here   and for installing by rpm file we need alien on ubutnu system so installed alien apt-get install alien alien -iv yum-2.6.1-0.fc5.noarch.rpm Ref … Continue reading

Posted in Ubuntu/Linux | 1 Comment

Installing java 1.6

For liliy i needed to install java 1.6 .  sudo apt-get install openjdk-6-jre For checking the version java -version Ref :  

Posted in Ubuntu/Linux | Leave a comment

August last week

Install monit was fun this week. Capturing and triggering event in iframe is not going good. This link has how we can dispatch event in   if you change the model property silently , the it will not trigger … Continue reading

Posted in Uncategorized | Leave a comment

Emacs commnad

      For deleting the selected text <C-w>Cut the currently selected text, also copy it.

Posted in Ubuntu/Linux | Leave a comment

Installing Monit on ubuntu

sudo emacs  /etc/monit/monitrc sudo /etc/init.d/monit start sudo monit status Ref : This screenshot was really helpful : I got this code from above screen shot : /etc/monit/monitrc file I used: set daemon 20 set logfile /var/log/monit.log … Continue reading

Posted in Node.js, Ubuntu/Linux | Leave a comment

how to column select in notepad++

Notepad++, is a great open source editor similar to EditPlus and UltraEdit. One of the features that I really appreciated in EditPlus, was the capability to select a column of data. I checked if NotePad++ has a similar feature and found the following … Continue reading

Posted in Project Management | Leave a comment

How to start with cake php

    Ref :  

Posted in PHP | Leave a comment

How to enable mod_rewrite in apache

how to check which modules are loaded in apache apachectl -t -D DUMP_MODULES Ref : how to enable mod_rewrite in apache2 cd /etc/apache2/mods-enabled touch rewrite.load gedit rewrite.load (you may use any editor to edit this file) now paste this … Continue reading

Posted in Apache | Leave a comment

how to make api server and call an api from node.js

making server for api interface var sys = require(“sys”), http = require(“http”), url = require(“url”); http.createServer(function(request, responsehttp) { responsehttp.writeHead(200, {“Content-Type”: “text/html”}); console.log(request.url); var url_parts = url.parse(request.url, true); var query = url_parts.query; console.log(query); var msg={ ‘success’:true, ‘message’:’your request is sent to … Continue reading

Posted in Node.js | Leave a comment