XML-RPC Example
This is a toy example of XML-RPC in Python and Nodejs.
Usage:
$ python server.py
In a separate shell:
This is a toy example of XML-RPC in Python and Nodejs.
Usage:
$ python server.py
In a separate shell:
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 |
Example usage:
$ python gimme_port.py
usage: gimme_port.py [-r|--resolve] NAME
$ python gimme_port.py muhc.ca.http
29595
$ python gimme_port.py staging.muhc.ca.http
port 31079 is in use by 'nc' (pid: 28569), use --resolve