Category Archives: Documentation

Moving Visual Studio.NET 2003 settings to another PC

Fairly simple:

On source computer

  1. Start Registry Editor (Start->Run and type regedit)
  2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Visual Studio\7.1
  3. Right click, select “Export” and save the reg file
  4. Navigate to C:\Document And Settigs\$USER_NAME$\Application Data\Microsoft\Visual Studio\ and compress (add to zip, etc…) the folder named 7.1

On destination computer

  1. Start Registry Editor (Start->Run and type regedit)
  2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Visual Studio\7.1
  3. Create backup by renaming the 7.1 folder
  4. Exit the Registry Editor and navigate to previously exported registry settings, right click on them and select “Merge”.
  5. Navigate to the archived folder (see step 4 in “On destination computer”) and extract it in C:\Document And Settigs\$USER_NAME$\Application Data\Microsoft\Visual Studio\

Start Visual Studio and review your configuration if everything is as it shood remove the registry backup you created in step 3.

Fix: You can’t type cyrillic characters in web forms using Internet Explorer?

Recently I has encountared a problem where I was not able to type cyrillic characters in web forms using Iternet Explorer 6 web browser. It was very furstrating for me, because I participate in greate number of web forums, news grous, etc… where I write using cyrillic characters. After some hacking around it turns out that the problem lise in the BitComet extention for Internet Explorer, I disabled the extention (Add-On) and everything now is back to normal.

To disable an Internet Explorer Ad-On:

  1. From the menu bar select Tools and then Manage Add-0ns….
  2. In “Manage Add-ons” dialog box find the Add-On (in this case BitCommet Helper) select it and then click Disable in “Settings” below the Add-ons list.
  3. Restart Internet Explorer

Here is a list of faulty Add-ons I have tried. I will try to keep this list updated as possible:

  • BitComet
  • Google Toolbar

You may suggest faulty Add-ons using the comment system.

Restoring deleted files when you have emptied the Recycle Bin

I like to experiment, and last night I was playing with a Powertoy from MS called SyncToy (very useful utility if you ask me, another review feauturing SyncToy is on it’s way). So now on the topic.

While experimenting with SyncToy, I accidently deleted some documents form my workstation computer and my laptop. The files were putted in the Recycle Bin, on both PC’s but, without any hesitation I emptied the Recycle Bin folders. Some moments later I realized what I have done and start thinking of a way to recover my documents. After searching Help And Support center for a while, and when nothing useful showed up, I started Firefox and asked Google about “Recovering Deleted Files from Recycle Bin”, the first result that showed up was this page, containg a link to very useful utility called Restoration, I downloaded the utility, checked the archive with my AV just in case and then unpack it.

Restoration does not require installation and it’s MFC application. Supports FAT32 and NTFS file systems and it’s written by Brian Kato.

Restoration utility
Restoration utility. Click on the image to view the actual size

To restore a file with the Restoration utility:

  1. From the right pane select the drive from which the file were deleted.
  2. If you want to view all the files deleted from this hard drive click on “Search Deleted Files”, or if you are searching for something specific, type the name of the file in the box above the mentioned button and then click it.
  3. Select the file from the list and click “Restore by Copying”. Save dialog will pop up asking you where you want to save the file. Choose location and click the Save button.
  4. Enjoy your restored file :)
Restoration utility
Restoration utility in process of restoring a file. Click on the image to view the actual size.

Restoration utility can be downloaded from here. The license of the application is freeware and according to my AV the archive is safe.

Тотем със субтитри на кирилица

Можеби сте искали да гледате филми с Totem Movie Player но субтитрите Ви са излизали на маимуница. По-долу е oписано решението на този проблем.

Та ето как става.

vim (или редактор по-ваше желание) ~/.gnome2/totem_config

За да сменим енкодингът ни трябват следните редове от фаила:

# encoding of the subtitles
# string, default: iso-8859-1
subtitles.separate.src_encoding:cp1251

Ако субтитрите изглеждат прекалено малки:

# subtitle size
# { tiny small normal large very large huge }, default: 1
subtitles.separate.subtitle_size:large

Have fun :)

Синхронизация на лаптоп с настолна машина и обратно.

В тази статия ще разясня как използвайки GNU/Linux и rsync автоматично да синхронизирате фаилове и директории м/у работната Ви машина и мобилният Ви компютър.

1. Защо да използваме синхронизиране?

Когато съм в университета, работя на мобилният си компютър, създавам нови фаилове, модифицирам вече създадени такива или качвам нова информация . Когато се прибера в къщи, искам всички промени по фаилове и директории направени в университета автоматично да бъдат синхронизирани с работната ми станция. Тук на помощ идва rsync. Rsync премахва опасността от работа в/у по-стара версия на фаила и като цяло обработката на неточна информация.

Ако тези обяснения Ви зувчат странно, може да асоциирате rsync с MyBreafkeys използван за подобни цели в Windows операционните системи, въпреки че rsync е много по-функционален и гъвкав от MyBreafkeys.

2.Инсталация на rsync.

В днешно време почти всички GNU/Linux дистрибуции разполагат с готов пакет на rsync. Потърсете такъв за вашата дистрибуция.

БЕЛЕЖКА: Тази статия не се занимава с инсталацията на rsync

Ако сте Gentoo потребител rsync определено е инсталиран на вашата система, тъй-като тои е много важна част от portage.

Ако сте Debian GNU/Linux или Ubuntu потребител използваите:

apt-get install rsync

3. Настроика на синхронизацията.

3.1 Създаите директория наречена sync:

paskov@gentoo(0):~> cd
paskov@gentoo(0):~> mkdir sync
paskov@gentoo(0):~> cd sync

3.2 Във вече създадената директория използваики ls (команда за създаване на символни линкове) създаите линкове към директорите които желаете да бъдат синхронизирани:

paskov@gentoo(0):~/sync> ln -sf /home/paskov/documents/ ./documents
paskov@gentoo(0):~/sync> ln -sf /home/paskov/university/ ./university
paskov@gentoo(0):~/sync> ln -sf /home/paskov/gsm/ ./gsm
paskov@gentoo(0):~/sync> ln -sf /home/paskov/images/ ./images
paskov@gentoo(0):~/sync> ln -sf /home/paskov/projects/ ./projects
paskov@gentoo(0):~/sync> ln -sf /home/paskov/Mail/ ./Mail

3.3 Изкопираите съдържанието на скрипта показан тук, като изключите цифрите :) и смените стоиностите на променливите USER и RHOST (може да бъде и IP адрес). Променливата OPTIONS отговаря за опциите които се задават на rsync при неговото изпълнение. man rsync за повече информация.

1 #!/bin/bash
2 # Author Vladimir Paskov
3
4 USER=”paskov”
5 RHOST=”mobile”
6 OPTIONS=”-arLvu”
7
8 rsync $OPTIONS /home/$USER/sync/ $RHOST:/home/$USER
9

Запазете скрипта с име по ваше желание и го направете изпълним:

chmod +x име_на_скрипта

след това го стартирайте:

paskov@gentoo(0):~> ./име_на_скрипта

Ще бъдете запитан за парола, въведете съответната.

Първоначално синхронизацията може да протече малко по-бавно но с течение на времето нещата ще се ускоряват.

Това е от мен :)