Dec 122012
 

spirits

Perhaps someone is old enough to remember the original Lemmings game, a puzzle-platformer video game developed by DMA Design and published by Psygnosis in 1991. Originally developed for the Amiga, Lemmings was one of the most popular video games of its era, the basic objective of the game is to guide a group of humanoid lemmings through a number of obstacles to a designated exit. In order to save the required number of lemmings to win, one must determine how to assign a limited number of eight different skills to specific lemmings that allow the selected lemming to alter the landscape, to affect the behavior of other lemmings, or to clear obstacles in order to create a safe passage for the rest of the lemmings.

This gameplay has been reused by many games in these years and today I want to present you the last heir of this big family : Spirits

Continue reading »

Flattr this!

Dec 122012
 

Only recently I’ve started to work with Git, don’t blame me I’m mainly a system administrator not a developer, and one of the things I’ve been asked to setup is a way to have a cloned Git project shared over SSH to a particular group of person that share the same linux group.

The issue is this setting are the permissions that must be properly set so you and the others don’t end up stomping on each other when pushing changes, so let’s see how to achieve this goal quickly.

Continue reading »

Flattr this!

Dec 092012
 

In the past I’ve wrote an article about the commands du and df that can respectively give you information about the Disk Usage and the Disk Free of your Linux computer.
I personally use both of these commands a lot of times at work to check file system and/or directory, but I also understand that on a desktop with Linux you could use something more graphical to see the status of your partitions or directories, so today I’ll show you some programs that can achieve this goal: baobab, cdu, ncdu, JDiskReport and Filelight.

Continue reading »

Flattr this!

Dec 072012
 

This is an article of mine first published on Wazi

PHP is a widely-used language, it offers general purpose scripting that is well suited for Web development. It can be embedded into HTML, and is compatible with all major operating systems such as Linux, many Unix variants, Microsoft Windows, Mac OS X, RISC OS and more.

It works with most major Web servers and it’s the scripting engine of many popular software such as Wordpess, Drupal, phpBB, mediaWiki, Joomla and Moodle just to name a few.

A thing that not everyone know is that you have different choice to run PHP on your Server, the most common option is the one used in the LAMP stack(Linux+Apache+Mysql+PHP): mod_php, this is the more common way to have php working with your web server, but is not the only one and for someone is the worst in terms of performance, other options available are PHP-FPM (FastCGI Process Manager) and PHP FastCGI, another way of running a PHP script from a webserver could be ti use the traditional CGI method but for its poor performance this method is not used anymore

In this article I’ll show you the pros and cons of these different ways to use PHP with your webserver and as first thing I’ll give you a general suggestion to speed up the performance of your PHP.
Continue reading »

Flattr this!

Dec 032012
 

In a GNU/Linux system every file or folder has some access permissions. There are three types of permissions (what allowed to do with a file of any kind, directory included):

(r)read access
(w)write access
(e)execute access

There are also other “special” permissions, but for this article the basic permissions will be enough to illustrate how umask works, and the permissions are defined for three types of users:

(U) the owner of the file
(G) the group that the owner belongs to
(O) All the other users

umask (user mask) is a command and a function in POSIX environments that sets the file mode creation mask of the current process which limits the permission modes for files and directories created by the process. A process may change the file mode creation mask with umask and the new value is inherited by child processes.

In practice with umask you can define the permissions of the new files that your process will create.
Continue reading »

Flattr this!