Messy XML that needs a quick clean up?

Really neat and nifty. This is for when you have those one liner strings of XML in a log or something (like CharlesProxy’s response pane) and you want to view it all nicely. Normally CharlesProxy does an excellent job… for well formatted XML. At least some code I was working with really wasn’t well formatted [...]

And an example on how to use JSFL

And this is cool, too. I’m always looking for productivity tips and this is very cool. It really opens up a lot of possibilities.
deleteaso » Fix Textfields JSFL
Today Seb was having some issues when dealing with embedded fonts – read his post. He came up with some ActionScript ways to get around it. Well another [...]

Generated getters and setters in Flex

So for this particular Flash AS3 project I am doing that uses Flex as the code editor, I was just about to write a getter/setter pair and thought “perhaps someone has made a way to automate this…”
Quick Google later…
No More Writing Getters and Setters in Flex
eokyere blog has one of the best Flex productivity tips [...]

Remember to check your emoticon path for Expression Engine!

Getting ready to move a site from dev to production. I often use Charles just to make sure paths are doing what they are supposed to do. I had done an initial test moving from localhost to an actual IP address just to run through the process. I got everything except emoticons and it took [...]

grep instead of python?

I have an xml file with a listing of images that I need for a site. Typically I fire up IPython with Amara and do my xml wrangling there. But I also needed the files. I thought about using python to also grab and save the files but a little search led to this post. [...]

Notes: Photoshop Sparklines Script

Tufte Sparklines Photoshop Script | La Photo Vita
Sparklines can be hard to produce. Most graphing packages are designed to produce large graphs or charts, and it can be very hard to generate the wide-but-thin lines for incorporation in documents. This was the motivation for writing a Photoshop script that would automate the production of sparklines. [...]

Notes: LOMO Photoshop script

Flickr: Discussing Fake-LOMO Adobe Photoshop Script in Technique
I saw that there are some PS actions for doing LOMOing but they don’t seem to handle multiple sized images well. I threw together this PS script to handle multiple sized images as well as non-flattened images.

Notes: Photoshop recursive save to web script

Ovidiu Predescu’s Weblog: Recursive export to Web in Photoshop CS3

Yesterday I was looking for a way to take a subset of the pictures I
have and convert them to JPG. I want to use the JPGs on a small Mac
Mini to make presentation in FrontRow using a newly acquired Canon SX7 digital projector (more on this [...]

Getting rid of the dreaded “can’t encode” errors with Python and MySQL and SqlSoup

So I was getting problems inserting data that has the ‘™’ symbol in it. Brutal stuff. Couldn’t find a way around it. Did it by hand in the end. Nasty. The problem was that I was getting
UnicodeEncodeError: ‘latin-1′ codec can’t encode character u’\u2122′ in position 12: ordinal not in range(256)
where the ‘\u2122′ is the ‘™’ [...]

Local subversion on 1and1

1and1 had an update. Good. It broke subversion. Bad. After a short fight with subversion 1.4.6 (which didn’t work) I thought about using 1.4.5. Fortunately that’s pretty straightforward and… it works! So here are the commands for that. I develop on Eclipse using a JumpBox Trac/Subversion server locally. Changes to my Django app [...]

Another python audio library that can handle FLAC

Just a note about another one.
TagPy | Andreas Klöckner’s web page

TagPy is a set of Python bindings for Scott Wheeler’s TagLib. It builds upon Boost.Python, a wrapper generation library which is part of the Boost set of C++ libraries [3].
Just like TagLib, TagPy can:

read and write ID3 tags of version 1 and [...]

Python and FLAC audio files

Kinda neat this library is. Even works on multilingual song files.
Development/Mutagen/Tutorial – Ex Falso / Quod Libet – Trac

from mutagen.flac import FLAC audio = FLAC(“example.flac”) audio["title"] = “An example” audio.pprint() [...]