Skip to content

Instantly share code, notes, and snippets.

View jmarroyave's full-sized avatar

Jose Miguel Arroyave jmarroyave

View GitHub Profile
@jmarroyave
jmarroyave / myappindicator_v5.py
Last active January 11, 2019 22:34 — forked from candidtim/myappindicator_v5.py
Ubuntu AppIndicator to show Chuck Norris jokes - Updated to python 3
# This code is an example for a tutorial on Ubuntu Unity/Gnome AppIndicators:
# http://candidtim.github.io/appindicator/2014/09/13/ubuntu-appindicator-step-by-step.html
import os
import signal
import json
from urllib import request
from urllib.error import URLError
from urllib.request import urlopen