Wednesday, July 13, 2011

http://arstechnica.com/apple/guides/2011/07/making-a-clean-start-with-lion-migrating-without-assistance.ars?utm_source=rss&utm_medium=rss&utm_campaign=rss

Friday, June 3, 2011

ActiveDirectoryWinbindHowto

http://wiki.samba.org/index.php/Samba_%26_Active_Directory
https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto

Thursday, May 26, 2011

Thursday, April 7, 2011

import json

class Subscriber(object):
firstname
= None
lastname
= None


class Post(object):
author
= None
title
= None


def decode_from_dict(cls,vals):
obj
= cls()
for key, val in vals.items():
setattr
(obj, key, val)
return obj


SERIALIZABLE_CLASSES
= {'Subscriber': Subscriber,
'Post': Post}

def decode_object(d):
for field in d:
if field in SERIALIZABLE_CLASSES:
cls
= SERIALIZABLE_CLASSES[field]
return decode_from_dict(cls, d[field])
return d


results
= '''[{"Subscriber": {"firstname": "Neal", "lastname": "Walters"}},
{"Post": {"author": {"Subscriber": {"firstname": "Neal",
"lastname": "Walters"}}},
"title": "Decoding JSON Objects"}]'''