Category Archive: programming

Feb 17

A script to scrape PDFs from a page using Python+Mechanize

A friend asked me for a way to download all the PDFs from a page, and I made this simple script with Python and Mechanize. It's very straightforward... It does hack the user agent, which is not nice. So use at your discretion.

Share

Oct 17

Structure-from-Motion Toy Lib Upgrades to OpenCV 3

sfm toy lib

The toy SfM library is upgraded to OpenCV 3.x and gets a ton of simplifications.

Share

Apr 24

WTH OpenGL 4? Rendering elements arrays with VAOs and VBOs in a QGLWidget

Simple example usage of OpenGL 4 and vertex array / vertex buffer rendering in a Qt QGLWidget.

Share

Mar 04

[Python] OpenCV capturing from a v4l2 device

A python snippet on capturing from a v4l2 camera into OpenCV

Share

Mar 02

OpenCV Python YAML persistance

A python snippet for saving OpenCV FileStorage-compatible YAML files

Share

Feb 20

Simple Loading Spinner Tapestry 5 Mixin w/ spin.js

A simple loading spinner mixin for Apache Tapestry 5

Share

Jan 28

Adding radial labels to Dimple.JS pie chart

Add radial labels to a dimple.js pie chart using D3.js

Share

Jan 27

Bootstrap3 fluid container with custom width sidebar

A simple way to get a custom size side bar alongside a Bootstrap3 container-fluid.

Share

Jan 15

YUYV to JPEG conversion with libjpeg

A cpp code snippet for converting YUYV to JPEG using libjpeg.

Share

May 08

Quickly: How to render a PDF to an image in C++?

How to render a PDF to an image in C++ using Poppler

Share

Older posts «