Switching from Eclipse FDT to FlashDevelop 4

In this post, I’ll explain how to make FlashDevelop much more comfortable for an FDT user.

FDT is a great tool for Flash development but I found FDT 4 to be a real dog. I loved FDT 3 but I was forced to upgrade to FDT 4 because some newer syntax wasn’t supported. Using Eclipse has always been about a 20% love and 80% hate relationship. Eclipse has gotten slower and slower and more

Posted at 5pm on 07/06/11 | 1 comment | Filed Under: as3, flash read on

Multi-Part Form POST with Files in Python

This will let you to do a form-style POST with fields/values and also attach files.

import httplib, mimetypes

def post_multipart(host, uri, fields, files):
content_type, body = encode_multipart_formdata(fields, files)
h = httplib.HTTPConnection(host)
headers = {
'User-Agent': 'INSERT USERAGENTNAME',
'Content-Type': content_type
}
h.request('POST', uri,

Posted at 12am on 04/20/11 | no comments | Filed Under: python, scripts read on

About

A list of things I can’t remember how to do.

Categories