Skip to content

Instantly share code, notes, and snippets.

#! /usr/bin/env python
# -*- coding:utf8 -*-
#
# pytimeo.py
#
# Copyright © 2013 Mathieu Gaborit (matael) <mathieu@matael.org>
#
#
# Distributed under WTFPL terms
#
@matael
matael / Makefile
Created April 26, 2013 21:37
Makefile pour launchpad
#
# Makefile
# matael, 2013-04-26 23:22
#
# compilation
CC=msp430-gcc
CC_OPTS= -Os
MMCU_TYPE=msp430g2553
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from twitter import Twitter
import re
import time
import os
# CONFIG
# hashtag a chercher
#!/usr/bin/env python
#-*- coding: utf8 -*-
import sys
import os
import serial
import time
from json import loads
from urllib.request import urlopen
@matael
matael / LICENSE.rst
Last active December 11, 2015 19:49
OpenData : parkings de nantes

Licences

Script

Licence du script python lui-même ::

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 
        Version 2, December 2004 
@matael
matael / graph.py
Created January 15, 2013 09:04
#jellylemans
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from twitter import Twitter
from matplotlib import pyplot
twlk = Twitter(domain="search.twitter.com")
hashtag = "#jellylemans"
anonymous
anonymous / RFX_tester.pde
Created December 26, 2011 13:24
Functional Tester for Nanode RFX
/**********************************************************************************************
* Utility to test the Nanode RF and it's various components and functions
*
* Ian Chilton <ian@ichilton.co.uk>
* 21/12/2011
*
* Currently requires Arduino 0022 or 0023. Arduino 1.0 compatibility will come soon.
*
* Requires the following libraries in your libraries folder:
anonymous
anonymous / Nanode_BASIC_IO
Created December 25, 2011 09:00
Tiny Basic with Digital and Analogue I/O for Nanode/Arduino
// TinyBASIC.cpp : An implementation of TinyBASIC in C to run on Nanode and Arduino
//
// This version now has the digital I/O, analogue I/O and sleep functions
//
//
// Take on the Nanode Tiny Basic Christmas Challenge
//
// Help Hack Tiny Basic onto Nanode and kickstart a return to simpler and fun programming
// Tiny Basic can help teach kids to program
//
@maniacbug
maniacbug / nanode_pachube.pde
Created August 7, 2011 03:19
Example to use EtherCard on Nanode to upload data to Pachube
// Simple demo for feeding some random data to Pachube.
// Based on pachube.pde 2011-07-08 <jcw@equi4.com> http://opensource.org/licenses/mit-license.php
// Created by <maniacbug@ymail.com>
//
// See blog post at http://maniacbug.wordpress.com/2011/08/07/nanode/
// This has been tested with EtherCard rev 7752
// Get it from http://jeelabs.net/projects/11/wiki/EtherCard
#include <EtherCard.h>