Useful and simple guide, step by step.
Installing postgresql (8.2)
sudo apt-get install postgresql-8.2
Setting up the password for postgres’
sudo -u postgres psql template1 ALTER USER postgres WITH PASSWORD 'your-password'; \q
Configure postgres’ authentication method :
sudo cp /etc/postgresql/8.2/main/pg_hba.conf /etc/postgresql/8.2/main/pg_hba.conf_bak sudo nano /etc/postgresql/8.2/main/pg_hba.conf
Add the following at the bottom of the file
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD host all all 127.0.0.1 255.255.255.0 password
sudo /etc/init.d/postgresql-8.2 restart
So, if you don’t feel like you’re at least ten times more productive with Python than Java, chances are good that you’ve been forgetting to use the time machine! (And if you miss your Java IDE, consider the possibility that it’s because your Python program is much more complex than it needs to be.)
One might replace the word Java with .Net, it would remain the same, wouldn’t it?
This “Insert Disc” message was annoying and frustrating almost at any time I was trying to install a new software on my Ubuntu (7.10 gutsy-gibbon).
Media change: please insert the disc labeled 'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1)' in the drive '/cdrom/' and press enter
If you want to get rid of it you should comment out the line that point to the “CD-ROM” Source.
Type the following in the terminal:
gksudo gedit /etc/apt/sources.list
Locate the line that reads:
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
and comment it out
#deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
Save the file, close the editor, back in the terminal window type:
sudo apt-get update
Good luck and thank you for choosing Ubuntu.
Ever wondered about Apples designers sources of inspiration?
I thinks I just found one, its name is Steve Jobs.
I was worth about over a million dollars when I was twenty-three
and over ten million dollars when I was twenty-four,
and over a hundred million dollars when I was twenty-five and it wasn’t that important because I never did it for the money.
The following is a photo was taken by Diana Walker and it shows Steve Jobs in his house in 1982
Jobs said about it:
This was a very typical time. I was single.
All you needed was a cup of tea, a light, and your stereo,
you know, and that’s what I had.
•Bare in mind• the fact that in 1982 Jobs was already 27 years old, 2 years after he was already worth more than hundred million dollars, and yet, he kept that elegant minimalism principle.
Js-Hotkeys is a jQuery plugin that lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination.