- Xcode (Not necessary)
- Command Line Tools for Xcode
- ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- brew doctor
- brew update
| int ledPin = 13; // LED connected to digital pin 13 | |
| void setup() | |
| { | |
| pinMode(ledPin, OUTPUT); // sets the digital pin as output | |
| } | |
| void loop() | |
| { | |
| digitalWrite(ledPin, HIGH); // sets the LED on |
| # Author: Massimo Menichinelli | |
| # License: GPL v.3 | |
| import csv | |
| import networkx as nx | |
| ifile = open('okf2.csv', "rb") | |
| reader = csv.reader(ifile) | |
| g = nx.DiGraph() |
| # -*- encoding: utf-8 -*- | |
| # | |
| # Author: Massimo Menichinelli | |
| # Homepage: http://www.openp2pdesign.org | |
| # License: MIT | |
| # | |
| import subprocess | |
| import os | |
| import string |
| # -*- encoding: utf-8 -*- | |
| # | |
| # Author: Massimo Menichinelli | |
| # Homepage: http://www.openp2pdesign.org | |
| # License: MIT | |
| # | |
| import string | |
| import os |
| # -*- coding: utf-8 -*- | |
| # Author: Massimo Menichinelli | |
| # Homepage: http://www.openp2pdesign.org | |
| # License: MIT | |
| # | |
| import wx | |
| import serial | |
| # A new custom class that extends the wx.Frame |
| #!/usr/local/bin/python | |
| # -*- coding: utf-8 -*- | |
| import wx | |
| import serial | |
| # Import matplotlib for wxPython | |
| import matplotlib | |
| matplotlib.use('WXAgg') |
| # -*- coding: utf8 -*- | |
| from kivy.app import App | |
| from kivy.uix.floatlayout import FloatLayout | |
| from kivy.graphics import Line | |
| from kivy.uix.label import Label | |
| from kivy.core.window import Window | |
| from kivy.clock import Clock | |
| import serial |
| # -*- coding: utf-8 -*- | |
| # License: Public Domain (use it as you like!) | |
| # Import main wxPython libraries | |
| import wx | |
| import wx.xrc | |
| # Import the wxGestalt module for Gestalt Machines | |
| import Machines.wxMachines as wxMachines | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Based on: | |
| # https://code.google.com/p/gource/wiki/GravatarExample | |
| # https://gist.github.com/macagua/5c2f5e4e38df92aae7fe | |
| # | |
| # Usage with Gource: gource --user-image-dir .git/avatar/ | |
| # | |
| # Get list of authors + email with git log | |
| # git log --format='%aN|%aE' | sort -u |