Skip to content

Instantly share code, notes, and snippets.

View Cougar's full-sized avatar
👨‍💻
I may be slow to respond.

Cougar

👨‍💻
I may be slow to respond.
View GitHub Profile
@eligrey
eligrey / LICENSE.md
Last active February 1, 2021 12:00 — forked from 140bytes/LICENSE.txt
Analog clock of the current time.

Public domain. No warranty expressed or implied. Use at your own risk. Attribution to Eli Grey is encouraged but optional.

@emk
emk / rpctest.c
Created April 22, 2011 17:43
XML-RPC for C code snippet (revision 1.10 of xmlrpc_data.c and 1.23 of rpctest.c, from ~10 years ago)
/* Copyright (C) 2001 by First Peer, Inc. All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions
** are met:
** 1. Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** 2. Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in the
** documentation and/or other materials provided with the distribution.
"""Scan a barcode from a CD/Album, and determine if it was released by a member of the RIAA"""
__author__ = 'Chris Grice <[email protected]>'
__license__ = 'MIT Licence'
import android
import urllib
import urllib2