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 | |
from zope.interface import implements | |
from twisted.cred import portal, checkers, credentials, error as credError | |
from twisted.internet import defer, reactor | |
from twisted.web import static, resource | |
from twisted.web.resource import IResource | |
from twisted.web.http import HTTPChannel | |
from twisted.web import server | |
from twisted.web.guard import HTTPAuthSessionWrapper |
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 | |
from zope.interface import implements | |
from twisted.cred import portal, checkers, credentials, error as credError | |
from twisted.internet import defer, reactor | |
from twisted.web import static, resource | |
from twisted.web.resource import IResource | |
from twisted.web.http import HTTPChannel | |
from twisted.web import server | |
from twisted.web.guard import HTTPAuthSessionWrapper |
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 | |
from zope.interface import implements | |
from twisted.cred import portal, checkers, credentials, error as credError | |
from twisted.internet import defer, reactor | |
from twisted.web import static, resource | |
from twisted.web.resource import IResource | |
from twisted.web.http import HTTPChannel | |
from twisted.web import server | |
from twisted.web.guard import HTTPAuthSessionWrapper |
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/bash | |
# Sensr FTP information | |
HOST=f7.sensr.net | |
USER=cam28 | |
PASS=l4hqpy0ywm | |
echo Starting SensrCam ${HOST} ${USER} ${PASS} | |
# Exit by hitting ^C |
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/bash | |
# Example FTP upload to Sensr from /dev/video0 | |
# (uses ffmpeg to grab frames from webcam) | |
# Sensr FTP information | |
HOST=f7.sensr.net | |
USER=cam28 | |
PASS=l4hqpy0ywm | |
echo Starting FtpCam ${HOST} ${USER} ${PASS} |