Thanks to the WordPress JSON API plugin it’s really easy to make a WordPress theme using AngularJS, or use WordPress as a backend for your AngularJS application. In this post I’ll describe how to create a basic theme from scratch and fetch posts using AngularJS and the JSON API plugin. In order to follow this […]
This is a little CSS3 3D transform example.
The getUserMedia API is a very cool feature of modern html5 browsers. It allows you to access audio and video from the local camera within the browser. In this example, the local camera stream is used as the texture of the cube. On each side a different filter effect is applied. Your browser needs to […]
Here is a little example of how to use AngularJS to validate a form. The validation is triggered when a value changes or when the form gets submitted.
Today I wanted to know a bit more about the canvas feature and decided to create some examples. So this is my first one. I am pretty impressed how powerful and easy to use canvas are.
Today I wondered if their is a difference between String and string (lowercase) in c#. I have used both, but I never really cared. So here is the answer. string is an alias for System.String. So technically, there is no difference. It’s like int vs. System.Int32. As far as guidelines, I think it’s generally recommended […]
With .htaccess it is very easy to password protect a directory. The method is called htaccess password protection or htaccess authentication, and works by uploading two files called .htaccess and .htpasswd in the directory you want to password protect.
What is special about strings in Java? Strings are “special” objects in Java. The Java designers wisely decided that Strings are used so often that they needed their own syntax as well as a caching strategy. String literals [ie, Strings like “abcd” but not like new String(“abcd”)] in Java are interned – this means that […]