Skip to content

Instantly share code, notes, and snippets.

Martin Blasko MartinBspheroid

Block or report user

Report or block MartinBspheroid

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View complete error dump
This file has been truncated, but you can view the full file.
2001 silly gunzTarPerm modified mode [ 'node_modules/node-pre-gyp/node_modules/tar/lib/extended-header-writer.js',
2001 silly gunzTarPerm 420,
2001 silly gunzTarPerm 438 ]
2002 silly gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar/lib/extended-header.js
2003 silly gunzTarPerm modified mode [ 'node_modules/node-pre-gyp/node_modules/tar/lib/extended-header.js',
2003 silly gunzTarPerm 420,
2003 silly gunzTarPerm 438 ]
2004 silly gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar/lib/extract.js
2005 silly gunzTarPerm modified mode [ 'node_modules/node-pre-gyp/node_modules/tar/lib/extract.js',
MartinBspheroid / errors
Last active Feb 18, 2017
npm i serialport on windows
View errors
PS C:\Dev\_jsPrototypes\serialPort> npm i serialport --save
> serialport@4.0.7 install C:\Dev\_jsPrototypes\serialPort\node_modules\serialport
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: Unsupported target version: 0.18.5
node-pre-gyp ERR! stack at get_runtime_abi (C:\Dev\_jsPrototypes\serialPort\node_modules\serialport\node_modules\nod
node-pre-gyp ERR! stack at Object.module.exports.evaluate (C:\Dev\_jsPrototypes\serialPort\node_modules\serialport\n
View autoreload.pde
long lastTime = 0;
File f;
String[] data;
void setup() {
f = new File("e:/test.txt");
void draw() {
View autoreload.pde
long lastTime = 0;
File f;
String[] data;
void setup() {
f = new File("e:/test.txt");
void draw() {
View setupReciever.cpp
void OSC_TestApp::setupReciever(int portNum)
if (mReciever)
mReciever = make_unique<osc::ReceiverUdp>(portNum);
} else
MartinBspheroid / BullDog
Last active Aug 29, 2015
minimal autoreloading in Cinder it's called BullDog, LOL!!!!
View BullDog
/// minimal autoreloading in cinder
/// it's called BullDog, LOL!!!!
struct wFile
time_t time;
fs::path path;
std::function<void()> callback;
wFile(time_t t, fs::path p, std::function<void()> c) {
time = t;
path = p;
MartinBspheroid / ciAngel_Bind_StdVector.h
Created Apr 8, 2014
std::vector bindings for AngelScript
View ciAngel_Bind_StdVector.h
std::vector binding library for AngelScript
Copyright (c) 2004 Anthony "JM" Casteel
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and
View gist:9920572
double PI = 4.0 * atan(1.0); // precise PI calculation
MartinBspheroid / gist:9900219
Created Mar 31, 2014
FMOD waveforms in Cinder
View gist:9900219
void Player::getWaveformPreview(vector <Vec2f> &preview, unsigned int size){
if (size == 0)
peak = 0;
void *waveData;
void *pointer2;
View gist:9742374
#include "cinder/app/AppNative.h"
#include "cinder/gl/gl.h"
#include "cinder\Capture.h"
#include "cinder\Surface.h"
#include "cinder/gl/Texture.h"
#include "cinder/MayaCamUI.h"
#include "cinder/Camera.h"
#include "cinder\Utilities.h"
#include "cinder/params/Params.h"
#include "cinder/ip/EdgeDetect.h"
You can’t perform that action at this time.