Register | Login

Published Articles

Embedded System Design and Development workshop based training is happening in chennai on June 9th and June 10th


Workshop Content: http://www.ignitemindz.com/index.php/embedded-system-design-and-development-arduino-workshop-based-training-in-chennai-on-may-26-and-may-27


rails 3 authlogic installation and configuration

Posted by rajesh 1942 days ago (Editorial)

to add authlogic to rails


first install authlogic


gem install authlogic


edit Gemfile in your rails app and add the following line


gem 'authlogic'


Now run 'bundle install'


/ - the root directory


/boot - keeps all information required for booting


/etc - keeps all configuration files


/bin - binaries required for the system to operate


/usr/bin - binaries of application for system to operate


/sbin - binaries  required for the system and only for root user


/usr/sbin - binaries of application for root user


/

In order to run a shell script we need to use the following command.


$ sh test.sh


sh will point the shell and execute the script called test.sh


Another method is to execute by changing the permission of the shell script


chmod 755 test.sh


./test.sh


Note: In this method it is mandatory that you need to use she-bang code in the top of your script. A

python file full path for windows

Posted by jaisrimakster (#88) 1951 days ago (Editorial)

Normal windows path from 'c:' will not work in python for windows.


Solution: In order to open a file in windows using python then we need to use c:/foldername/filename.


e.g.


f = open('c:/sri/text.py.txt', 'r+')


 


 


Is it possible to rename a column name?

Posted by jyothsnav 2159 days ago (Editorial)

Yes it is possible to rename a column name in DB2 V9.7 version online.


Exception: If the column to be renamed is a part of primary key, we should drop the primary key, rename the column and then recreate the primary key


Command:


ALTER TABLE <TABNAME> RENAME COLUMN <OLDNAME> TO <NEWNAME>


 


How to find the last used date of an index

Posted by jyothsnav 2160 days ago (Editorial)

In earlier versions of DB2, we donot have the facility to find the last used date of an index. But in V9.7, this feature is available which will help us in analysing the real usage of that index and whether it is required.


Command:


SELECT LASTUSED FROM SYSCAT.INDEXES WHERE INDNAME='?'


OR


SELECT INDNAME,LASTUSED FROM SYSCAT.INDEXES WHERE TABNAME='?'


 

Pligg configuring tinymce spellchecker

Posted by madeeswer 2393 days ago (Editorial)

In many scenarios Tiny Mce spell checker will not work when you add tiny mce to pligg.


To solve this issue, download the latest version of tinymce spell checker.


unzip the download and copy the folder under plug-ins folder of tinymce.


In Tinymce.init - remove the iespell from plugins and change it as spellchecker.


e.g.


tinyMCE.init({
  &nb

MQ Error 2059 Message Queue Name not found

Posted by madeeswer 2415 days ago (Editorial)

There are few possiblities for Error 2059.


2059 means the queue manager is down or the queue name your trying to use is not available.


Copy server/all to server/node1 by entering the following:


Sort News
Username:

Password:

Remember:
YourWiz.com, is a website that will allow everyone to share their knowledge, tip or information through community micro blogging.