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
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, mimetypesdef 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,
