Great solution for text-overflow: ellipsis problems

I have just created page about my new project on GitHub. It's called FastEllipsis.

There was many approaches of how to nicely fit certain amount of text inside fixed-size HTML blocks. For example when it comes to show a list of short descriptions often your layout want to have exactly 300px width and maximum 3 lines of text per description. I made one more JavaScript solution for that problem.

For more go the the text-overflow: ellipsis - Extremely fast implementation in JavaScript

Rubber Duck method of debugging


This is brilliant!
We called it the Rubber Duck method of debugging.  It goes like this:

Kanban - organize your and your team work

Lately I went at 4Developers conference in Warsaw.
One of the most interesting talk was about Kanban provided by Paweł Brodziński.
I want to show you my white board - before and after Kanban "implementation" :)

Loading CSS and JS async in jQuery - Code snippet


Cast variable to enable autocomplete in NetBeans

Hello, this post is for my own reminder - I bet that in a week I forgot it ;)
I hope someone will find it helpfull too.

One of the most importand tool in any IDE is autocomplete.
You don't need to look in documentation to find method what you are exactly looking for. With autocomplete its extremely faster - well we all knew that.

But the problem in NetBeans comes when you get variable from some method and this variable starts to represent object. Like in this example:
$doc = new DOMDocument();
$doc->loadHTMLFile("examplePage.html");
$form = $doc->getElementsById("myform");
$attr = $form->
So now you want do the magic with new DOMElement object inside $form variable.
You type $form->, hit Ctrl+Space... and NetBeans says 'No suggestions' - what a pity.