Skip to content

Instantly share code, notes, and snippets.

View jonmarty's full-sized avatar

Jonathan Marty jonmarty

View GitHub Profile
@jonmarty
jonmarty / continuous_monitor.py
Created June 18, 2018 01:16
Code to continuously monitor the network for new IPs using PyShark
import pyshark
import threading
IPLIST = list()
def main():
cap = pyshark.LiveCapture(interface="en0")
threading.Thread(target=cap.sniff_continuously())
cap.apply_on_packets(callback=callback)
def callback(pkt):
@jonmarty
jonmarty / MorrisLecar.ipynb
Last active June 17, 2018 22:57
An explanation of mathematical neurons in the context of computational neuroscience and an example of a Morris Lecar Neuron
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.