Skip to content

Instantly share code, notes, and snippets.

View dbonino's full-sized avatar
🏠
Working from home

Dario Bonino dbonino

🏠
Working from home
  • Sysdig
  • Cuneo, Italy
View GitHub Profile
View enOceanSniffer.py
#!/usr/bin/python
'''
Created on Jan 22, 2015
@author: dario bonino
Copyright (c) 2015 Dario Bonino
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@dbonino
dbonino / gist:e33b499f31f5b886f425
Created December 22, 2014 16:46
MQTT Dump utility using Eclipse PAHO client
View gist:e33b499f31f5b886f425
#!/usr/bin/python
'''
Created on Nov 4, 2014
@author: bonino
'''
import paho.mqtt.client as mqtt
import time
import getopt
import sys
@dbonino
dbonino / gw.py
Last active August 29, 2015 13:58
Python script to detect button pressing through the RaspberryPi GPIO and to send an "associate" command to Dog. A led attached to another GPIO port provides feedback on the current gateway status according to Dog.
View gw.py
'''
Created on Apr 4, 2014
@author: bonino
@author: de russis
Copyright (c) 2014 Dario Bonino and Luigi De Russis
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.