Flash buffert nicht mehr nach /tmp/
Seit dem letzten Versionupdate von Adobe Flash www-plugins/adobe-flash-10.2.152.27 buffert er nicht mehr wie gewohnt nach /tmp/FlashXX* lsof sagt: plugin-co 3688 xxxxx 17u REG 0,17 191743180 5974 /tmp/FlashXXFjFv2F (deleted) Da hat wohl Jemand etwas dagegen das man die Flashdaten für den eignen Gebrauch wegspeichert o.O Allerdings wäre Linux nicht Linux wenn man sich einfach dem Gängelwagen [...]
Python 3.1 binary data upload
Hier mal ein Python Script zum Upload von Binarydaten an einen Webserver mit form Formularen, in diesem Beispiel eine Bilddatei. #!/usr/bin/python3.1 import os import re import urllib.request import mimetypes import http.client, mimetypes def post_multipart(host, selector, fields): “”" Post fields and files to an http host as multipart/form-data. Return the server’s response page. “”" content_type, body [...]