Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@B0073D
B0073D / sopel_adapter.py
Last active January 21, 2016 15:55
Early work for Sopel Adapt integration. This could be one possible way for Adapt to be used in a 'simple' manner.
import sopel.module
import sopel.formatting
# Adapt imports:
import json
from adapt.intent import IntentBuilder
from adapt.engine import IntentDeterminationEngine
def adapter(*intent_list):

Keybase proof

I hereby claim:

  • I am B0073D on github.
  • I am b0073d (https://keybase.io/b0073d) on keybase.
  • I have a public key whose fingerprint is F646 4547 B960 238A 5506 0D7A 768F 049E 8055 455F

To claim this, I am signing this object:

@B0073D
B0073D / shopping_list_el.txt
Last active December 29, 2015 14:19
Electronics shopping list
Soldering Iron. Goot. $80
Stand. $20
Solder.$13
Desolder braid. $6
Side Cutters. $30
Coax Stripper/Crimper. $12
RG58. $1.96 per M at Jaycar 1.80 at Wattscom
@B0073D
B0073D / nmap_trace_extract.py
Created March 4, 2013 03:54
This piece of python will extract hops from the XML output of nmap and write it to a CSV file in a format that Gephi can use.
import xml.etree.ElementTree as etree
tree = etree.parse('wowser.xml')
root = tree.getroot()
hosts = root.findall('host')
output_file = open('nmap_edges.csv', 'w')
output_file.truncate()
output_file.write("Source,Target\n")
for i in hosts:
@B0073D
B0073D / Gephi_CSV_Sample
Created March 4, 2013 03:42
Gephi CSV Sample
Source,Target
111.87.3.46,4.28.172.21
4.28.172.21,4.69.152.126
4.69.152.126,4.69.153.5
4.69.153.5,4.69.132.10
4.69.132.10,4.69.137.34
4.69.137.34,4.69.144.9
4.69.144.9,4.71.136.94
4.71.136.94,203.190.251.238
203.190.251.238,203.190.250.198