Image of Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series)
Image of Beginning Google Maps API 3
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)
Image of Modern Operating Systems (3rd Edition)

EFI Boot Stub Added to Linux 3.3 Kernel

The 3.3 Linux kernel added support for an EFI boot stub that allows an x86 bzImage to be loaded and executed directly by EFI firmware. The bzImage appears to the EFU firmware to be an EFI application. Both BIOS and EFI boot loaders can still load and run the same bzImage, thereby allowing a single kernel image to work with both BIOS and UEFI firmware. Here is the commit message: There is currently a large divide between kernel development and the development of EFI boot loaders. The idea behind this patch is to give the kernel developers full control over

How to Install Cinnamon Themes

This post assumes that you already have the Cinnamon shell installed on your computer and you want to install new Cinnomon themes for your personnal use rather than for global use. If you do not already have a ~/.themes subdirectory, you need to create it. The default permissions are fine. You can either use the Cinnamon Settings tool (Menu->Preferences->Cinnamon Settings) to preview, select and download a new theme, or you can download a theme directly from here. Themes files are compressed and packaged as a single zip file. Move the downloaded zipped theme file to ~/.themes and unzip it. A

Bash XOR A String

Here is an example of how to XOR a string variable using the Bash shell. Each character in the plaintext string is XOR’ed with decimal 90. #!/usr/local/bin/bash plaintext="abcdefg" echo "Plaintext: $plaintext" cyphertext="" for ((i=0; i < ${#plaintext}; i++ )) do ord=$(printf "%d" "’${plaintext:$i:1}") tmp=$(printf \$(printf ‘%03o’ $((ord ^ 90)) )) ciphertext="${ciphertext}${tmp}" done echo "Ciphertext: $ciphertext" # now XOR again and we should get the original string back plaintext="" for ((i=0; i < ${#ciphertext}; i++ )) do ord=$(printf "%d" "’${ciphertext:$i:1}") tmp=$(printf \$(printf ‘%03o’ $((ord ^ 90)) )) plaintext="${plaintext}${tmp}" done echo "Plaintext: $plaintext" The key lines are the ord= and the tmp=

Extract ICC Profile from Images

Color management is regarded as a black art my many application and system developers but it is becoming an increasingly important subject as color fidelity between devices is now a requirement for many applications. What is color? Color (or colour) is the visual perceptual property corresponding in humans to the categories called red, green, blue, and others. Color derives from the spectrum of light (distribution of light power versus wavelength) interacting in the eye with the spectral sensitivities of the light receptors. Color categories and physical specifications of color are also associated with objects, materials, light sources, etc., based on