I use PythonQt to embed the Python scripting language into my C++ Qt application. When I tried to run my app on a different computer, that don’t have python installed, I got the following error: Fatal Python error: Py_Initialize: unable to load the file system codec Fatal Python error: ImportError: No module named ‘encodings’ Py_Initialize: […]
I needed to use msvc++ (2013) for compiling qtscriptgenerator. When I tried to compile the generator.pro I got the following errors.
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.