Skip to content

Instantly share code, notes, and snippets.

View tatic0's full-sized avatar

fran varas tatic0

View GitHub Profile
# -*- coding: utf-8 -*-
"""Test using the InfluxDB client."""
import time
import colorsys
import os
import sys
import socket
import ST7735
import ltr559
@tatic0
tatic0 / gist:4160731
Created November 28, 2012 12:02 — forked from yyuu/gist:1569253
df in python on Linux
#!/usr/bin/env python
# df.py
# inispirational code taken from:
# https://gist.github.com/1569253
from __future__ import with_statement
import contextlib
import os
import sys