Skip to content

Instantly share code, notes, and snippets.

JohnHeroHD

Block or report user

Report or block JohnHeroHD

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
@JohnHeroHD
JohnHeroHD / buttonRecording.py
Last active Mar 9, 2016
Record audio while pressing a button with a GrovePi
View buttonRecording.py
import grovepi
import alsaaudio
import os
import wave
import time
from multiprocessing import Process
#setting up the grovepi sensors
button = 4 #grovepi D4
ledRed = 7 #grovepi D7
@JohnHeroHD
JohnHeroHD / generate-project-manager-cson.sh
Last active Nov 11, 2015
Project-Manager atom auto generate
View generate-project-manager-cson.sh
#======== Change the variables below to your personal situation =========#
$projectDir="/location/where/repos/are/stored"
$atomLocation="/home/username/.atom"
#========================================================================#
cd $projectDir
projects=($(ls -d */))
You can’t perform that action at this time.