Skip to content

Instantly share code, notes, and snippets.

Miguel Ibero miguelibero

View GitHub Profile
View joint_mem.h
#ifndef _joint_mem_hpp_
#define _joint_mem_hpp_
#include <memory>
#include <cstdint>
typedef uint8_t joint_mem_unit;
template<typename Alloc = std::allocator<joint_mem_unit>>
class joint_mem_alloc
@miguelibero
miguelibero / gist:2043782
Created Mar 15, 2012
Android LayoutInflater.Factory to overwrite menu item style
View gist:2043782
package org.santamonica.module;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.lang.reflect.Method;
import org.santamonica.R;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
You can’t perform that action at this time.