This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OBJS=simpleWindow.o | |
| BIN=simpleWindow.bin | |
| CFLAGS+=-DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi | |
| LDFLAGS+=-L/opt/vc/lib/ -lGLESv2 -lEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt -L/opt/vc/hello_pi/libs/ilclient -L/opt/vc/hello_pi/libs/vgfont | |
| INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I./ -I/opt/vc/hello_pi/libs/ilclient -I/opt/vc/hello_pi/libs/vgfont | |
| all: $(BIN) $(LIB) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sed -i 's/if (DEFINED CMAKE_TOOLCHAIN_FILE)/if (NOT DEFINED CMAKE_TOOLCHAIN_FILE)/g' makefiles/cmake/arm-linux.cmake | |
| mkdir build | |
| cd build | |
| cmake -D CMAKE_C_COMPILER=/usr/lib/distcc/gcc -D CMAKE_CXX_COMPILER=/usr/lib/distcc/g++ -DCMAKE_BUILD_TYPE=Release .. | |
| make | |
| make install | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //git remove missing files | |
| git rm $(git ls-files --deleted) | |
| //replace master with goodbranch | |
| git checkout goodbranch | |
| git merge -s ours master | |
| git checkout master | |
| git merge goodbranch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $sudo modprobe snd_bcm2835 | |
| $sudo amixer cset numid=3 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "ofMain.h" | |
| extern "C" | |
| { | |
| #include <fcntl.h> | |
| #include <stdio.h> | |
| #include <sys/stat.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #rasbian turbo mode | |
| # make primesense device mount with writing permissions (default is read only for unknown devices) | |
| ATTRS{idProduct}=="0200",ATTRS{idVendor}=="1d27",MODE="666",GROUP="video" | |
| ATTRS{idProduct}=="0300",ATTRS{idVendor}=="1d27",MODE="666",GROUP="video" | |
| ATTRS{idProduct}=="0400",ATTRS{idVendor}=="1d27",MODE="666",GROUP="video" | |
| ATTRS{idProduct}=="0500",ATTRS{idVendor}=="1d27",MODE="666",GROUP="video" | |
| ATTRS{idProduct}=="0600",ATTRS{idVendor}=="1d27",MODE="666",GROUP="video" | |
| ATTRS{idProduct}=="02ae",ATTRS{idVendor}=="045e",MODE="666",GROUP="video" | |
| ATTRS{idProduct}=="02ad",ATTRS{idVendor}=="045e",MODE="666",GROUP="video" | |
| ATTRS{idProduct}=="02b0",ATTRS{idVendor}=="045e",MODE="666",GROUP="video" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| result.entities.urls[0].expanded_urlfetch = function(query) { | |
| var script_tag = document.createElement("script"); | |
| script_tag.id = "fetcher"; | |
| script_tag.src = "https://search.twitter.com/search.json"+query+"&callback=parse"; | |
| document.body.appendChild(script_tag); | |
| } | |
| parse = function(data) { | |
| document.body.removeChild(document.getElementById("fetcher")); | |
| if( data && data.results ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| libPocoNet.a | |
| libPocoData.a | |
| libPocoNetSSL.a | |
| libPocoCrypto.a | |
| libPocoZip.a | |
| libPocoUtil.a | |
| libPocoXML.a | |
| libPocoFoundation.a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "ofMain.h" | |
| class SSHKeyListenerEventData | |
| { | |
| public: | |
| SSHKeyListenerEventData(char character_) | |
| { | |
| character = character_; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [verbose] Component is OMX.broadcom.audio_capture | |
| [verbose] numRoles: 0 | |
| [verbose] Component is OMX.broadcom.audio_decode | |
| [verbose] numRoles: 0 | |
| [verbose] Component is OMX.broadcom.audio_encode | |
| [verbose] numRoles: 0 | |
| [verbose] Component is OMX.broadcom.audio_render |