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)
Example demonstrating how to draw a graphic and position it on a page for printing complete with preview and printer settings dialog.
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
This is a helper class to split an area up into increasingly smaller areas.
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
Helper class which will load in a png and convert it ready for display in a X window.
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
Simple extended dir function for inspecting xcb.
Short review of "Effective Python"
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
Example demonstrating handling X keybaord events.
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
Example demonstrating handling X mouse events.
Example on creating new window and attaching them to the root window.
Example on detecting screen sizes and number of screens in a multi head setup.
Short review of "App Accomplished"
Query available extensions and checking for availability.
Debugging XCB and catching errors and exploring the library.
This example shows how to get properties and use atoms.
Howto get a list of open windows and there titles.
Using launchpad we will create a ppa which will automatically generate your package from the standard debian packaging files.
Populate a listbox with custom widgets, in this case an example file downloader.
Howto create a new project and push it to launchpad.