actionshrimp.com

fun and geekery

Speech Bubble Popups containing a View for Android MapView

I’ve recently been playing around with Android, and have been building a small app that uses MapView to display various locations on the map. I succeeded in drawing markers on the MapView using ItemizedOverlay, but was having a fair bit of difficulty drawing little bubble popups that appeared when you tapped on the OverlayItems (which [...]

Vim XPath Plugin

I’ve built a plugin that adds XPath search functionality to Vim. Check out the demo video below. Features: Quick XPath search input with smart, context-sensitive tab completion Results shown in a pop-up results window. Jump to the line of a matching result easily. Debug invalid XML – jump to the the line number of an [...]

Streaming Spotify to a PS3 from Ubuntu

A post came up a couple of days ago on the Spotify “What’s new” feed: how to stream spotify wirelessly to your stereo, which got me thinking about something I’ve been after for a while – the ability to stream spotify audio to PS3. This is mentioned in the link, but the main method they [...]

CakePHP: PagesController with Admin Routing

For small Cake websites with admin routing enabled, I like to use the Auth component to require a login for all admin routes, and allow access to everything else using the following beforeFilter in the AppController superclass: function beforeFilter(){ $admin = Configure::read('Routing.admin'); if (isset($this->params[$admin]) and $this->params[$admin]){ $this->layout = 'admin'; } else { $this->Auth->allow(); } } [...]

CakePHP Tutorial Part 2: Authentication and Tweaking

In the first part of my CakePHP tutorial, I showed you how to use Cake’s Bake utility to set up the basic back end of an online illustration portfolio. In this part, I’ll tweak the automatically generated code into useable website and admin section and show you how to use some of Cake’s features along [...]

CakePHP Tutorial Part 1: Bake Utility

A friend of mine recently asked me to help him build an online portfolio for his illustration pieces, and I decided to use CakePHP 1.2 to get the back end up and running quickly. I thought someone might find a tutorial taking a simple website through from start to finish useful, so this tutorial series [...]

Using Lightbox with Apache directory listings as an image gallery

As you may know, if it can’t find an index.html the apache web server will show a list of files in the current directory. I was browsing through lists of images on my file server the other day and I thought, wouldn’t it be nice to have a next button? So I started digging around. [...]

Installing awesome Window Manager on Ubuntu Intrepid

Quick Note: This post was originally published on 02/02/2009, so is probably a bit outdated now. Today I had a go at installing awesome window manager. awesome is a great tiling window manager, useful if you have a large monitor and are fed up with having one window taking up all the space when it [...]

Logitech QuickCam E2500 on Ubuntu Skype

I recently discovered the wonders of skype, and tried to get my new webcam working with it under linux, and of course this proved to be quite tricky. After much fiddling I eventually got it to work, hopefully these steps will work for you too.

jsvi and TiddlyWiki

Note: This is a bit out of date now, but Chris Peplin has built a proper plugin for tiddlywiki which does this for the latest versions of everything. So check it out! If you’re still interested in the old way then read on… When adding posts to my TiddlyWiki, I oft found myself craving vi, [...]

Next Page »