Skip to content

Instantly share code, notes, and snippets.

View domdfcoding's full-sized avatar

Dominic Davis-Foster domdfcoding

  • Stoke-On-Trent, UK
  • 17:51 (UTC +01:00)
View GitHub Profile
#!/usr/bin/env python3
# stdlib
import ast
from typing import Any, Dict, List, Tuple
class Visitor(ast.NodeVisitor):
def __init__(self) -> None:
@domdfcoding
domdfcoding / whitelist.txt
Created May 20, 2019 21:15
PiHole whitelisted domains for advertising links at the top of Google searches
www.googleadservices.com
googleadservices.com
clickserve.dartsearch.net
ad.doubleclick.net
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Additional data analysis to accompany
# "Improving the Analysis of Organic Gunshot Residue with GunShotMatch"
#
# Copyright 2019 Dominic Davis-Foster <dominic@davis-foster.co.uk>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
network:
version: 2
renderer: networkd
ethernets:
enp2s0f0u10u4u4: # the PS Classic network device
addresses:
- 169.254.215.1/24