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
@bilderbuchi
bilderbuchi / github_tools.py
Last active December 20, 2015 08:19
Issue tracker raw code. not very userfriendly.
"""
A set of small helper functions for interacting with Github repositories
(primarily openFrameworks) via PyGithub.
"""
import webbrowser, os, inspect
from github import Github
def get_repo(user='openframeworks', repo='openFrameworks',
token='Github_token.txt', timeout=20):
@bilderbuchi
bilderbuchi / merge_PRs_since_074.md
Last active December 19, 2015 15:29
Merged PRs since 0.7.4 release
  • Nr 2211 by ofTheo : Bugfix glfw fullscreen fix
  • Nr 2200 by julapy : ios external display mirror mode is now default
  • Nr 2198 by ofTheo : bugfix GLFW delete/backspace/return keys were not coming in. also ctrl-click alt-click were not coming in as left right click. closes #2197
  • Nr 2193 by tgfrerer : Fix rpi compilation issues
  • Nr 2192 by ofTheo : Bugfix glfw fixes - work in progress.
  • Nr 2188 by tgfrerer : rename programmable GL shader attributes
  • Nr 2187 by admsyn : AVFoundation API for iOS Audio Sessions
  • [Nr 2182](https
@bilderbuchi
bilderbuchi / OF-examples-.cproject
Created February 28, 2013 10:31
OF Eclipse allExamples project
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.105645087">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.105645087" moduleId="org.eclipse.cdt.core.settings" name="Default">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
@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.
@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 / 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 / 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 / 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 / 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