Skip to content

Instantly share code, notes, and snippets.

Jack Barker jibbius

Block or report user

Report or block jibbius

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jibbius
jibbius / Axure-RemoveAnnotations-Bookmarklet
Last active Jun 1, 2016
Add to your browser as a bookmarklet; Causes annotations within Axure wireframes to be removed.
View Axure-RemoveAnnotations-Bookmarklet
javascript:(function(){var iframe=document.getElementById('mainFrame');if(iframe){ var innerDoc=iframe.contentDocument || iframe.contentWindow.document; }else{ var innerDoc=document; } var head=innerDoc.getElementsByTagName('head')[0];var link=innerDoc.createElement('link');link.rel='stylesheet';link.type='text/css';link.href='https://rawgithub.com/jibbius/AxureReannotate/master/src/css/removeAnnotations.css';link.media='all';head.appendChild(link);})();
@jibbius
jibbius / picamera_sleep_demo.py
Created Aug 8, 2017
How to add a delay between the button press, and PiCamera taking a photo, using sleep().
View picamera_sleep_demo.py
from time import sleep
import RPi.GPIO as GPIO
import picamera
#... etc.
# Refer related gists, for how to setup the camera ...etc.
#Wait for someone to push the button
while True:
@jibbius
jibbius / camera.py
Last active Apr 28, 2018
Attempt to add sound to photo booth
View camera.py
#!/usr/bin/env python
#Imports
import datetime
import os
from time import sleep
from PIL import Image
import RPi.GPIO as GPIO
import picamera
View simple-photo-booth.py
#!/usr/bin/env python
##################################
# Simple Raspberry Pi Photo Booth
##################################
# (for a more advanced photo booth, visit: https://github.com/jibbius/raspberry_pi_photo_booth)
#Imports
from time import sleep
import os, datetime, errno, picamera
You can’t perform that action at this time.