Web related

Install databases apt-get install postgresql mysql-server Migrate mysql databases # on the original machine mysqldump -A --opt --password='nemo' --allow-keywords --flush-logs --hex-blob \ --max_allowed_packet=16M --quote-names > mysql.all.dat # on the new machine mysql -u root --password=xxxx < mysql.all.dat Migrate postgresql databases # on the original machine su - postgres -c 'pg_dumpall' > pg_all.dat # on the new machine su - postgres -c 'psql' < pg_all.dat Of course you will have to migrate the databases again just before moving to production but this is to test all applications work ok....

December 30, 2007 · len

Qmail

Qmail based on qmailrocks install One of the things I missed most and disappointed me is the grave lack of a qmail package for Gutsy. I’m using Qmail since more than 5 years and I was always happy. This describes the installation based on the qmailrocks debian guide. All credits should go to the qmailrocks team. This only points some of the differences and problems I encountered on ubuntu. It’s mainly a list of commands as found on the qmailrocks site with some observations....

December 27, 2007 · len

The lentils dish

Ro: mancare de linte A very simple, fasting friendly dish. Ingredients 1-2 carrots 250g red lentils Preparation clean the carrots and cut them in round pieces boil the carrots in water just to cover them until the ebullition add the lentils, salt and pepper stir from time to time, add more water until the lentils are soft. Don’t over cook as the lentils tends to crumble into a soft paste enjoy Alternatively you might want to serve with sausages or with a bit of “turta”....

December 21, 2007 · len

Smart or … ?

Check the message I got while trying to send an email: “Evolution has found some keywords that suggest that this message should contain an attachment, but cannot find one. Continue Editing?” True that I had used the “attachment” word in the message. What else is it doing with the content of my message? Comments: tudor - Dec 3, 2007 http://www.gnome.org/projects/evolution/doc/evolution212.pdf page 45 - the answer ;)

December 12, 2007 · len

What was killing my Gutsy

Since upgrading to Gutsy I could not notice that my computer was running hot and very hot all the time. But it was only when everything was so slow and hot that the Grub menu was appearing in slow motion that I decided to investigate the problem. First probable cause: cleaning the fan Unlike the I8600 the fan in the D820 is hard (see impossible) to reach. The official Dell guide shows you have to remove keyboard, hdd, display, CPU in order to reach the fan....

December 10, 2007 · len

BIOS upgrade with no windows or floppy

This describes the procedure I used to upgrade my D820 BIOS to revision A07 with no windows installed or available floppy disk. Please be WARNED that messing with your BIOS flash might render your computer unusable. This applies to Ubuntu Gutsy, Feisty, Intrepid, Lucid. Updated 14.01.2011: tested on E6410 to upgrade to revision A06. Requires a 32 bit linux to create the image. 1. Find your computer tag: # modprobe i8k # cat /proc/i8k | cut -f3 -d" " 2....

December 8, 2007 · len

Sushi rolls

In primul rand, multumiri lui Fry pentru articolul atat motivational cat si foarte folositor. A trecut o multime de timp de cand am mancat pentru prima data sushi si in tot acest timp nu m-am gandit niciodata cat de simplu este de facut. In Franta colegii nu ma prea intelegeau de ce frecventez atat de des restaurantul japonez de langa birou insa in timp ce pentru ei era ceva super comun pentru mine era ceva “super” caci din pacate la noi e mult prea greu si scump sa mananci sushi, ca de altfel multe alte tipuri de mancaruri diferite de friptura cu cartofi prajiti....

December 8, 2007 · len

Using relative url with mail templates

Problem I was facing the following scenario: a plone site with 2 addresses: one for the public and one for the administration. The site was using qPloneComments which has a mechanism for mail notification. However given that the comments where approved on the admin site the public users where receiving emails containing that private address inside because the templates in qPloneComments are using obj/absolute_url. Solution This is a very quick fix to modify these templates in order to use relative urls and a known public url for the site thus allowing the url to work for the public users....

December 2, 2007 · len

Giving a more blog look to a plone site

I’m also using plone for my personal web site to which I add various articles and thoughts rather often. For this reason I wanted to be able to have a list of changes and interesting links on the home page. The CMFContentPanels product has been of great help in this matter as it allowed me to create a more complex content in the pages notably the home page. This article describes a small customization of this product in order to also add more text to the recent news list....

December 2, 2007 · len

Ogg123 mcop error !?

Trying to listen an ogg internet radio stream generated a very strange error: len@black:~$ ogg123 http://cityfm.mediasat.ro:8000/cityfm_48.ogg<br></br>Creating link /home/len/.kde/socket-black.<br></br>can't create mcop directory I have tried apt-get --purge remove vorbis-tools<br></br>apt-get install vorbis-tools with no success until I remembered I have seen this error before related to alsa09. I did a grep in /etc for alsa09 and found it in /etc/libao.conf. It’s just a question about changing: default_driver=alsa09 to default_driver=alsa Now ogg123 works correctly....

November 16, 2007 · len