Wednesday, December 30, 2009

Video mapping the trend of visual art

Video mapping the trend of visual art that uses the projection of free space on any objects, such as facades or interiors of buildings. To realize the need for a strong projectors, the corresponding software and darkness, or at least dim. To prepare high-quality screening is required prior knowledge of the scene, are often created 3D models of space within the building or facade, to obtain a perfect fusion of light opera with a scene. The result then recalls the film sequence in which the real background blended with a virtual plot, such as the facade of the emerging individual bricks, in the windows are people and objects fly out, of the roof flowing waterfall, etc.

Generally, the main purpose of mapping the video projections which cooperate with the selected object and seek to dismantle the perception of the viewer's perspective. With projectors can fold and highlight jakkýkoliv shape, line or space. Everything becomes an illusion.

Projection on Buildings






Video mapping Object 3D





Tuesday, December 29, 2009

Regular Expression RegExp Tool

Regular expressions can be a pain. This tool is designed to help developers learn, practice, and compose regular expressions.

http://gethifi.com/regexp/

The HiFi RegExp tool is 100% JavaScript using jQuery.

How to resize a VMware Linux virtual disk?

On your host


resize the virtual device’s virtual disk (example for create 10GB disk).

command: vmware-vdiskmanager -x 10GB myvirtual.vmdk



On your virtual server


resize filesystem (example for default instalation of CentOS 5).

Check filesystem data

command: df -h




  1. Add a new partition

    command: fdisk /dev/sda



    (p - print the partition table; n - add a new partition; t - change a partition's system id, e.g. 8e Linux LVM; w - write table to disk and exit)

  2. Reboot

    command: reboot




  3. Create physical volume

    command: pvcreate /dev/sda3




  4. Extend volume group

    command: vgextend VolGroup00 /dev/sda3




  5. Extend logical volume

    command: lvextend -l +100%free /dev/VolGroup00/LogVol00 /dev/sda3




  6. Resize filesystem

    command: resize2fs /dev/VolGroup00/LogVol00





Check filesystem data

command: df -h