Skip to content

Instantly share code, notes, and snippets.

Mehdi Tlili mehditlili

Block or report user

Report or block mehditlili

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mehditlili /
Created Jun 7, 2019 — forked from harald-aigner/
Script for updating spDYN dynamic DNS entries (
# Script for updating spDYN dynamic DNS entries (
# Usage:
# - Save this script as $HOME/bin/
# - Make it executable: chmod u+x $HOME/bin/
# - Create a cron entry (crontab -e) and supply <HOST_NAME> and <UPDATE_TOKEN>
# according to your spDYN settings. Example for running every 10 minutes:
# */10 * * * * $HOME/bin/ <HOST_NAME> <UPDATE_TOKEN> > /dev/null
import cv2
import numpy as np
import matplotlib.pyplot as plt
from sklearn.neighbors import NearestNeighbors
#from scipy.optimize import leastsq
from scipy.optimize import fmin_bfgs
from scipy.optimize import minimize
from scipy.optimize import approx_fprime
def res(p,src,dst):
You can’t perform that action at this time.