Itsy Bitsy Bytes


Code and stuff

How to make your site better

An ex-coleague of mine showed me today the site of his new employer and asked me if I can give him my personal opinion about the site, being interested in a web developer's perspective. When you have to give a quick look at a site there aren't that many things
Read More

I've got 99 problems but a browser ain't one

There are plenty of exciting moments in a web developer's job but fixing browser-specific bugs do not count among them. Much to my annoyance, I found myself trying to fix a weird flipping behavior in the browser version of Safari. Everything worked flawlessly in Chrome and Firefox, even Internet Explorer
Read More
on ghost

In case your Ghost blog goes down

From time to time my two Ghost blogs go down. In most of the cases it happens because my server runs out of memory, it being the smallest VPS DigitalOcean has to offer. Although 512 Mb of RAM are enough for two ghost instances and a couple of static content,
Read More
on css

Short thoughts about BEM CSS

I'm a Windows Phone user and I really love their mobile OS. I owned a Lumia 920 and now I use the bigger and thinner Lumia 830, a phone that I absolutely love. In fact, I like it so much that it made to want to recreate it with HTML
Read More

What codes around, comes around

About a year ago I tried to do a small image preloading script. All the existing solutions were very overkill for my needs and it also became really stressful to keep running into the same problem. So I tried to make a tiny library to help me. I took advantage
Read More
on javascript

JSRatio - preserving your aspect ratios

I was trying to do something fun for myself when I ran into the old aspect ratio problem. I wanted a div with a percentage-based width and a height that will update automatically while preserving a certain ratio. Doing it for an image is really simple, for everything else not
Read More