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
Venemo / mesa-howto.md
Last active Jun 17, 2019
How to build and use mesa from source
View mesa-howto.md

Building mesa

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

64-bit build

We're assuming that your distro uses lib64 for the 64-bit libraries. If not, adjust the meson command below. The compiled libraries will go into ~/mesa for the sake of simplicity.

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 {
private:
bool ownsData;
void *data;
@Venemo
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.