Category Archives: Programming


Working with node.js and nodemon – part 001

Node.js is a platform for easily building fast, scalable network applications. Download the archive from here. Unarchive and you can use it.

The nodemon can be used during the development of a node.js based application. How? will watch the files in the directory that nodemon was started. Also, it will automatically restart your node… Read More »

How to reset django or create another superuser.

If you know your username (for example admin) then use this:

Also, You may try through the console to see and change the password: Use the shell console and start the Django shell:

Now use this Django script:

If you need to create another superuser.

How to get? the GLSL and OpenGL version.

You can get a version from the OpenGL and GL Shading program by:

If don’t initialize the OpenGL you can get it:

Let’s try one simple example.

The output will be print on the shell.

Using standard C library sysconf .

Using standard C library sysconf is very simple. See all about sysconf.

The source code is this:

I use stdio.h and unistd.h libs. Also, I have two vars tmp and tmp2. This vars will take the result of _SC_NPROCESSORS_CONF and _SC_CLK_TCK using sysconf. Use the gcc to make binary.

… run it… Read More »

Linux .bashrc to extract many archives

This is just a new function to uncompressing many files like: .tar.bz2,.tar.gz,.bz2,.rar,.gz,.tar,.tbz2,.tgz,.zip,.Z,.7z Open .bashrc file from home/user folder. With your text editor and add the next function on the end of the file.

Open a new terminal. This will work with the new function from .bashrc.

Alice – 3D educational programming environment – installation .

What is Alice? The – official website provides a quick introduction. Using an innovative 3D programming environment that makes it easy to create animations or games, the Alice Project seeks to provide tools and materials for a conceptual core of computational thinking, problem-solving, and computer programming. The Alice Suite of educational tools is designed… Read More »