Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View bilderbuchi's full-sized avatar
💭
I may be slow to respond.

Christoph Buchner bilderbuchi

💭
I may be slow to respond.
View GitHub Profile
class ofColorHSVA{
public:
ofColorHSVA(){
h = 255;
s = 255;
v = 255;
a = 255;
}
virtual ~ofColorHSVA(){}
@bilderbuchi
bilderbuchi / shortlogns.after
Created May 16, 2012 13:35
Contributor log comparison of git shortlog -ns before/after .mailmap addition
1959 Arturo Castro
675 Theodore Watson
436 Kyle McDonald
262 Zachary Lieberman
166 Mehmet Akten
93 Lukasz Karluk
72 stefan
67 Todd Vanderlin
61 Jonathan Brodsky
60 Keith Pasko
@bilderbuchi
bilderbuchi / test-PP-at-current-level.cpp
Created August 22, 2012 10:21
tweaked OF code style
// Correct
#ifdef WIN32
#define IS_WIN32
#endif
#ifndef TARGET_LINUX
doSomething();
#define TARGET_LINUX
#endif
@bilderbuchi
bilderbuchi / style_all_the_things.log
Created August 26, 2012 11:44
Log of initial formatting pass
Style script for all of OF
Running styler on OF core
Styling file ../../../libs/openFrameworks/3d/of3dUtils.h
Styling file ../../../libs/openFrameworks/3d/ofCamera.h
Styling file ../../../libs/openFrameworks/3d/ofEasyCam.h
Styling file ../../../libs/openFrameworks/3d/ofMesh.h
Styling file ../../../libs/openFrameworks/3d/ofNode.h
@bilderbuchi
bilderbuchi / develop-cbwizard.diff
Created August 30, 2012 16:47
diff between current develop and merged PR #1245
diff --git a/dev-openFrameworks/examples/3d/modelNoiseExample/modelNoiseExample.cbp b/pierre-openFrameworks/examples/3d/modelNoiseExample/modelNoiseExample.cbp
index 4c960de..25bdf23 100644
--- a/dev-openFrameworks/examples/3d/modelNoiseExample/modelNoiseExample.cbp
+++ b/pierre-openFrameworks/examples/3d/modelNoiseExample/modelNoiseExample.cbp
@@ -144,12 +144,6 @@
<Unit filename="../../../addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.h">
<Option virtualFolder="addons/ofxAssimpModelLoader/src" />
</Unit>
- <Unit filename="../../../addons/ofxAssimpModelLoader/libs/assimp/include/Compiler/poppack1.h">
- <Option virtualFolder="addons/ofxAssimpModelLoader/libs/assimp/include/Compiler" />
@bilderbuchi
bilderbuchi / get_closed_issues_since_date.py
Created October 2, 2012 15:30
How to get issues closed since a certain date with PyGithub
# Get list of closed issues since a certain date
# Best pipe the results into a file and view with something tab-sensitive
from github import Github
import datetime
G = Github()
Repo=G.get_user('openframeworks').get_repo('openFrameworks')
Closed_Issues=Repo.get_issues(state='closed')
startdate=datetime.datetime(2012,5,28,0,0) # date of OF 0071 release
@bilderbuchi
bilderbuchi / gist:4638362
Created January 25, 2013 22:08
Examples-residual-warnings
Description Resource Path Location Type
narrowing conversion of '((ofxTCPManager*)this)->ofxTCPManager::m_dwTimeoutSend' from 'long unsigned int' to '__time_t {aka long int}' inside { } is ill-formed in C++11 [-Wnarrowing] ofxTCPManager.cpp /addons/ofxNetwork/src line 301 C/C++ Problem
narrowing conversion of '((ofxTCPManager*)this)->ofxTCPManager::m_dwTimeoutSend' from 'long unsigned int' to '__time_t {aka long int}' inside { } is ill-formed in C++11 [-Wnarrowing] ofxTCPManager.cpp /addons/ofxNetwork/src line 260 C/C++ Problem
narrowing conversion of '((ofxTCPManager*)this)->ofxTCPManager::m_dwTimeoutSend' from 'long unsigned int' to '__time_t {aka long int}' inside { } is ill-formed in C++11 [-Wnarrowing] ofxTCPManager.cpp /addons/ofxNetwork/src line 328 C/C++ Problem
missing braces around initializer for '__fd_mask [16] {aka long int [16]}' [-Wmissing-braces] ofxTCPManager.cpp /addons/ofxNetwork/src line 128 C/C++ Problem
narrowing conversion of '((ofxTCPManager*)this)->ofxTCPManager::m_dwTimeoutSend' fro
@bilderbuchi
bilderbuchi / Description
Created February 2, 2013 16:49
My first gist
## Code style Gist for [PR 1](https://github.com/bilderbuchi/openFrameworks/pull/1)
The `.patch` file below contains the necessary changes for making sure your PR conforms to the [OF code style](https://github.com/openframeworks/openFrameworks/wiki/oF-code-style).
### Usage
Download the patch file via the Download button on the left (to make sure all formatting is preserved). Apply the patch to the clean tip of your PR branch with `git apply --index --whitespace=nowarn <patchfile>`. The changes will land in your git staging area, ready to commit.
Before that, you can test if the patch succeeds with `git apply --index --whitespace=nowarn --check <patchfile>`
If you have problems, comment in the PR.
@bilderbuchi
bilderbuchi / Description
Created February 2, 2013 16:55
My first gist
## Code style Gist for [PR 1](https://github.com/bilderbuchi/openFrameworks/pull/1)
The `.patch` file below contains the necessary changes for making sure your PR conforms to the [OF code style](https://github.com/openframeworks/openFrameworks/wiki/oF-code-style).
### Usage
Download the patch file via the Download button on the left (to make sure all formatting is preserved). Apply the patch to the clean tip of your PR branch with `git apply --index --whitespace=nowarn <patchfile>`. The changes will land in your git staging area, ready to commit.
Before that, you can test if the patch succeeds with `git apply --index --whitespace=nowarn --check <patchfile>`
If you have problems, comment in the PR.