C/C++ Programming

Qt C++: Threaded Communication with Artema Hybrid on Linux

Communicating with an Artema Hybrid CC Payment device is actually deceptively simple. I’ve written an application what uses a webkit widget exclusively for the UI display, and so I hook into the Javascript to provide some extra functionality to the app, in this case, reading and writing to/from the Artema Hybrid device. The documentation that [...]

Tags: , , , ,

Posted in: c/C++, C/C++ Programming, Computer Science, Javascript Tutorials, Linux, OOP, Qt, Tips and Tricks, Topics, Tutorials | No Comments »

Deploy Ruby on Rails to the Desktop (Ubuntu), as a Debian Package

Introduction to deploying Rails Applications to the Desktop Some things you’ll learn in this series of articles: How to distribute a Rails App to an Ubuntu Desktop How to Compile a custom Ruby installation to avoid conflicting with an existing Ruby install Get automatic updates to all users for free by virtue of being a [...]

Posted in: C/C++ Programming, Computer Science, General Computing, Ruby on Rails, Tutorials, Writings | 1 Comment »

Qt C++ Screen Capture using BitBlt

So I got to thinking I wanted to be able to take abitrary screen captures based on some startx/starty -> endx/endy input. I found various sites showing how to do this, but most of them were pretty confusing. I thought I would post the final working code here. void RSystem::snap(int startx, int starty,int endx,int endy) [...]

Tags: , , ,

Posted in: c/C++, C/C++ Programming, Tips and Tricks, Topics, Tutorials | No Comments »

Powered by Wordpress. Design: Supermodne.