Do you have a domain that is tied to a non-static IP, such as your home? This script when run from within your network will update your Gandi DNS to your public IP.
The following is an example of how to run this script.
WSGIScriptAlias / /var/www/shoal_wsgi.py | |
WSGIDaemonProcess shoal user=www-data group=www-data threads=10 processes=1 | |
Alias /static /var/www/shoal-server/static/ | |
AddType text/html .py | |
<Directory /var/www/shoal-server/> | |
Order deny,allow | |
Allow from all | |
</Directory> |
# WELCOME TO SQUID 2.6.STABLE21 | |
# ---------------------------- | |
# | |
# This is the default Squid configuration file. You may wish | |
# to look at the Squid home page (http://www.squid-cache.org/) | |
# for the FAQ and other documentation. | |
# | |
# The default Squid config file shows what the defaults for | |
# various options happen to be. If you don't need to change the |
#!/usr/bin/env python | |
import time | |
while True: | |
rx = open('/sys/class/net/eth0/statistics/rx_bytes') | |
tx = open('/sys/class/net/eth0/statistics/tx_bytes') | |
rx1 = int(rx.read()) | |
tx1 = int(tx.read()) | |
rx.close() | |
tx.close() |
import argparse | |
import collections | |
import functools | |
import logging | |
import os | |
import re | |
import sys | |
import threading | |
from boto import ec2 |
<!-- ... --> | |
<uses-permission android:name="android.permission.GET_ACCOUNTS" /> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.USE_CREDENTIALS" /> | |
<!-- ... --> |
This is a basic guide to getting Kubernetes running on a RaspberryPi ClusterHAT.
Hardware Used: