Archive for June, 2008

Opera beautifully engineered…for my desktop

Monday, June 30th, 2008

I was nice surprised when I tried Opera browser for PC after aprx. one year Firefox usage. Zooming is faster and smarter than in every browser that I have used. Firefox boot like MS Windows, and is almost stable like it. Opera is faaaaast. Gmail is fast. And my work is going fast ...

My phone is manufactured!

Thursday, June 26th, 2008

I was waiting for years for some company that will manifacture as good as sony k750 phone. The time has come, htc diamond is the choosen one :)

Vim vim vim

Tuesday, June 24th, 2008

I cant live without vim. Today is the day I understand this and have install vim on my home windows:) I hope that no one will start it accidently. Ok. Here i will keep track of the commands that I use in vim. Lets start with substitution In short it is :%s/something/nothing/g Here is ...

Copy checkboxes from one form to another with Prototype

Monday, June 23rd, 2008

I have a case where the user must select items from a basket and use them with different forms. Example: Some items in this form Item: Item: Item: Item: Another form here (I will create here hidden fields from the the checkboxes in the first box) I will show you how to use the ...

Rails conf 2008/6/2

Monday, June 16th, 2008

Its aways nice to know whats going on in rails field http://railsenvy.com/2008/6/2/Railsconf-videos Whats new for me was flog: http://on-ruby.blogspot.com/2007/12/flog-profiling-complexity.html http://ruby.sadi.st/Flog.html Some more video links

Нова търсачка за цените

Monday, June 16th, 2008

От известно време си имаме на http://www.cenite.com чисто нова търсачка. Преди беше просто досадно да се търси в сайта и макар, сайта върши работа. Резултатите с новата търсачка са налице, вижте разликата: Преди за един резултат се чакаше приблизително от 2 до 4 (олеле) секунди. Търсеше се само в името на продукта Сега: Търсенето става ...

Only get, head, post, put, and delete requests are allowed.

Friday, June 13th, 2008

I got this error when I have to upgrade one old project from rails 1.2.5 to rails 2.1 ActionController::MethodNotAllowed Only get, head, post, put, and delete requests are allowed. The exception: ActionController::MethodNotAllowed (Only get, head, post, put, and delete requests are allowed.): /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/recognition_optimisation.rb:65:in `recognize_path' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:384:in `recognize' I got this ...

Upgrading Rails

Thursday, June 12th, 2008

Here is nice tutorial how to move your project from rails 1.2.x to 2.0 upgrade the gems: http://wiki.rubyonrails.org/rails/pages/HowtoUpgrade gem update --system http://macournoyer.wordpress.com/2007/10/28/moving-to-rails-20/ nice task to find the deprecated elements: "rake -T deprecated", 10x!

Gentoo Cheatsheet

Wednesday, June 11th, 2008

Java install ls /usr/portage/dev-java/sun-jdk/ emerge -av =dev-java/sun-jdk-1.5.0.13 java-config -L java-config -S 1 /usr/sbin/env-update && source /etc/profile Emerge and Equery Taken from here emerge brings in new packages. equery looks at the package database. update repository: emerge --sync install package with query emrge -av sun-jdk start with this software emerge links ...

CSS Tricks

Sunday, June 8th, 2008

.clearfix <div style="clear: both"> - do you remember this? I hate it. The people has found a solution for this. http://www.positioniseverything.net/easyclearing.html .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix {display: inline-block;} /* Hides from IE-mac \*/ * html .clearfix {height: 1%;} .clearfix {display: block;} /* End hide from IE-mac */ CSS tools Layout generator - http://csscreator.com/tools/layout