Monday, May 16, 2011

solved:Hardware virtualization activated in bios but still does not work

If you happen to need hardware virtualization you might encounter what I have.


I went to the BIOS, changed the settings of Intel-VT to enabled, rebooted and VMWare still insisted that hardware virtualization is disabled.

turns out that a reboot is not enough...

you must POWER DOWN your computer after making this change in the bios,
only then will it recognize that hardware virtualization is active.

I hope this will help some one some time.
feel free to say I if it helps you anytime in the future.Publish Post

Eyal


Monday, March 21, 2011

7-zip and archives that contains files with non-English file names

after reading this in the 7-Zip revision history:

- Unicode (UTF-8) support for filenames in .ZIP archives. Now there are 3 modes:
1) Default mode: 7-Zip uses UTF-8, if the local code page doesn't contain required symbols.
2) -mcu switch: 7-Zip uses UTF-8, if there are non-ASCII symbols.
3) -mcl switch: 7-Zip uses local code page.


I change the link 7-Zip File Manager to use -mcu.

Things now work much better.

Wednesday, March 09, 2011

Hebrew (utf8) characters in mysql console over putty

Problem:

I have a mysql server running on a debian linux hosted at linode.com some of my data has hebrew characters (utf8) in it.

I am connecting to the server via putty ssh on windows 7.

But when I run the sql admin console (mysql) and execute a select query all hebrew characters are displayed as '?'.

The data itself wass o.k. (I know this because it is also accessed via a web page where it displays just fine).

Solution:

Step 1. Start mysql with the --defautl-character-set=utf8

If you will now run a query it will properly display the hebrew (and even show it right to left). Only problem is that because of this tables get poorly formated and columns switch places when hebrew is displayed in some of them.

so:

Step 2. Go to the session settings of putty and check "Disable Bidirectional text display" under Terminal-Features.

This will now cause Hebrew to be displayed using Hebrew characters but from left to right. But at least to formatting of the results is readable.

I guess a fix for this could be to render the Unicode Character 'LEFT-TO-RIGHT MARK' (U+200E) before each " |" (Pipe) character that separates column results. I wander if this can be customized...




Monday, March 07, 2011

how to set up hot code replacement with tomcat and eclipse

Just so that I have this next time I need to do it.
And maybe you will also find this link helpful.

http://blog.theunical.com/ide-tools/eclipse/how-to-set-up-hot-code-replacement-with-tomcat-and-eclipse/

Sunday, February 13, 2011

Steps in installing a smaple Magento

This is a list of steps needed in the process of installing a sample magento site.

I will be assuming that you have WAMP / LAMP already installed.

  1. go to http://www.magentocommerce.com/download and download magento and the magento smaple data. (versions don't need to match - actually the sample data is from 2008 at the time of writing).
  2. deploy the content of the magento installation to a magentoVirtualRoot directory on you web server
  3. create an empty database (e.g. magento_db)
  4. add the files in the media folder from the sample data to those from the magento installation
  5. make sure you set up and required new hosts / DNS entries if such are needed.
  6. copy the sql text from the sample data into the sql tab of your mysql's phpadmin for the database you created on step 2 and execute it.
  7. ONLY AFTER STEP 5 IS DONE - go to your browser and surf to http://www.yourdomain.com/magentoVirtualRoot and complete the installation proccess.
  8. go to http://www.yourdomain.com/magentoVirtualRoot/admin or whatever url you assigned for the backend and go to system-index management and reindex all your data.
  9. go to the front end of you new smaple shop at http://www.yourdomain.com/magentoVirtualRoot and enjoy.
please not that some steps are not mandatory and some details might have been left out, if you think I left out something really important, feel free to comment.



 
Clicky Web Analytics