Posted by Peter

Few of my recent tutorials were about AngularJS and its ability to work with DOM in very peculiar way: using structures called directives. Name itself is kinda not-so-much-descriptive when it comes to understand what exactly they do and to be honest...

Posted by Peter

What I want to achieve today:

  1. simple web application allowing to write something in Markdown and instantly see results in HTML while writing.
  2. Most of the time I use Markdown to create GitHub README.md files, so I would like my app to be able to...

Posted by Peter

Today I’d like to write a tutorial showing how to write simple AngularJS directive. We’ll be creating C3.js wrapper, which I need one for my project.

First of all, we need some assumptions:

  1. we’ll be using AngularJS
  2. we want to use all available...

Posted by Peter

In Zend Framework you can easily set a controller and action for error handling. In fact there is always default set for you. There is also default template. But what if you’d like to use something more sophisticated, let’s say.. nicer looking or better...

Posted by Peter

Recently I found out, that Zend Framework 2 fully supports Composer - gem like package manager for PHP. But I couldn’t find a way to use it with Zend Framework 1 because of it’s default ZendLoaderAutoloader behavior. I really wanted to use it so I...

Posted by Peter

Minecraft uses OpenGL and this causes issue when you have a laptop with switchable graphic cards, for example tandem ATI + Intel as I have.

Out of the box my laptop uses Switchable Graphics  Method which selects which processor (card) to use by application...

Posted by Peter

In most of applications user should be authenticated in order to access it (or maybe some parts, like admin panel). Again, in most cases it will be some kind of mechanism performing authentication against database or some kind of other storage.

In...

Posted by Peter

Update: There is also available plugins list for Sublime Text 3, check it out here

Lately, I’ve become a huge fun of Sublime Text 2, which in my humble opinion (OK, not only mine, take a look in here Poll Roundup 2: The controversial questions"...

Posted by Peter

Hi, Today I tried to install node.js on my Fedora and I got stuck after issuing ./configure command:

[code lang=bash] [..]error: could not configure a cxx compiler! [/code]

I have to admit that I was rather surprised because I have already installed...

We are using cookies to provide statistics that help us give you the best experience of our site. By continuing to use the site you are agreeing to our use of cookies.

x