Image of Modern Operating Systems (3rd Edition)
Image of Linux Kernel Development (3rd Edition)
Image of Beginning Google Maps API 3
Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)

RHCSA Preparation - Script to Configure a Simple OpenLDAP Server

The ability to quickly configure an LDAP (Lightweight Directory Access Protocol) client for accessing user and group accounts is one of the skills you are expected to have when you sit the Red Hat RHSCA exam. LDAP is a application-level protocol for accessing and maintaining distributed directory services over an IP-based network. It is specified in a series of RFCs (Request for Comments) using ASN.1. The latest LDAP specification is Version 3, published as RFC 4511. Typically, at a minimum, LDAP is used to facilitate centralized user and group account administration. Instead of storing user and group account information locally

Bash-like Customizable Prompt in Korn Shell

Bash has built-in support for extensive PS1 prompt customization using parameterless macros. As a result many people customize their shell prompts. There is no equivalent built-in support for PS1 customization in ksh93 but such support can easily be added using a discipline function. This post provides an example of such a PS1 discipline function. Add the following discipline function to your ~/.kshrc and ensure that ~/.kshrc is included in your ~/.profile shell startup script which, by the way, only gets executed at login if ksh93 is your default shell. function PS1.set { typeset prefix remaining=${.sh.value} var= n= k= set -A

ASN.1 Brush for WordPress Syntax Highlighter Plugin

Recently I wanted to include an example of some ASN.1 (Abstract Syntax Notation) code in a WordPress blog using Alex Gorbatchev‘s excellent SyntaxHighlighter code syntax highlighter. SyntaxHighlighter uses separate syntax files called brushes to define its highlighting functionality. Unfortunately, I discovered that no brush was available for ASN.1 so I decided to write one. Here is what I came up with: // // Copyright (c) 2012 Finnbarr P. Murphy. All rights reserved. // SyntaxHighlighter.brushes.ASN1 = function() { var keywords = ‘BOOLEAN INTEGER ENUMERATED REAL BIT STRING OCTET NULL ‘ + ‘EXTERNAL SET SEQUENCE OF CHOICE ANY OPTIONAL DEFAULT ‘ +