full of … these

Error while uninstalling Microsoft Visual Studio 2010 Ultimate RC

Posted: May 7th, 2010 | Author: | Filed under: howto, idiots | Tags: , , , | No Comments »

I’m back with another strange error probably caused by an interrupted installation of Microsoft Visio 2010.

So, while uninstalling Microsoft Visual Studio 2010 Ultimate RC on Windows 7 Enterprise the following error appears:
---------------------------
Microsoft Visual Studio 2010 Ultimate RC Setup
---------------------------
Error 1402.Could not open key: UNKNOWN\Components\72CC1F6E4CA6F4A4F8B68FD11DB44E14\4848F1E21D219AC3A8BD8C2FAA4300B4. Verify that you have sufficient access to that key, or contact your support personnel.

By error number looks like a registry permission error, investigation at Microsoft didn’t helped me much.
Repair/reinstall failed, so, don’t bother.

After reading a few pages I end up restoring permissions on registry keys using the methods from this page.

After changing permissions for these keys:
8EEF86DD963C1D111A37000A9CA05BF0
68D4BEEE50F999F45A35B6ABBE7E7E0D
1165D2FB630CB174699B857E4C6F9CD7
BA32B1FDF3481944B907A0A07D8FD197
1A01EC3CAB255B145AA0011CA52426E0
5E93D71C1C924E940A3A3ACF1453FA71
B924160F488F4D143B89478C920459E4
C52BBB7D63AE3824BA2A75A9B7BA309F
72CC1F6E4CA6F4A4F8B68FD11DB44E14

I have changed the permissions for the whole Components subtree.

Uninstall was easy, only after.
HTH


azureus ate my memory

Posted: November 25th, 2009 | Author: | 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: | 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: | 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: | Filed under: fun, howto, idiots | Tags: , , , , , | 1 Comment »

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 your books, educate yourself.

HTH and enjoy.

Later edit:
You can use PDF-XChange Viewer to view, markup text or add comments to your pdf files.