From flashticle import swf

During the reading of one of the articles at osflash I’ve got inspiration (and portion of the code) from flashticle project to start with a little project by myself (called pyswf).
That’s not *really* a project, also because there are so many decrypers, disassemblers, optimizators etc around here, but more an exercize for better understand both python and the SWF file format…
BTW, currently it can read quite almost all swf tags and actions, writing them in a pseudo-code (later i will try to create the original actionscript code), and also extract some of the swf embedded multimedia objects (such as flv, mp3, wav, and images)
for example:

1
<strong>main -e "test.swf"</strong>

it will print all the swf code in the output buffer and also extract all the multimedia files embedded into test.swf
you can download the source code (with also a win32 binary) from here

Backup your batabases w/o phpmyadmin

I often read threads about export/import data from MySQL and it’s always mentioned phpmyadmin as the only way to do that (with PHP indeed).
But that’s not true, and it’s indeed the slower way to do that, expecially when importing large database files (because phpmyadmin has problems with large db)…
This would be just a reminder 🙂
Use an SSH client, like putty (if your database is on a remote server), to connect to your server and export the databse you want simply with:

mysqldump –user=username –password=1234 –databases your_database –opt –quote-names –allow-keywords –complete-insert | bzip2 -c > your_database.sql.bz2

download the .bz2 file created, unzip it using 7-zip (if you dont have any other uncompress utility), and backup your database in mysql using:

mysql –user=username –password your_database < your_database.sql

that’s faster than using “import” from phpmyadmin
http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html

IE’s ActiveX D-Day

As Microsoft announced time ago, the next generation of Internet Explorer will change the way the browser handles ActiveX controls with a significant impact on how online advertising and streaming media content is delivered over the Internet.
The software maker plans to give Web developers an extra 60 days to continue making preparations.
The big push now is for developers to recode Web sites and Web applications to cater for the browser update. If not, users won’t be able to directly interact with Microsoft ActiveX controls loaded by the APPLET, EMBED or OBJECT elements without first activating the user interface with an extra mouse click.
Get the Internet Explorer 7 beta preview


http://www.eweek.com/article2/0,1895,1943847,00.asp