List of helpful shortcuts for faster coding
If you have any other helpful shortcuts, feel free to add in the comments of this gist :)
| package main | |
| import ( | |
| "bytes" | |
| "crypto/rand" | |
| "crypto/rsa" | |
| "crypto/x509" | |
| "encoding/base64" | |
| "encoding/pem" | |
| "errors" |
| #!/usr/bin/python | |
| import picamera | |
| import picamera.array | |
| import time | |
| threshold = 10 # How Much pixel changes | |
| sensitivity = 100 # How many pixels change | |
| def takeMotionImage(width, height): |