Dan Ward Follow me on Twitter View my LinkedIn profile Subscribe to my news feed   

A self-confessed geek and web developer

 

Blog entries for 2009

From time-to-time, I'll have a brainwave while trying to figure out something tech-oriented; well, either that or I just want to get something off my chest. Anyhow, if I get round to typing it up, it'll wind up here in the blog.

Blog categories

 

Archive

  • Dynamically creating and destroying an instance of TinyMCE with jQuery

    Created by dan on Tuesday 8th December, 2009 at 3:29 PM

    OK, so this is a bit of a quick one, but I thought I best blog it so that I can refer back later on. I have a DIV containing one or more paragraphs, which I want to be able to edit inline with TinyMCE. Seen as I'm using jQuery, ...

  • Creating a form submission handler with jQuery to handle checked items for deletion

    Created by dan on Friday 20th November, 2009 at 3:56 PM

    Following a little research, I found there to be no set solution for my problem, so I decided to sort it out myself and post the final solution here. Simply put, I have a form with some checkboxes, which when ticked and posted, trigger deletion on the selected item. Using ...

  • Creating an inline password change for a User ModelForm

    Created by dan on Sunday 1st November, 2009 at 3:26 PM

    I've always wondered why when creating a ModelForm for a User, that by default, there's just a single password field. Furthermore, when saving the form with this field populated, the password is overwritten with the raw value, not the encrypted value. So, I set about to provide the users of ...

  • Database transactions in Django

    Created by dan on Thursday 29th October, 2009 at 3:11 PM

    I've come to the point where I really need to go down the route of using database transactions for a few operations carried out on my Django project. As always, a simple search for 'django database transactions' in Google returns a, somewhat relieving official Django page with the documentation for ...

  • Using VLC to record a multicasted transport stream with all elementary streams

    Created by dan on Tuesday 27th October, 2009 at 9:28 AM

    Well, it all started when I had the need to record a multicast DVB transport stream in to a standard transport stream file (.ts) using VLC on Ubuntu Server. After some looking around, I found a simple command which I thought done the job perfectly:   vlc -vvv udp:@239.192.4.2:5004 --sout ...

  • Updating content in-place on an Amino set-top box using Ant Fresco

    Created by dan on Thursday 15th October, 2009 at 2:28 PM

    Let me kick-start my blog by going in head-first, and posting my first nugget of information... While developing a well-involved IPTV system, I came across many, many frustrating limitations of Ant Fresco's browsing capabilities, although I'm fully aware that I'm using a dated browser, but it does handle things quite ...