Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Artur Bańkowski abankowski

I may be slow to respond.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am abankowski on github.
  • I am abankowski ( on keybase.
  • I have a public key ASBVrbJjIVODHZhjvZBSdSRA5MgyXLG4YIWCD4mJJU-0rwo

To claim this, I am signing this object:

abankowski / md
Created Sep 6, 2017
elastic4s aliases
View md
Does not work.
abankowski / DisplaImage.cpp
Created Sep 13, 2016
code for testing opencv
View DisplaImage.cpp
#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main(int argc, char** argv )
View gist:72fae350207fe0acd960dd29d5aed143
odroid@odroid:~/projects/cam-1$ ./DisplayImage
** (DisplayImage:28124): CRITICAL **: gst_vaapi_video_context_get_display: assertion 'GST_IS_CONTEXT (context)' failed
(DisplayImage:28124): GStreamer-CRITICAL **: gst_context_get_context_type: assertion 'GST_IS_CONTEXT (context)' failed
(DisplayImage:28124): GStreamer-CRITICAL **: gst_mini_object_ref: assertion 'mini_object != NULL' failed
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/arm-linux-gnueabihf/dri/
View vulgar-fraction-sample.scala
import scala.annotation.tailrec
case class VulgarFraction(counter: Int, denominator: Int) {
def toFloat = counter.toFloat / denominator
def toInt = counter / denominator
override def toString() = counter + "/" + denominator
You can’t perform that action at this time.