Skip to content

Instantly share code, notes, and snippets.

View jamesadney's full-sized avatar

James Adney jamesadney

View GitHub Profile
@endolith
endolith / bansheeserver.py
Created October 11, 2009 20:03
Banshee remote server (by Nikitas Stamatopoulos)
#!/usr/bin/env python
#Copyright (C) 2009 Nikitas Stamatopoulos
# Modified by [email protected] 2009-10
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.
# Copyright 2009 Igor Kolar <[email protected]>
#
# Licensed under the EUPL, Version 1.1 or – as soon they
# will be approved by the European Commission - subsequent
# versions of the EUPL (the "Licence");
# You may not use this work except in compliance with the
# Licence.
# You may obtain a copy of the Licence at:
# http://ec.europa.eu/idabc/eupl5
#
@segphault
segphault / web-ui.py
Created May 5, 2009 19:54
Experimental UI for the Ubuntu messaging indicator
#!/usr/bin/env python
import gtk, gobject, indicate, dbus, webkit
from xdg.DesktopEntry import DesktopEntry
from mako.template import Template
class IndicatorInspector:
def __init__(self):
self.servers = []
self.listener = indicate.Listener()
@quad
quad / forward-test.py
Created April 19, 2009 12:03
A hilarious use of the Skype API to connect random people together.
#!/usr/bin/env python
import logging
import dbus
import dbus.service
import gobject
# Set DBUS as the default MainLoop.
from dbus.mainloop.glib import DBusGMainLoop