Skip to content

Instantly share code, notes, and snippets.

mind your own business

Chris Wedgwood cwedgwood

View GitHub Profile
cwedgwood /
Created Nov 9, 2018
Using python to get a list of IPs from DNS
import socket
[ addr[4][0] for addr in socket.getaddrinfo("", 0) if addr[0] in (socket.AF_INET, socket.AF_INET6) ]
cwedgwood /
Created Jan 15, 2016 — forked from soundkitchen/
Amazon Linux AMI に OpenCV インスコしてみた。
# run as root
yum update
yum install gcc gcc-c++ make cmake
# run also as root
mkdir -p src/opencv
cd src
curl -O
tar jxf OpenCV-2.4.3.tar.bz2
You can’t perform that action at this time.