Archives

Archive for the ‘Programming Related’ Category

View more presentations from Anton Arhipov.

Feb 8th, 2010 | Filed under Programming Related

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 [...]

Jan 27th, 2010 | Filed under Programming Related
Tags: ,

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 [...]

Oct 2nd, 2009 | Filed under Programming Related
Tags: , , ,

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!

Oct 1st, 2009 | Filed under Programming Related

maksim@kpoxa:~$ sudo update-alternatives –config java

Sep 29th, 2009 | Filed under Programming Related