Archive for January, 2008
Useful and simple guide, step by step.
http://www.supriyadisw.net/2007/02/postgresql-on-ubuntu-linux
Installing postgresql (8.2)
sudo apt-get install postgresql-8.2
Setting up the password for postgres’ postgres user
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 [...]
Posted in Linux & OpenSource, postgres, postgresql, ubuntu | 1 Comment »
from: Python Is Not Java (dirtSimple)
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 [...]
Posted in .NET, Python, java | No Comments »
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 [...]
Posted in Linux & OpenSource, ubuntu | 5 Comments »
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 [...]
Posted in apple, art, steve jobs, style, zen | 6 Comments »
I just came across this post by Robert Scoble
If you are trying to contact me on Facebook, please don’t. My account has been “disabled” for breaking Facebook’s Terms of Use. I was running a script that got them to keep me from accessing my account. I’m appealing. I’ll tell you what I was doing [...]
Posted in Cyberlife, facebook, opensocial, social-networking, www, www-pop | No Comments »
I finally was able to fix a few minor bugs and compile a new version of my js-hotkeys module. Get your copy now (tar.gz || zip)
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.
Read more at:
http://code.google.com/p/js-hotkeys/wiki/about
Live demo at:
http://jshotkeys.googlepages.com/test-static.html
Posted in ie, javascript, jquery, web-devel, webdev, www | 2 Comments »
I started learning Lisp.
You can see my homework at http://py2lisp.jottit.com/
Posted in lisp | 1 Comment »
Most of today’s web developer will tell you that
the following:
<h2 id=”foo”>Click Here</h2>
<script>
$(’foo’).click = function(){alert(”Hello”)};
</script>
is better than:
<h2 id=”foo” onclick=”alert(’Hello’);”>Click Here</h2>
and the following:
<style>
body{
background-color:#ffffff;
color:#000000;
margin-top:3}
a{color:#0000cc}
a:visited{color:#551a8b}
</style>
<body>….</body>
<script>
$(document).ready(function(){
sf();
if(document.images){
new Image().src=’/images/nav_logo3.png’;
[...]
Posted in Cyberlife, google, javascript, jquery, web-devel, webdev, www | No Comments »