Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
# -*- coding: utf-8 -*-
from inky import InkyWHAT
from PIL import Image, ImageFont, ImageDraw
from font_fredoka_one import FredokaOne
import requests
import sched
import time
def get_latest_price(currency):
<!--
Installation instructions.
1) Download file to C:\
2) Open PS as admin
3) Install chocolatey: https://chocolatey.org/install
4) Run - choco feature enable -n=allowGlobalConfirmation
5) Run cinst C:\ChocolateyCofig.config
6) Run - choco feature disable -n=allowGlobalConfirmation
-->

Architectural Questions

  • Are responsibilities well defined?
  • Are the collaborations well defined?
  • Is coupling minimized?
  • Can you identify potential duplication?
  • Are interface definitions and constraints acceptable?
  • Can modules access needed data—when needed?
@calumtomeny
calumtomeny / 0_reuse_code.js
Created March 22, 2014 14:47
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console