Skip to content

Instantly share code, notes, and snippets.

View hramrach's full-sized avatar

Michal Suchánek hramrach

  • kernel developer @SUSE
  • Prague
View GitHub Profile
@hramrach
hramrach / heimdall.log
Last active August 20, 2017 08:41
heimdall log j510F
Heimdall v1.4.1
Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
require 'dbus'
class Exception
def pp
STDERR.puts self.inspect
self.backtrace.each{|l|
STDERR.puts " " + l
}
end
end
CFLAGS=-Wall $(shell pkg-config --cflags eldbus ecore eina)
LDFLAGS=$(shell pkg-config --libs eldbus ecore eina)
all: bttest
./bttest
.PHONY: all
@hramrach
hramrach / test.c
Created March 15, 2012 16:38
libtree test
#define _XOPEN_SOURCE
#include <libtree.h>
#include <search.h>
#include <stdlib.h>
#include <limits.h>
#include <string.h>
#include <assert.h>
#include <stdio.h>
#define NITEMS 1024