aly / ddnsupdate.py

0 likes
0 forks
1 files
Last active 1440821822
Script to update a DDNS provider (currently namecheap, but any provider that offers a simple http interface should work if the url is replaced) with your current IP
1 import requests,time,socket,json,sys
2
3 def init_settings():
4 try:
5 with open("settings.json") as f:
6 settings = json.load(f)
7 return settings
8 except:
9 with open("settings.json", "w") as f:
10 settings = dict(domain="REPLACE_WITH_DOMAIN",

aly / mediaserverindex.html

0 likes
0 forks
1 files
Last active 1440820958
A drop-in media server index for apache that uses directory indexing and adds a HTML5 video player. loads directory changes with ajax
1 <html>
2 <head>
3 <script src="jquery.js"></script>
4 </head>
5 <body>
6 <span id="VideoList"></span>
7 <script>
8 var videosPath = "/Videos/";
9 var curdir = "";
10 function updateList(data) {