Skip to content

Instantly share code, notes, and snippets.

View jamestait's full-sized avatar

James Tait jamestait

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jamestait on github.
  • I am jamestait (https://keybase.io/jamestait) on keybase.
  • I have a public key ASCoGmYNWqODbVDwbj4nHVsoACzEoqzBtkKi8LhgsXFohAo

To claim this, I am signing this object:

from sleekxmpp import ComponentXMPP
from sleekxmpp.test import sleektest
class Component(ComponentXMPP):
def __init__(self, jid, secret, host=None, port=None,
plugin_config={}, plugin_whitelist=[], use_jc_ns=False):
super().__init__(jid, secret, host, port)
self.add_event_handler('message', self.message)
@jamestait
jamestait / applist.py
Last active January 30, 2017 13:27 — forked from rschroll/applist.py
A script to browse the Ubuntu Touch apps
#!/usr/bin/env python
# A basic Python script to let you browse the apps available in the
# Ubuntu Touch App store. Run it and your web browser should open.
#
# Copyright 2014 Robert Schroll
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights