Skip to content

Instantly share code, notes, and snippets.

Avatar

Gabor Papp gaborpapp

View GitHub Profile
@gaborpapp
gaborpapp / cinder-android-video.patch
Last active Jun 19, 2019
Cinder Android Movie playing from file
View cinder-android-video.patch
diff --git a/proj/android/libcinder_java/app/build.gradle b/proj/android/libcinder_java/app/build.gradle
index 8618c0e19..023d24131 100644
--- a/proj/android/libcinder_java/app/build.gradle
+++ b/proj/android/libcinder_java/app/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 21
- buildToolsVersion "21.1.2"
+ buildToolsVersion "28.0.3"
View keybase.md

Keybase proof

I hereby claim:

  • I am gaborpapp on github.
  • I am gaborpapp (https://keybase.io/gaborpapp) on keybase.
  • I have a public key ASDoN81urceC-EOHCm5e5oN9fa899CPik3_yp1oexC3dAwo

To claim this, I am signing this object:

View DelaySquareSpiral.pde
// Variation of "A trick to get looping curves with lerp and delay" tutorial
// by Étienne Jacob
// https://twitter.com/n_disorder
// https://necessarydisorder.wordpress.com/2018/03/31/a-trick-to-get-looping-curves-with-lerp-and-delay/
int numFrames = 100;
void setup()
{
size(800,800,P3D);
@gaborpapp
gaborpapp / checkout4evr.sh
Created Jun 15, 2017
Script to solve "Error downloading object... smudge filter lfs failed" git error
View checkout4evr.sh
#!/bin/bash
ret=1
while [ $ret -ne 0 ]; do
git checkout -f HEAD
ret=$?
done
@gaborpapp
gaborpapp / cl-norgb.log
Created Jan 23, 2017
libfreenect2 logfiles for issue #783
View cl-norgb.log
[Info] [OpenCLDepthPacketProcessorImpl] devices:
[Info] [OpenCLDepthPacketProcessorImpl] 0: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (CPU)[Intel]
[Info] [OpenCLDepthPacketProcessorImpl] 1: Iris Pro (GPU)[Intel]
[Info] [OpenCLDepthPacketProcessorImpl] 2: GeForce GT 750M (GPU)[NVIDIA]
[Info] [OpenCLDepthPacketProcessorImpl] selected device: GeForce GT 750M (GPU)[NVIDIA]
[Info] [OpenCLDepthPacketProcessorImpl] building OpenCL program...
[Info] [OpenCLDepthPacketProcessorImpl] OpenCL program built successfully
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 7 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @20:17 with serial ...
@gaborpapp
gaborpapp / chrome console.log
Last active Dec 4, 2016
lightness build errors
View chrome console.log
bundle.js?v=0:1 ChristmasXP💥❄️
🎅Oh Oh Oh!🎄
2.bundle.js:1 travel to : Experiments
vendors.js:150 THREE.WebGLRenderer 82
vendors.js:74 THREE.WebGLProgram: gl.getProgramInfoLog() WARNING: Output of vertex shader 'uvs' not read by fragment shader
rf @ vendors.js:74
2vendors.js:58 THREE.WebGLShader: Shader couldn't compile.se @ vendors.js:58
vendors.js:74 THREE.WebGLProgram: shader error: 0 gl.VALIDATE_STATUS false gl.getProgramInfoLog rf @ vendors.js:74
vendors.js:137 WebGL: INVALID_OPERATION: useProgram: program not validt @ vendors.js:137
@gaborpapp
gaborpapp / AccentTestApp.cpp
Last active Sep 19, 2016
Cinder linux accent test
View AccentTestApp.cpp
#include "cinder/Font.h"
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class AccentTestApp : public App
View gist:64d49677d468bba0d4c7a4b21f9fad82
In file included from cinder_linux/blocks/Cinder-SdfText/src/cinder/gl/SdfText.cpp:59:
In file included from cinder_linux/include/boost/algorithm/string.hpp:19:
In file included from cinder_linux/include/boost/algorithm/string/trim.hpp:23:
In file included from cinder_linux/include/boost/algorithm/string/classification.hpp:18:
cinder_linux/include/boost/algorithm/string/detail/classification.hpp:45:73: error: implicit
instantiation of undefined template 'std::__1::ctype<char32_t>'
return std::use_facet< std::ctype<CharT> >(m_Locale).is( m_Type, Ch );
^
cinder_linux/include/boost/algorithm/string/detail/trim.hpp:53:27: note: in instantiation of
function template specialization 'boost::algorithm::detail::is_classifiedF::operator()<char32_t>' requested here
View TwoWinParams.cpp
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/params/Params.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class TwoWinParams : public App
@gaborpapp
gaborpapp / CMakelists.txt
Created Mar 29, 2016
ContextSharingTestApp
View CMakelists.txt
# ContextSharingTestApp
cmake_minimum_required( VERSION 2.8 FATAL_ERROR )
set( CMAKE_VERBOSE_MAKEFILE on )
get_filename_component( CINDER_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../.." ABSOLUTE )
include( ${CINDER_DIR}/linux/cmake/Cinder.cmake )
project( ContextSharingTest )
get_filename_component( SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../src" ABSOLUTE )
You can’t perform that action at this time.