My Toolbelt

I've tried pretty much everything from full fletched IDEs to NotePad but I've never been satisfied with these tools—not until I met Sublime Text. In this short collective I'm going to address some key points of Sublime Text, what plugins are essential to me and what other tools I…

Quick Tip: Labeled ifs

I was pondering over label use cases in JavaScript the other day — how and when they should be used. Now the obvious case includes loops and stopping them given the right condition: var i = 0; theAnswerToTheUniverse: while ( true ) { console.log( ++i ); if ( i === 42 ) break theAnswerToTheUniverse; } But what intrigued me…

Cross Plugin JavaScript Project: is.js

Sometimes it's necessary to check whether certain data is true or false. Writing regular expressions for those cases is redundant and to be frank - boring. The is.js project aims to simplify the testing process. At the point of this writing there are three different 'plugins' available: Vanilla JavaScript…

Target Internet Explorer The Right Way

CSS hacks are useful knowledge to possess but they are hard to learn. In this article I'm going to address few points about targeting specific browsers — both using hacks and then pointing out some other more elegant ways of being cross browser compatible. CSS Hacks To target IE 6 use…

Thoughts on Structuring an Ajax Callback

I've been doodling around the last few days, rewriting an auto-suggest jQuery plugin that we use at Ylgur for displaying instant search results to users as-they-type on many of our projects. It was time to build the thing properly and make it truly reusable. Once I started to think about…

About

HI THERE, my name is Ragnar Þór Valgeirsson (rthor on the www). I create internet related awesomeness. For open source projects, check out my GitHub- or CodePen profile. I’m one of the two co-founders of Ylgur ehf. which is a web development company based in Iceland. Our goal…