7 06, 2009

chown

By | 2009-06-03T09:22:25+00:00 June 7th, 2009|Categories: PHP, Ruby|Tags: , , , , , |Comments Off on chown

The chown function is used to change the owner of a specific file or directory.

PHP

chown('/home/ruby/file.php', 'john');

Ruby

require 'fileutils';

FileUtils.chown('john', nil, '/home/ruby/file.php');
4 06, 2009

chmod

By | 2009-06-02T15:39:34+00:00 June 4th, 2009|Categories: PHP, Ruby|Tags: , , , , |Comments Off on chmod

The chmod function is used to change the permissions (or mode) on a specific file or directory.

PHP

chmod('/home/ruby/file.php', 0777)

Ruby

File.chmod(0777, '/home/ruby/file.php')

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.