This file contains 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
#include <iostream> | |
#include <cassert> | |
#include <iomanip> | |
#include <fstream> | |
#include "single_include/nlohmann/json.hpp" | |
using namespace std; | |
using json = nlohmann::json; | |
// add snippnets here. |
This file contains 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
- channel from ofLog | |
- padding from ofLog | |
- nanosThen from ofFpsCounter | |
- secsThen from ofFpsCounter | |
- _mutexBlocks from ofThread | |
- _threadRunning from ofThread | |
- threadBeingWaitedFor from ofThread | |
- prevValue from ofParameter::Value | |
- document from ofXml | |
- element from ofXml |
This file contains 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
- ofBuffer(const string &text) from ofBuffer | |
- void setReadOnly(bool readable=true) from ofFile | |
- void setReadOnly(bool readable=true) from ofDirectory | |
- ~ofThread() from ofThread | |
- Poco::Thread * getCurrentPocoThread() from ofThread | |
- Poco::Thread & getPocoThread() from ofThread | |
- const Poco::Thread & getPocoThread() from ofThread | |
- bool isMainThread() from ofThread | |
- ostream & operator<<(size_t n) from ofColor_ | |
- istream & operator>>(size_t n) from ofColor_ |
This file contains 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
- RLine(vector< char >::reverse_iterator _begin, vector< char >::reverse_iterator _end) to ofBuffer::RLine | |
- const string & operator*() to ofBuffer::RLine | |
- const string * operator->() to ofBuffer::RLine | |
- const string & asString() to ofBuffer::RLine | |
- ofBuffer::RLine & operator++() to ofBuffer::RLine | |
- ofBuffer::RLine operator++(int ) to ofBuffer::RLine | |
- bool operator!=(const ofBuffer::RLine &rhs) to ofBuffer::RLine | |
- bool operator==(const ofBuffer::RLine &rhs) to ofBuffer::RLine | |
- bool empty() to ofBuffer::RLine | |
- ofBuffer::RLine rbegin() to ofBuffer::Lines |
This file contains 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
#include "ofMain.h" | |
int main() { | |
// both initialize to identity matrix | |
cout << glm::mat4() << endl; | |
cout << ofMatrix4x4() << endl; | |
// both row-major (translation stored in mat[3][0,1,2]) | |
glm::mat4 glmMat; | |
glmMat = glm::translate(glmMat, glm::vec3(1,2,3)); |
This file contains 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
#ON THE RPI (if you haven't downloaded openFrameworks) | |
cd | |
curl -O http://192.237.185.151/versions/nightly/of_v20151008_linuxarmv6l_nightly.tar.gz | |
mkdir openFrameworks | |
tar vxfz of_v20151008_linuxarmv6l_nightly.tar.gz -C openFrameworks --strip-components 1 | |
cd /home/pi/openFrameworks/scripts/linux/debian | |
sudo ./install_dependencies.sh | |
#INSTALL SMB WITH / ACCESS |
This file contains 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
Disable vim automatic visual mode on mouse select | |
issue: :set mouse-=a | |
add to ~/.vimrc: set mouse-=a | |
my ~/.vimrc for preserving global defaults and only changing one option: | |
source $VIMRUNTIME/defaults.vim | |
set mouse-=a |