Skip to content

Instantly share code, notes, and snippets.

View brmarkus's full-sized avatar

markusbr brmarkus

  • Freelancer
View GitHub Profile
@sffc
sffc / icu_unicodestring_prettyprinter.py
Last active September 22, 2024 14:19
A GDB pretty-printer for ICU4C UnicodeStrings
# To autoload this file into GDB, put the following line in ~/.gdbinit:
#
# python execfile("/path/to/icu_unicodestring_prettyprinter.py")
#
# You can also run that line of code in the GDB console without adding it to ~/.gdbinit.
from __future__ import print_function
from array import array
import re
@yoggy
yoggy / PerspectiveTransformGPUSample_main.cpp
Created August 3, 2012 09:27
How to use cv::warpPerspective() for image transform...(CPU & GPU)
#pragma once
#include <SDKDDKVer.h>
#include <Windows.h>
#include <stdio.h>
#include <iostream>
// for OpenCV2
#include <opencv2/gpu/gpu.hpp>
#include <opencv2/imgproc/imgproc.hpp>