This file contains hidden or 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
require 'rubygems' | |
require 'rss/1.0' | |
require 'rss/2.0' | |
require 'open-uri' | |
require 'appscript' | |
require 'syslog' | |
require 'csv' | |
require 'uri' | |
include Appscript | |
This file contains hidden or 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
#!/bin/bash | |
# | |
# This script will turn ON AirPort only if it was turned OFF before | |
# by this script. | |
# If AirPort was turned off manually, it will not be automatically enabled | |
# | |
AIRPORT="" |
This file contains hidden or 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/env python | |
import argparse | |
import signal | |
import logging | |
import select | |
import socket | |
import datetime | |
from time import gmtime, strftime | |
from influxdb import InfluxDBClient |