Archive for May, 2010

How-to create a request, install & bind a 3rd party SSL certificate on Windows Server 2008 Server Core

May 29, 2010

How-to create a request, install & bind a 3rd party SSL certificate on Windows Server 2008 Server Core

Purpose: The aim of this document is to provide step by step procedures on creating a certificate request, installing and binding a 3rd party SSL certificate on a Windows Server 2008 Server Core installation system. This document assumes that you have already installed IIS 7.0 and enabled IIS Remote Management.

Requirements

  • IIS Manager
  • IIS Management Console
  • Remote Desktop
  • SSL Certificate

3rd party SSL certificate installation and binding on Windows 2008 Server Core

This post is courtesy of Jorge Ovando Zalapa.

Windows quick & easy Django + MySql installation recipe

May 28, 2010

The following instructions are written for Windows Django development installations.  Have fun…

(more…)

Python cmd module completion flow diagram

May 27, 2010

Cmd Completion Flow Diagram

Python cmd module flow diagrams:

  1. Command loop flow diagram
  2. Command processing flow diagram 
  3. Command completion flow diagram - shown here
  4. Command help flow diagram

Related Posts:

Python cmd module – command processing flow diagram

May 26, 2010

Command processing flow diagram

Python cmd module flow diagrams:

  1. Command loop flow diagram
  2. Command processing flow diagram - shown here
  3. Command completion flow diagram
  4. Command help flow diagram

Related Posts:

Python Cmd module – command loop flow diagram

Python cmd module Cisco IOS-style

Python cmd module cmdloop flow diagram

May 25, 2010

Python Cmd module cmdloop() flow

I have created four (4) Python cmd module flow diagrams:
  1. Command loop flow diagram – shown here
  2. Command processing flow diagram
  3. Command completion flow diagram
  4. Command help flow diagram

I will be posting the other three (3) throughout the week.  This is by far the smallest of the three diagrams.

Related Posts:

Python cmd module Cisco IOS-style

COBOL Copybook PIC parser update

May 25, 2010

This is a replacement for PIC parser class used in a previous post. It can also be run from the command-line, for example:

$ ./pic.py
Usage: pic.py [OPTIONS] PIC-string

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -c COMP, --comp=COMP  specify computational (COMP) value
  --test                evaluate and display sample PIC strings

$ ./pic.py --c1 '99'
data-type: 'Float', data-length: 2, implied-dec-pos: 0

$ ./pic.py '9(3)V99'
data-type: 'Float', data-length: 5, implied-dec-pos: 4

$ ./pic.py 'X(13)'
data-type: 'Char', data-length: 13, implied-dec-pos: 0

(more…)

Python Cmd module in Cisco IOS-style

May 22, 2010

Everything except argument processing is complete and tested in this version.  A new version that supports IOS-style arg processing is currently undergoing testing; it will be available in the very near future.

(more…)

Fast, light-weight Unix utilities for Windows

May 22, 2010

Here are some ports of common GNU utilities to native Windows;  the package is really fast, lightweight and unobtrusive.  UnxUtils is available at Sourceforge, but I prefer the package at http://bit.ly/aduz5O because it automatically takes care of setting up the environment variables - just launch the wizard, select the defaults and off you go . The site I linked to claims that it is not maintainined anymore, don’t worry the tools are stable,  I’ve used these same UnxUtils  on countless workstations for over 6 years.  I have to warn you though, if you’re anything like me, once you get used to these tools you’ll be spoiled and you’ll feel totally crippled in Windows without them.  Fortunately they are small in size,  so you can easily keep a copy of them on your thumb drive.

(more…)

Under the hood of the Python Cmd module – Line Parsing

May 20, 2010

User input parsing in the Cmd module may not seem very intuitive at first.  Commands are built by checking the line from left to right until a character is found that is not alpha, numeric, or an underscore… that’s where the command ends and the arg starts.  This allows you to develop special user commands with trailing synatic sugar, but this can be initially confusing — at least until you understand how Cmd’s line parsing is done… see below:
(more…)

Under the hood of the Python Cmd module – Command Processing

May 20, 2010

Here is peek under the hood of the Python Cmd module… I have added lots of comments to provide a guided-tour describing the flow of user-entered-command processing.

It boils down to 3 types of command processing results:

  1. Call Empty Line (if empty after stripping line), calls Cmd.emptyline()
  2. Call Do Command, calls Cmd.do_{command}(args)
  3. Call Default Processing , calls Cmd.default(line)

(more…)


Follow

Get every new post delivered to your Inbox.