Image of Modern Operating Systems (3rd Edition)
Image of Beginning Google Maps API 3
Image of Operating System Concepts
Image of Linux Kernel Development (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

In this post, I demonstrate one way to extract an ICC profile from an image file and display it in a human-readable format.