First, you need to have the PIL python module and import this.

Next will be this function. Basically will make and return one RGBA image data type.

The next step is to set the text, font, and the new image. I use Arggotsc.ttf. You can use any TrueType… Continue Reading Simple way to create png image with an input text.

An easy_install replacement is pip. The pip installs packages and managing Python packages. Let’s try to install packages.

Install the pip package. The recommended way to use the pip tool is within virtualenv since every virtualenv has pip installed in it automatically.

Let’s try again with PyOpenGL and… Continue Reading Using pip for installing and managing Python packages.

About the source code. I will try to embed python in C application. I will use a simple python script. This is a simple example using pygame python module.

Make a new folder and named Python_C using these commands in the shell:

Let’s see the C source… Continue Reading Embedding python in C under Fedora 16.

This means that VirtualBox uses the old Linux capability API. This happens when you use an old Linux distro.

Install p7zip on Fedora:

Install p7zip on Debian and Ubuntu:

Uncompressing an example.7z 7zip file in Linux.

Creating a 7zip compression file in Linux.

The error is like:

Both JAVA_HOME and PLUGIN_HOME are environment variables. Use the next command:

If you got this error in your firefox browser then the main reason is: Firefox can be set to not accept cookies. The output will give us this:

To fix this error just go at the top of the Firefox window. Click on the Edit menu and select Preferences.… Continue Reading error: …

WebGL is a software library and cross-platform API that extends the capability of the JavaScript programming language. That brings OpenGL to the web as a 3D drawing context within HTML Today we present a simple example of using WebGL. Here, there is an HTML content, javascript, and content of WebGL… Continue Reading Simple WebGL example.