Translate

Archives

GNOME Weather Extension New Version

I got some time recently to update my GNOME Shell weather extension. Most of the changes were minor. Version 2.5 is now available at fpmurphy.com or on GitHub. Here is what the weather panel looks like: This is the configuration panel for the extension: If anybody is a graphics artist and can develop a nicer set of weather icons (approx 60), I would welcome their help. This version works with Gnome Shell 3.4 and has been tested with Fedora 17.

Decode Microsoft Secure Boot KEK Certificate

In this post I show you how to decode a DER encoded binary X509 certificate and use it to show you the contents of the Microsoft X509 certificate used as the UEFI Secure boot KEK for Windows 8 platforms.

System Clocks in a Mixed UEFI Environment

On a UEFI enabled platform with multiple heterogenious x86-based operating systems, you can get oddball results from your system clocks if you are not careful. This is because Microsoft Windows by default instructs the hardware clock to store the time as localtime and Linux by default stores the time as UTC (Coordinated Universal Time.) Localtime is dependent on the current time zone, while UTC is a global time standard and is independent of time zone values. Though slightly different, UTC is also often known as GMT. If you are on a UEFI platform on which there is also a Microsoft

UEFI Install OEL 6.3 on Lenovo T430

I recently UEFI-installed Oracle Enterprise linux (OEL) on a Lenovo T430 that had the default Intel graphics card. In both graphical and text install modes, the OEL install screens were seriously messed up. I choose to install using the graphics mode because I am very familar with that mode from installing RHEL over the years. Other than the messed up screen, the install went smoothly. Upon rebooting OEL, the screen was still messed up. Even in text mode at run level 1, the problem persisted. However if I switched to the lasted UEK – 2.6.32-279.9.1 – the screen stablized and

Korn Shell Multidimensional Arrays

The bash shell only supports single dimension arrays. Korn Shell 93 (ksh93), on the other hand, supports multidimensional arrays although this feature is poorly documented. Here is a simple example which demonstrates how to create and use a multidimensional array: #!/bin/ksh93 for i in 1 2 3 do for j in 4 5 6 do for k in 7 8 9 do array[$i][$j][$k]=$(( i + j + k )) # echo ${array[$i][$j][$k]} done done done for i in 1 2 3 do echo ${array[$i][4][7]} done It outputs: 12 13 14 Note – multidimensional associative arrays are not supported.