Skip to content

Instantly share code, notes, and snippets.


Dario Longobardi kashimAstro

View GitHub Profile
View variables_gone.txt
- 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
View methods_gone.txt
- 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_
View new_methods.txt
- 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
kylemcdonald / ofMatrix4x4-vs-glm.cpp
Created Mar 30, 2018
ofMatrix4x4 compared to glm::mat4.
View ofMatrix4x4-vs-glm.cpp
#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));
jvcleave / Cross compiler for RPi, Jessie, openFrameworks 0.9
Last active Oct 25, 2016
Instructions for building a Jessie VM to cross-compile openFrameworks 0.9 applications for the Raspberry Pi 1 (arm6)
View Cross compiler for RPi, Jessie, openFrameworks 0.9
#ON THE RPI (if you haven't downloaded openFrameworks)
curl -O
mkdir openFrameworks
tar vxfz of_v20151008_linuxarmv6l_nightly.tar.gz -C openFrameworks --strip-components 1
cd /home/pi/openFrameworks/scripts/linux/debian
sudo ./
u0d7i / disable_vim_auto_visual_on_mouse.txt
Last active Nov 25, 2020
Disable vim automatic visual mode on mouse select
View disable_vim_auto_visual_on_mouse.txt
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
You can’t perform that action at this time.