Skip to content

Instantly share code, notes, and snippets.

Timur Kristóf Venemo

  • Budapest, Hungary
Block or report user

Report or block Venemo

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
Venemo /
Last active Oct 30, 2019
How to build and use mesa from source

Building mesa

Let's assume that you are using an x86_64 system.

Install dependencies

dnf install meson ninja-build cmake bison flex libvdpau-devel.x86_64 libvdpau-devel.i686 llvm-devel.x86_64 llvm-devel.i686 elfutils-libelf-devel.x86_64 elfutils-libelf-devel.i686 libva-devel.x86_64 libva-devel.i686 libomxil-bellagio-devel.x86_64 libomxil-bellagio-devel.i686 bison-devel.x86_64 bison-devel.i686 valgrind-devel.x86_64 valgrind-devel.i686 flex-devel.x86_64 flex-devel.i686 wayland-devel.x86_64 wayland-devel.i686 wayland-protocols-devel libxshmfence-devel.x86_64 libxshmfence-devel.i686 lm_sensors-devel.x86_64 lm_sensors-devel.i686 zlib-devel.x86_64 zlib-devel.i686 pkgconf-pkg-config.x86_64 pkgconf-pkg-config.i686 expat-devel.x86_64 expat-devel.i686 glib-devel.x86_64 glib-devel.i686 glibc-devel.x86_64 glibc-devel.i686 libdrm-devel.x86_64 libdrm-devel.i686 libX*-devel.x86_64 libX*-devel.i686 libunwind-devel.x86_64 libxcb-devel.x86_64 libxcb-devel.i686 binutils-devel.x86_64 libstdc++-static.x86_64 multilib-
View contiguous array
* Collection that stores the number of elements and the actual elements
* in a contiguous chunk of memory, making it ideal for a number of use cases.
template<typename T>
class Array final {
bool ownsData;
void *data;
Venemo / fileserver.js
Created Aug 1, 2014
Simple Node.js file server
View fileserver.js
// Very simple Node.js file server by Timur Kristóf
var http = require('http');
var url = require('url');
var fs = require('fs');
var mime = require('mime');
// Figure out port number
You can’t perform that action at this time.