Skip to content

Instantly share code, notes, and snippets.

@openp2pdesign
openp2pdesign / kivy-serialdata.py
Last active Oct 31, 2022
Drawing serial data with Kivy (Python)
View kivy-serialdata.py
# -*- 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
@openp2pdesign
openp2pdesign / GourceGravatarHG.py
Created Jul 2, 2015
Grab avatars for Gource, using HG
View GourceGravatarHG.py
# -*- 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 hg log (todo)
# hg log --template '{author}\n'
View GourceGravatarExample.py
# -*- 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
@openp2pdesign
openp2pdesign / DDD Systems third simulation.ipynb
Last active Sep 16, 2021
DDD Systems a third rough simulation
View DDD Systems third simulation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@openp2pdesign
openp2pdesign / renameillegalfiles.py
Last active Jun 30, 2021
Check and rename files with illegal chars
View renameillegalfiles.py
# -*- encoding: utf-8 -*-
#
# Author: Massimo Menichinelli
# Homepage: http://www.openp2pdesign.org
# License: MIT
#
import string
import os
@openp2pdesign
openp2pdesign / graph-tool installation on Mavericks.md
Last active Feb 19, 2020
Install graph-tool on Mac OS Mavericks with python installed with brew
View graph-tool installation on Mavericks.md
@openp2pdesign
openp2pdesign / DDD Systems second simulation.ipynb
Last active Jan 3, 2020
DDD Systems a second rough simulation
View DDD Systems second simulation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View DDD Systems first simulation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@openp2pdesign
openp2pdesign / wxpython-serialdata.py
Last active Jul 24, 2018
A desktop app in wxPython that draws according data from a serial port
View wxpython-serialdata.py
# -*- 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
@openp2pdesign
openp2pdesign / S1.txt
Created Mar 10, 2018
Storyboards for 3 scenarios of appliation of the OpenMetaDesign platform. To be rendered with: https://github.com/kesiev/StripThis
View S1.txt
“S1. LET'S DEVELOP A DESIGN PROCESS ONTOLOGY"
A NEW OFFICE PANIC PANEL
BIANCA SMILING SAYS "I LOVE HOW DESIGNERS WORK!"
KESIEV SMILING SAYS "ME TOO!! THEIR IDEAS, THEIR PROCESS..."
A NEW OFFICE PANEL
BIANCA SAYS "MMH... WAIT, BUT WHAT REALLY IS A DESIGN PROCESS?"
KESIEV SAYS "WHY ARE YOU INTERESTED IN THIS?"