Skip to content

Instantly share code, notes, and snippets.

View ZoomQuiet's full-sized avatar
🖖
Sayeahooo

Zoom.Quiet ZoomQuiet

🖖
Sayeahooo
View GitHub Profile
@ZoomQuiet
ZoomQuiet / gist:98f154bfc5dc149f04b2c6b383a8a2e6
Created June 22, 2017 20:28
QtGui error dump for Leo 5.4
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
@ZoomQuiet
ZoomQuiet / gist:dfcab1c0ec82cffe2e9c
Created January 25, 2016 06:44 — forked from jpanganiban/gist:3844261
Pygame + OpenCV Real-time Face Detection
#!/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 = ""
@ZoomQuiet
ZoomQuiet / README.md
Last active August 29, 2015 14:24 — forked from wickman/README.md

Python development using Pants

brian wickman - @wickman

[TOC]

Why use Pants for Python development?

Pants makes the manipulation and distribution of hermetically sealed Python environments

@ZoomQuiet
ZoomQuiet / app.yaml
Last active August 29, 2015 14:06 — forked from darktable/app.yaml
application: you-app-name-here
version: 1
runtime: python
api_version: 1
default_expiration: "30d"
handlers:
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest
@ZoomQuiet
ZoomQuiet / aim curl action
Created August 11, 2014 10:13
openresty cosocket for googleapis.com/urlshortener/v1/url
curl https://www.googleapis.com/urlshortener/v1/url \
-H 'Content-Type: application/json' \
-d '{"longUrl": "http://www.google.com/"}'