full of … these

azureus ate my memory

Posted: November 25th, 2009 | Author: paul | Filed under: howto, idiots | Tags: , , , , | No Comments »

I use Azureus (called Vuze from a while) for the same reason as you do. :)
I dislike uTorrent, the lighter bittorrent client, maybe because azureus gives me more control.

Sometimes, I must use an old laptop with only 512MB RAM. And, here comes the trouble.
If I start Firefox and azureus, all my RAM is gone.
Looking on internet using Mr. Google’s search engine I found this:

“C:\Program Files\Vuze\Azureus.exe” -J-Xmx64m

Create a new shortcut, paste the above and use it.
Give it a try!


Trac 0.11 – Fix Clearsilver dependency

Posted: November 20th, 2009 | Author: paul | Filed under: howto, idiots, linux | Tags: , , , | No Comments »

If you get the following message:

You're using a plugin which requires the Clearsilver template engine
and Clearsilver is not installed. Either disable that plugin or install Clearsilver.

But, you have compiled and installed latest clearsilver from sources and copied neo_cgi.so to site-packages, and still not working, here is what to you have to do.

For this environment was tested: Linux opensuse 11.1 and centos 5.2, Trac 0.11 with python 2.4 or 2.6, TracDownloader and/or TracWikiToPdfPlugin installed.

Search for clearsilver-*.egg in site-packages and move to another directory.

My clearsilver package name was: clearsilver-0.10.1-py2.6-linux-i686.egg
Restart apache.

Enjoy and say thanks if this solved your problem.


RewriteRules for special characters

Posted: November 18th, 2009 | Author: paul | Filed under: fun, howto, idiots, linux | Tags: , , , | No Comments »

Let’s say you have to write RewriteRules for special characters (East Asian Languages in this example, but, it should work for any other).

Link that you want to work: http://domain.tls/리눅스
Destination http://domain.tld/linux

First you must convert/encode (I used http://people.w3.org/rishida/scripts/uniview/conversion.php)
리눅스 is converted to %EB%A6%AC%EB%88%85%EC%8A%A4
You can get this from your access.log file of your server if you access it.
Now, you have to escape the % to match the regexp. Replace % with \x:
\xEB\xA6\xAC\xEB\x88\x85\xEC\x8A\xA4

RewriteEngine On #add it in case it was not added above
ewriteCond %{HTTP_HOST} domain.tld
RewriteRule ^/\xEB\xA6\xAC\xEB\x88\x85\xEC\x8A\xA4$ http://http://domain.tld/linux

Save.
Restart or reload.
mod_rewrite should be loaded.
Test!
Debug: read /var/log/httpd/error.log and access.log (or corresponding error/access log file for the vhost you want the rule to be added.


Adobe Reader 9 – make it incredible faster

Posted: May 9th, 2009 | Author: paul | Filed under: fun, howto, idiots | Tags: , , , , , | No Comments »

I don’t own a new computer so I have to use an old tecra A3 with an old HDD but a very good screen 15″ with a huge resolution: 1400×1050.

Because the hard drive is so slow Adobe Reader 9 starts in several seconds after I double click the pdf file.
So, if you have to read docs this a little bit annoying to have to wait a lot just to start Adobe.
After Reader is loaded the pdf file is loaded quite faster…

So I have googled a bit and I have found a few software apps to speed up adobe reader at start up.
But. Why to install another piece of software when you can do it yourself?!?

Here is how if you only want to read docs, no search, no other stuff:

Go to C:\Program Files\Adobe\Reader 9.0\Reader\ and create a directory “old” or “backup”.
Move the following directories in it: plug_ins, plug_ins3d and SPPlugins.

Start Adobe Reader. How is it? Mine it starts in lass than a second.

Here is how if you want to read docs and you want “Comment and markup” toolbar to be available:
Move all plugin dirs as you read before, but, keep in the plug_ins dir the following files:
AcroForm.api
AcroSign.prc
Annots.api
EScript.api
IA32.api
Search.api
Search5.api
weblink.api

Start Adobe Reader, read you books, educate yourself.

HTH and enjoy.


BIOS update failed?

Posted: March 18th, 2009 | Author: paul | Filed under: fun, howto, idiots | Tags: , , , , , | No Comments »

Disclaimer: this information is only for advanced users. I cannot be made resposible for any damage may result by using information from this post. Read your manual and the producer’s website before doing anything.

Sometimes, you have to (and I don’t know why) do a BIOS update. The reason could be one of the following: MB problems, new feaures added, you are just bore.

You have downloaded (and you are sure about this) the proper BIOS version (the last stable version) for you MB. But, after reboot the computer doesn’t want to start.

Now, there are four possibilities to recover:

  • Do a short clear CMOS as described in the MB’s manual;
  • Do a long clear CMOS (I read that it might help), I not so sure about this, but, anyway: unplug the power, remove all unneeded hardware (video card, HDD, FDD, etc) put the jumper in the clear CMOS position, remove the battery and wait at least 12 hours;
  • Remove unneeded hardware, replace RAM with the newest you have (533MHz with 667MHz, e.g.), this tend to be so common;
  • Buy another one, because the new MB have the BISO chip soldered and it cannot be removed to be rewriten.

You are lucky if you MB give sound alerts or it has LEDs. Try to interpret this information using the Troubleshooting section in your manual.

As a backup measure you verify if your MB have dual BIOS or quad BIOS feature enabled (as gigabyte have), or something similar.

Good luck, you need it.