test1
test2

Spectacular VR for Nexus 5
By Ilya Titov

This is a quick and easy 3D print that turns a Nexus 5 phone into a VR device, inspired by google cardboard. DIY: STL files on Thingiverse 2x M3 bolts and nuts are required, or just use cable ties. 2x 28mm bi-convex lenses (The lenses can be ordered on ebay for a couple of pounds)

Printing with Cairo GTK3 and python
By Oliver Marks

Example demonstrating how to draw a graphic and position it on a page for printing complete with preview and printer settings dialog.

Attiny85 Game Kit Assembly Instructions
By Ilya Titov

I have updated the Attiny85 keychain game making it easier to source and assemble. The new snap case has been updated to allow enough height for the screen header as well as a factory made CR2032 battery holder. The buttons have been concealed to prevent spontaneous button presses inside bags and pockets. Below is a … Continue reading Attiny85 Game Kit Assembly Instructions

Class for generating a grid to position and size windows
By Oliver Marks

This is a helper class to split an area up into increasingly smaller areas.

Attiny85 UFO Escape Keychain Game
By Ilya Titov

UPDATE: assembly instructions I finally had some free time to make something fun and decided to write a new game for the Attiny85 ssd1306 keychain.  I reused the sleep, display and interrupts code from the “Breakout” game I created a while ago. This time I wanted a more addictive game. The game had to be … Continue reading Attiny85 UFO Escape Keychain Game

XCB loading and displaying images
By Oliver Marks

Helper class which will load in a png and convert it ready for display in a X window.

Attiny85 Charlieplexed Makerbot Snow Shades
By Ilya Titov

I decided to light up the Snow Shades by MakerBot for a party using an Attiny and some LEDs. I mocked up LED position and animation: Then worked out the wiring using the Attiny’s 5 pins. Modified the model in Blender to allow space for the microchip and LEDs. Model files on Thingiverse. Using strands … Continue reading Attiny85 Charlieplexed Makerbot Snow Shades

XCB utility method for examing available methods
By Oliver Marks

Simple extended dir function for inspecting xcb.

Review of "Effective Python"
By Oliver Marks

Short review of "Effective Python"

Loading CSV markers data into Google Maps API
By Ilya Titov

Here is a nifty solution designed to populate a google map with geo location markers and infowindow popup boxes. Please enable iframes to view the content First you’ll need to get a Google Maps API developer key. Then we need to prep the data — we need a csv table with a title, content, latitude … Continue reading Loading CSV markers data into Google Maps API

Handling X keyboard events
By Oliver Marks

Example demonstrating handling X keybaord events.

Blue Screen of Death Caused by Wacom Driver
By Ilya Titov

So if you get a blue screen of death when using a Wacom Intuos Pro tablet on your desktop, the Wacom driver may be to blame. The error message reads DRIVER_POWER_STATE_FAILURE 0x0000009f In my case the issue was preceeded by the tablet switching off when I plugged the usb cable in. To fix the issue, … Continue reading Blue Screen of Death Caused by Wacom Driver

Handling X mouse events
By Oliver Marks

Example demonstrating handling X mouse events.

Creating a simple window
By Oliver Marks

Example on creating new window and attaching them to the root window.

Querying display information
By Oliver Marks

Example on detecting screen sizes and number of screens in a multi head setup.

Review of "App Accomplished"
By Oliver Marks

Short review of "App Accomplished"

Querying Extensions
By Oliver Marks

Query available extensions and checking for availability.

Debugging with XCB
By Oliver Marks

Debugging XCB and catching errors and exploring the library.

Using properties and atoms
By Oliver Marks

This example shows how to get properties and use atoms.

Retrieving window details
By Oliver Marks

Howto get a list of open windows and there titles.

Generating a debian package
By Oliver Marks

Using launchpad we will create a ppa which will automatically generate your package from the standard debian packaging files.

Create a new login greeter entry
By Oliver Marks

Populate a listbox with custom widgets, in this case an example file downloader.

Create your project repository
By Oliver Marks

Howto create a new project and push it to launchpad.