Skip to content

Instantly share code, notes, and snippets.

View nicola's full-sized avatar

Nicola nicola

View GitHub Profile
# Find open FirefoxOS connection open and listening for remote debugging
import psutil
def get_connections(p):
try:
return p.get_connections()
except:
return []
@nicola
nicola / b2g_finder.py
Last active August 29, 2015 14:04
Find open FirefoxOS connection open and listening for remote debugging
import psutil
def get_connections(p):
try:
return p.get_connections()
except:
return []