|
|
|
Wednesday, 04 January 2012 11:44 |
|
How To Monitor And Manage IPMI Management Console
This guide provides an overview on how to monitor and manage
IPMI Management Console with Verax NMS. The Intelligent Platform Management Interface
(IPMI) is a standardized computer system interface used by system
administrators to manage a computer system and monitor its operation. Read more: |
|
|
Wednesday, 28 September 2011 09:24 |
Given a Zope interface IFoo, the method below creates a Mock (http://www.voidspace.org.uk/python/mock/) subclass IFooMock that properly implements IFoo.
See http://programmaticallyspeaking.com/?p=30 for more info.
from mock import Mock
from zope.interface import classImplements
import types
def create_interface_mock(interface_class):
"""Dynamically create a Mock sub class that implements the given Zope interface class."""
# the init method, automatically specifying the interface methods
def init(self, *args, **kwargs):
Mock.__init__(self, spec=interface_class.names(),
*args, **kwargs)
# we derive the sub class name from the interface name
name = interface_class.__name__ + "Mock"
# create the class object and provide the init method
klass = types.TypeType(name, (Mock, ), {"__init__": init})
# the new class should implement the interface
classImplements(klass, interface_class)
# make the class available to unit tests
globals()[name] = klass
 Read more: |
|
|
Thursday, 02 December 2010 18:38 |
|
The Mac OS X Aqua user interface provides users with a consistent visual and behavioral experience across applications and the operating system, and provides an aesthetically refined use of color, transparency, and animation. If your application requires an element or behavior that doesn't already exist, you can create your own custom controls, provided that your element or behavior supports Apple's interface design principles. Review the Extending the Interface section of the Apple Human Interface Guidelines for details. 
Read more: |
|
|
|
|
|
|
Page 1 of 2 |