brian wickman - @wickman
[TOC]
Pants makes the manipulation and distribution of hermetically sealed Python environments
Process: Python [25319] | |
Path: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python | |
Identifier: org.python.python | |
Version: 2.7.10 (2.7.10) | |
Build Info: python-97050007000000~5 | |
Code Type: X86-64 (Native) | |
Parent Process: bash [411] | |
Responsible: Python [25319] | |
User ID: 501 |
# coding: utf-8 | |
# FILE: | |
# ----- | |
# /mnt/Vancouver/apps/Webcam-Face-Detect/webcam_cv3_v2_fps_v3.py | |
# FUNCTIONALITY: | |
# -------------- | |
# * outputs webcam to screen and finds faces, eyes | |
# * writes webcam video to *.avi file (MJPG codec) via OpenCV/FourCC |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- # | |
from __future__ import unicode_literals | |
# Uncomment following line if you want document-relative URLs when developing | |
#RELATIVE_URLS = True | |
DEBUG=1 | |
############################################################### | |
############################################################### Site abt. | |
############################################################### |
# -*- coding: utf-8 -*- | |
#!/usr/bin/python | |
# import module | |
import smbus # use I2C | |
import math # mathmatics | |
from time import sleep # time module | |
# | |
# define |
# -*- coding: utf-8 -*- | |
#!/usr/bin/python | |
# import module | |
import smbus # use I2C | |
import math # mathmatics | |
from time import sleep # time module | |
# | |
# define |
#!/usr/bin/env python | |
from pygame import camera | |
import pygame | |
import time | |
import cv | |
import os | |
# Recognition |
# -*- coding: utf-8 -*- | |
#!/usr/bin/env python | |
from tkinter import * | |
import md4cli as cli | |
class Application(Frame): | |
def __init__(self, master=None): | |
self.logf = cli._inti_d() | |
self.histlog = "" |
application: you-app-name-here | |
version: 1 | |
runtime: python | |
api_version: 1 | |
default_expiration: "30d" | |
handlers: | |
- url: /(.*\.(appcache|manifest)) | |
mime_type: text/cache-manifest |
curl https://www.googleapis.com/urlshortener/v1/url \ | |
-H 'Content-Type: application/json' \ | |
-d '{"longUrl": "http://www.google.com/"}' |