Submitted by Davinder on Wed, 04/10/2013 - 07:55
ILP(Initial Learning Program) Experience
This was the first time when i was called for training in one of the largest IT company of India TCS, in beautiful city named as Ahmadabad.
We were tagged with a stream named as BIPM(Business Intelligence & Performance Management).
We were groomed in two different ways, one was technically and other was personally.
Submitted by Davinder on Wed, 10/03/2012 - 21:14
As i am working in SRIJAN technologies from past 11 months, which is a drupal development company. I learned some rules regarding drupal in this span of time, which are listed below :
Submitted by Davinder on Fri, 05/25/2012 - 02:40
I was working with coder of drupal from past 3 days and had removed 7000 errors from a particular module. But i have done it with VI-Editor by following Commands.
1.For Removing all leading spaces
:1,$s/^\s*//gc
I have used gc so that it will confirm for every instance on every line.
2. Make an indentation of 2 spaces for every line starting.
:%s!^! !
3. Replacing
,
with
,
:%s/,/, /gc
4. For deleting all trialing spaces at the end of line
:%s/ \+$//c
Submitted by Davinder on Mon, 05/14/2012 - 07:56
If you install phpMyAdmin on your web host and all you see when you access www.yoursite.com/phpmyadmin (or whatever) is “Wrong permissions on configuration file, should not be world writable!” you are supposed to just change the permissions of /phpmyadmin/config.inc.php to not be world writable (i.e. chmod 755 config.inc.php, or by using your FTP client).
Submitted by Davinder on Tue, 05/08/2012 - 06:05
Today I was getting a Problem in ubuntu that is
sudo: /etc/sudoers is mode 0777, should be 0440
sudo: no valid sudoers sources found, quitting
I solved it in following way :-
I have put Ubuntu onto a LiveCD, boot into the LiveCD, mounted my Ubuntu Partition on the Hard Drive (Open a file browser, like Nautilus, and click your Ubuntu Partition; or click Places->"xxGB Partition/Your Ubuntu Partition").
Then, opened a terminal within the LiveCD session and type these two commands:
cd /media//etc
sudo chmod 0440 sudoers
Thats it :)
Submitted by Davinder on Wed, 03/07/2012 - 05:41
In this tutorial, i will telll you how to add A-Z alphabetical searchable users with the help of views
This tutorial is just for drupal 6.x
The Steps for this tutorials are as follows :-
1. First, create a new page view and set your path to “directory”
Assuming you want your pager to be based on the nodes title, add in an argument: “Node: Title”
Set title equal to: “Directory: %1”
Action to take if argument is not present: “Display all values”
Check “Glossary Mode”
Set character limit to “1”
Case: “upper case”
Case in path: “lower case”
Save and update
Submitted by Davinder on Tue, 03/06/2012 - 06:24
Install redmine on ubuntu
sudo add-apt-repository ppa:ondrej/redmine
sudo apt-get update
sudo apt-get install redmine redmine-mysql
Then, create this for /etc/init/redmine.conf
Paste the following code in it .
# Redmine
description "Redmine"
start on runlevel [2345]
stop on runlevel [!2345]
expect daemon
exec ruby /usr/share/redmine/script/server webrick -e production -b 0.0.0.0 -d
sudo service redmine start
Then Click Here
You can stop it via
sudo service redmine stop
Submitted by Davinder on Mon, 03/05/2012 - 23:31
Install latex on ubuntu by following Command
sudo apt-get install gedit-latex-plugin texlive-fonts-recommended latex-beamer texpower texlive-pictures texlive-latex-extra texpower-examples imagemagick
Submitted by Davinder on Fri, 02/10/2012 - 00:23
In this blog i am sharing some of my past experience of life, in which i have faced many problems.
Submitted by Davinder on Wed, 01/04/2012 - 01:52
Hello
All, i am using vi editor in ubuntu with some hidden tricks. Following is the trick to cut from one existing file and paste into a new file:
1. Open the file you want to cut from.
2. Press m a for marking text or it will start marking the text from current position.
3. Move down upto which you want to cut the text
and use " a d ' a where a for storing all marked text in buffer in a and d for deleting it.
4. Now create the file with :e and type there "a p where a is again stored buffer and p for putting values.
Pages