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 / Keybase proof zoomquiet.md
Created September 21, 2017 09:17
Keybase proof zoomquiet

Keybase proof

I hereby claim:

  • I am zoomquiet on github.
  • I am zoomquiet (https://keybase.io/zoomquiet) on keybase.
  • I have a public key whose fingerprint is 76C7 C4B5 7EAC 2F88 8DD3 0D33 7D2A 56E7 AF6B 4916

To claim this, I am signing this object:

@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
@ZoomQuiet
ZoomQuiet / fabfile.py
Last active January 4, 2016 16:09
Fabric for QPython auto upload/running script/collect log etc... from local through SSH
from fabric.api import local, env, run
#import os
env.shell = "/system/bin/sh -c"
# Local path configuration (can be absolute or relative to fabfile)
#
# Remote server configuration
PY = '/data/data/com.hipipal.qpyplus/files/bin/python'
PYQ = 'root@192.168.0.100'
env.hosts= [PYQ]
env.user = "root"
@ZoomQuiet
ZoomQuiet / gen_qpy_env.py
Last active January 4, 2016 15:39
generating env for QPython can running as native Python in Android mobile !
#qpy:console
'''for QPy can usage normal system python , gen. all need Adnorid /etc/profile
usage:
- upload this script into mobile
- normal in /storage/sdcard0/com.hipipal.qpyplus/projects/YouProject
- call in QPython "My QPython->projects->YouProject->gen_qpy_env.py"
config as default env:
# mount -o remount,rw /dev/block/mtdblock3 /system
@ZoomQuiet
ZoomQuiet / fabfile.py
Created January 27, 2014 02:07
Fabric for QPython auto play
from fabric.api import local, env, run
env.shell = "/system/bin/sh -c"
# Local path configuration (can be absolute or relative to fabfile)
## Remote server configuration
PY = '/data/data/com.hipipal.qpyplus/files/bin/python'
PYQ = 'root@192.168.0.100'
env.hosts= [PYQ]
env.user = "root"
PYQ_ROOT = '/storage/sdcard0/com.hipipal.qpyplus/projects'
PROJ_NAME = 'chaos'