Ubuntu : How to solve "They have been ignored, or old ones used instead."

Ubuntu : How to solve "They have been ignored, or old ones used instead."

When we use Ubuntu with higher version some time we will find this message
after typing sudo apt-get install . . . 

"Some index files failed to download. They have been ignored, or old ones used instead."

Because ubuntu does not support the older versions any more.
:(
but do not worry about it.
We can install the older software on our hinger Ubuntu version.

1.

sudo wget "http://pastebin.com/raw.php?i=uzhrtg5M" -O /etc/apt/sources.list 

2.

sudo apt-get update

3.

done!

How to Add or create default gateway from terminal in Ubuntu

How to Add or create default gateway from terminal in Ubuntu
I've been so rarely using terminal for my working in ubuntu, and sometime i have to use terminal to remote my server.

I ll share you "How to Add or create default gateway from terminal in Ubuntu"
because i have cased for changing default gateway on my server.
I had a little confused before but i found an article and it was helpful.

It,s piece of cake.

1.

open terminal

2

sudo route add default gw 192.168.1.251 eth0

sudo /etc/init.d/networking restart

done!

How do I fix a “Problem with MergeList” or “status file could not be parsed” error when trying to do an update?

How do I fix a “Problem with MergeList” or “status file could not be parsed” error when trying to do an update?

These terminal commands should solve your problem:

1. 

Remove the Merge List by opening a terminal (Press Ctrl+Alt+T to launch) and run this command:

sudo rm /var/lib/apt/lists/* -vf

2.

Next, generate a new one by running a simple update:

sudo apt-get update

CSS text shadows for your blog


Hi fellas, long time no see.
yeah, it,s my first time i touch my blog. 
It has been 5 months i never updated my blog.
it's so long right?

Now i ll share a little bit about text shadow.

About Text Shadow

The text-shadow property is super easy to work with and works well across all modern browsers without even so much as a vendor prefix! However, as far as I can tell, IE support, even up through IE9, is zilch. However, using tools like Modernizr will help you pull off advanced CSS3 effects even in silly old IE.

Syntax

1.Standard

text-shadow: 2px 4px 3px rgba(0,0,0,0.3);


2.Quick and Dirty Letterpress

body {
    background: #222;
}

#text h1 {
    color: rgba(0,0,0,0.6);
    text-shadow: 2px 2px 3px rgba(255,255,255,0.1);
}Quick and Dirty Letterpress




3.Hard Shadow

text-shadow: 6px 6px 0px rgba(0,0,0,0.2);


4.Double Shadow

text-shadow: 4px 3px 0px #fff, 9px 8px 0px rgba(0,0,0,0.15);





5.Down and Distant

 text-shadow: 0px 3px 0px #b2a98f,
                 0px 14px 10px rgba(0,0,0,0.15),
                 0px 24px 2px rgba(0,0,0,0.1),
                 0px 34px 30px rgba(0,0,0,0.1);




6.Close and Heavy

text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
             0px 8px 13px rgba(0,0,0,0.1),
             0px 18px 23px rgba(0,0,0,0.1);






There are still many CSS text shadows that you can create.
Basically CSS text-shadows are simple to implement on basic form and you will find variety of different forms if you really put some work on them.

That's all for to day. mix and max your CSS text shadows and find more text effects on the source bellow.
:)


Oracle DataBase Cold Backup scritp


Oracle DataBase Cold Backup scritp

Oracle DataBase Cold Backup scritp. . . 
It will help your work and easy to use.
Please drop a comment to tell me, if U find the wrong script or this script is not working.

1.

file name : cold_backup.sh

#!/bin/sh
date
echo " Performing Cold backup . . . "
echo " --------------------------------"
echo " Shuting down the databse . . ."
echo " --------------------------------"
./shutdb.sh
echo " Copy data file  . . . "
echo " --------------------------------"
cp -R -p /media/data1/oracle/oradata/ /media/data1/backup/oradata/
echo " --------------------------------"
echo " Restarting the database . . . "
echo " --------------------------------"
./startdb.sh

2.

file name : shutdb.sh


sqlplus / as sysdba << EOF
set feedback on
set echo on
shutdown immediate;

exit
EOF

3.

file name : startdb.sh


lsnrctl start
sqlplus / as sysdba << EOF
set feedback on
set echo on
startup;

exit
EOF


note :
i'm working under  *Ubuntu 10.10 and using *Oracle 10g.


furiusisomount

furiusisomount


Furius ISO Mount is a simple application for mounting ISO, IMG, BIN, MDF and NG image files even without burning them to disk.



It provides the following features:
- Automatically Mounts ISO, IMG, BIN, MDF and NRG image files.
- Automatically creates a mount point in your home directory.
- Automatically Unmounts the Image files.
- Automatically removes the mount directory to return your home
directory to its previous state.
- Automatically saves the history of the last 10 images mounted.
- Mounts multiple images.
- Burn ISO and IMG Files to optical disk.
- Generate Md5 and SHA1 checksums.
- Automatically retrieves any previously unmounted images.
- Automatically generates a log file of all commands needed to
mount and unmount images manually.