Skip to content

Instantly share code, notes, and snippets.

@mclemme
mclemme / PartnerAds.py
Last active December 18, 2015 05:59
Fetches account balance from Partner-Ads and speaks out how much money you made since it last changed.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#Your unique key from https://partner-ads.com/dk/udtraek.php
KEY='12345'
INTERVAL=600
from urllib2 import urlopen
from xml.etree import ElementTree as ET
from os import system
@mclemme
mclemme / TalkingDoge.py
Last active January 2, 2016 11:09
Tired of using your eyes to check how many dogecoins you've mined? Now you can use your ears ;-) This requires espeak to be installed and working, on Ubuntu/Debian based linux distributions you should be able to install it with: "sudo apt-get install espeak".
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#Your mining address
ADDRESS='DGVboAJbUhnNzMn4F9z7D8LgaynphSU2Bb'
INTERVAL=300
from urllib2 import urlopen
from os import system
from time import sleep
04e88410bb7fe6c6078470b8666397d3ab7748c47127a68b4d1b4351484b2aa41aaeb8ec693227680eb744702afec3dd48824beb66c943fdd1b030eefdd2f46845