Skip to content

Instantly share code, notes, and snippets.

Avatar

Lynn Root econchick

View GitHub Profile
@econchick
econchick / gist:4666413
Last active Sep 9, 2020
Python implementation of Dijkstra's Algorithm
View gist:4666413
class Graph:
def __init__(self):
self.nodes = set()
self.edges = defaultdict(list)
self.distances = {}
def add_node(self, value):
self.nodes.add(value)
def add_edge(self, from_node, to_node, distance):
@econchick
econchick / interview_tips.md
Last active Aug 7, 2019
Women Who Code: Interviewing Tips
View interview_tips.md
@econchick
econchick / gist:4666378
Created Jan 29, 2013
Implement a Binary Tree in Python
View gist:4666378
class Node:
def __init__(self, key):
self.key = key
self.parent = None
self.left = None
self.right = None
def insert(root, t):
new = Node(t)
View traceroute_01092017.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View how-to-scapy.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View search-term-query.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View pycones.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View quick_howto.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View os_fingerprint_traceroute.json
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
View irc_chat_query.json
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
You can’t perform that action at this time.