All Articles for 2011

Ruby system calls

The programming language Ruby allows to make system calls redirected to the shell. This is useful to call certain local applications or read system information. It even allows to script certain tasks via Ruby.

Web server file permissions

Public web server should provide a high level of security. On the other hand web applications may require some write permissions to the file system. Although changing the permission with chmod to 0777 is one possible solution, it allows read, write and execute commands for everyone. The better solution is to set the owner of the web application to the user of the web server.

Nanoc - website compiler

Nanoc is a ruby-based static website compiler. It builds static HTML files based on user created layouts and templates.

page 1 of 1