Skip to content

Instantly share code, notes, and snippets.

@pdp7
pdp7 / camera_control.coffee.diff
Last active August 29, 2015 14:25
geocahe: changes to shmile/lib/camera_control.coffee
diff --git a/app.coffee b/app.coffee
index 3138226..63e5333 100644
--- a/app.coffee
+++ b/app.coffee
@@ -47,7 +47,7 @@ camera.on "photo_saved", (filename, path, web_url) ->
State.image_src_list.push path
io = require("socket.io").listen(web)
-web.listen 3000
+web.listen 3001
@pdp7
pdp7 / gist:774e7bad091a862e8474
Last active August 29, 2015 14:24
beaglebone black camera and bb-view
debian@beaglebone:~$ sudo apt-get install python-pip
Reading package lists... Done
debian@beaglebone:~$ sudo pip install Pillow
debian@beaglebone:~$ sudo apt-get install python-imaging-tk
debian@beaglebone:~$ sudo apt-get install feh
feh -F file.jpg
#include <stdio.h>
#include <conio.h>
int sOcc(char *ptr, char specialChar);
main(){
char myArray[80], search, *ptr;
int cnt=0;
printf(" Please enter a phrase... ");
gets(myArray);