This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compute and display the translunar gravitational potential | |
# Graphics based on the example at | |
# https://matplotlib.org/3.1.0/gallery/mplot3d/surface3d.html | |
# | |
# Eric Myers <EricMyers47@gmail.com> - 20 July 2019 - Version 1.0 | |
######################################################################## | |
import numpy as np | |
import math | |
import matplotlib.pyplot as plt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python -u | |
# | |
# MINI FAKE DNS SERVER (PYTHON RECIPE) | |
# by Francisco Santos (15 April 2006) | |
# From http://code.activestate.com/recipes/491264-mini-fake-dns-server/ | |
# just slightly modified by Eric Myers <myers@spy-hill.net> 7 July 2018 | |
######################################################################## | |
# IP address to be returned in response to any query | |
ip='192.168.48.1' |