12 May 2014
Does have SHA3 a collision? And other hashes?

This article is just couple of notes of mine. English is not correct. TODO Fixme.

I have read a few days ago discussion about collisions and hashes. There are some mistakes in answer for a question: Why to use hashes.. Does have MD5 collisions? Yes. Is SHA2 better than MD5? Yes. Does have SHA3 collisions as well? Yes!

Read More

11 April 2014
How to get JSON/XML in jQuery and in vanilla Javascript

I have created a sample - How to get XML or JSON with pure vanilla Javascript and the same functionality with jQuery library (of course, without fallbacks for older browsers). Enjoy.

Read More

2 March 2014
Some Javascript jokes and tweets by @JS_horse

If you have a twitter account, you should definitely follow @horse_js and his collection of jokes about programming, life of programmer and absurd situations in our lifes. Dude has sometimes a nice sence for humor.

Read More

22 February 2014
How to parse XML with jQuery and convert it to the custom object

This article has update in next blog on my websites. It’s blog: How to parse XML in Javascript. In the same week I redactored this code for performance better one.

Read More

30 January 2014
How to style with CSS the native HTML5 elements

Did you know about Shadow DOM? Shadow DOM is a layer which wasn’t in the past open to front-end developers, but now we have an option to access it and change styles of the native elements like Selects or Inputs without hacking. Amazing right?

Read More

19 December 2013
Semantics: Order of conditionals

Every programmer should know differences between the reference, the truth condition and the truth-conditional semantics. What are these articles about and what is important to know?

Read More

21 November 2013
Why, how and when to separate some CSS rules?

What is the ideal CSS file structure? Of course, there is no one. Why? Our projects are always s specific, that every software and website has a specific need and a specific architecture. It’s not OOCSS style, no LESS style, no Dojo style.

Read More

5 October 2013
Yahoo minifier bug with Background Position in CSS

I’ve found a bug in Yahoo’s Yui compressor in CSS compiler. If you are not familiar with this minifier, you can find an online 2.4.8 version as well. This blog can be interesting to understand an internesting future of CSS with background-position properties and shortcut.

Read More

17 September 2013
Why to use rel=”stylesheet” in your HTML?

How can you read all loaded stylesheets in Javascript? You can check in “style” object on the element, but it reads only applied styles. What about styles which are not applied to any DOM note, but there are loaded with a stylesheet? You can read them with document.styleSheets.

Read More

9 August 2013
100 totally useless websites

Do you want to spend an hour of your life with browsing totally useless websites? You are on the right place! These websites has no point, they cost money and creating them was a waste of the time. But there are really awesome!

Read More

8 July 2013
How to get URL params in Javascript without jQuery

The most difficult thing on the world is to google a Javascript anwer on Stackoverflow without a jQuery solution. Do you need to parse your URL parameters, but you don’t want to use any library? You don’t need to know regexp if it’s enough to use just the pure split function.

Read More

3 July 2013
How to parse HTML of the specific URL in NodeJs

Do you need to get an access to the HTML of the webpage within Node.js? You can easily get a whole HTML code just with few lines of the code just with a native Node HTTP module with the request function.

Read More

15 June 2013
How to parse URL in Javascript

I was working on parsing of the URLs today, and I have found a nice way how parse URLs in fast and cross-browser way. Point is hidden in a simple HTML anchor tag. When you createElement("a") you get access to all URL parts.

Read More

27 May 2013
Android Default Webkit Browser User Agent

As you may know, Google has implemented a next native Android browser with awesome name “Internet”. There is nothing more efficient in our jobs, like googling of the “internet android browser”. Front-end developers love sadomasochism a lot of years.

Read More

2 April 2013
How to create a base64 image in Javascript

How to create a blank image in Javascript and get string in BASE64? Canvas is available since IE7 was released also in IE and it’s the best way how to create a specific image with background, size and a header.

Read More