This is a toy example of XML-RPC in Python and Nodejs.
Usage:
$ python server.pyIn a separate shell:
| #!/bin/bash | |
| # | |
| # Usage: | |
| # $ inspect-tls-cert.sh facebook.com | |
| set -eux | |
| server=${1:-"stripe.com"} | |
| certfile=/tmp/${server}.cert | |
| openssl_client_connect="openssl s_client -connect ${server}:443 -servername ${server}" |
Questions marked as (HM) are best suited for the hiring manager.
| venv | |
| pos.txt | |
| neg.txt | |
| plot.png |
| #!/usr/bin/env python | |
| import sys | |
| import argparse | |
| import subprocess | |
| REMOTE = 'origin' | |
| class CmdError(RuntimeError): |
| #!/usr/env/bin python3 | |
| # USAGE: LIB=work_space python3 interaction_topology_evolution.py | |
| import random | |
| import sys | |
| import itertools | |
| import math | |
| import networkx as nx | |
| import numpy as np | |
| import os | |
| from ctypes import cdll |
| #!/usr/bin/env python | |
| import sys | |
| import numpy as np | |
| from numpy.fft import rfft, rfftfreq, irfft | |
| from matplotlib import pyplot as plt | |
| from scipy.signal import csd, welch | |
| # install via `pip install git+https://github.com/aaren/wavelets` | |
| from wavelets import WaveletAnalysis |