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
#!/bin/sh | |
#set -x | |
LOG_LIMIT=100 | |
SVN_DIFF="svn diff --no-diff-deleted" | |
QDATE=$1 | |
if [[ -z "$QDATE" ]]; then | |
echo "Usage: $(basename $0) QUERY_DATE" | |
echo "QUERY_DATE is like 2014-06-12" |
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/env python | |
"""A script uses requests and BeautifulSoup to login to | |
kq.neusoft.com and punch the clock online. | |
""" | |
import sys | |
import logging | |
logging.basicConfig(level=logging.ERROR) | |
import requests | |
from BeautifulSoup import BeautifulSoup |