Archives
View more presentations from Anton Arhipov.
Recently I ran into the problem with passing UTF-8 JSON from Smarty to Open Flash Chart 2. By default Smarty is striping slashes from all variables that it passes to the template, and JSON is converting every UTF-8 Character with ‘\u’ in the beginning. Of cause Smarty was returning only ‘u’. To force Smarty to [...]
If you have Ubuntu 8.04 LTS Server and you are installing rails from gem, you most propbably will run into the problem when rack will need thin and thin will need rack and this will create infinitive loop. There is a very simple and fast fix for it. All you have to do is update [...]
Let’s imagine that you have something like this: 12maksim@enormo-081:~$ sudo gem list|grep hpricot hpricot (0.8.1, 0.6) Now, to use 0.6 version of hpricot in Ruby you must use following: 12gem ‘hpricot’, ‘=0.6′ require ‘hpricot’ Happy coding!
maksim@kpoxa:~$ sudo update-alternatives –config java