Skip to main content

Posts

Showing posts with the label an

Bash and Python scripts to unzip and modify an OpenOffice odt document

.odt files are actually containers (you can see one using unzip -l document.odt ). Within the container, content is in the content.xml file. Script info source Heres what Ive figured out about opening, modifying, and saving the content of an .odt file: To open the container for editing: # bash $unzip path/container.odt content.xml $unzip path/container.odt content.xml -d working/dir/path/ # -d places content.xml in a different directory. # Creates a content.xml file where you want it. # python >>>import zipfile >>>odt_file = zipfile.ZipFile(path/to/file.odt,a) >>> # Options are read only, write only, and append to existing >>>raw_xml = odt_file.read(content.xml) >>> # Reads content.xml in as a string, doesnt place a file. Modify the content.xml file by hand, or using a script, or using Python. >>> # Tip for using python: ElementTree is good at XML, and it can parse a file, but it cannot parse a string! >>> # So heres h...

BeeDoctor for Windows PC Optimization freeware integrated with an Antivirus

BeeDoctor offers many features in a single suite, all aimed at optimizing and protecting your Windows computer. It includes an advanced system clean up mechanism, integrated Avira antivirus, software acceleration module and PC optimization tools. BeeDoctor for Windows PC BeeDoctor has four sections � Cleaner, Speed Optimizer, Antivirus and Uninstaller. The  Junk cleaner  that can perform a deep scan to find and remove unused items that are not required by the computer. A detailed log gets created, once the clean-up process is over. It list�s down all items that were removed, which can also be restored back, if required. The detailed log, stores the information about the removed files, for few days, after which it is deleted permanently. Its  Speed Optimizer  optimizes boot time, startup items and suggests clean up tasks which are required. An option to disable or enable running task or services is also available. BeeDoctor includes a Self Protection feature that...

Being This Selfish Is An Art

Battlefield Play4Free Coming To An End Send It Off With A Bang! Free Cheesy Title and Play4Free Funds Codes Here

For those of you playing Battlefield: Play4Free, you were no doubt sad to see the above picture (both in the game Launcher and on the Forums), announcing the action-packed Free To Play online game coming to an end, which it will on July 14th, 2015 . EA has graciously posted a code in the Official Forums that can give your Soldiers 10,000 Funds to spend on whatever their little digital hearts desire. The code for the Funds is: 76UE-ZJAZ-X9RU-XDC2 New Funds code (found June 25th), also from EA: 7A5Y-G9W8-XQTP-ZUT8 As a bonus, you can also punch this code in on Battlefield: Heroes (which is also getting its life support turned off on that date), for another 10k Funds: DWVK-GTK3-LE4A-8HNV A quick note, that these codes are Per Account, not Per Soldier - but still, a nice gesture from EA, to help alleviate some of the pain from the loss of two gaming friends in the Battlefield series of games, Play4Free and Heroes - indeed, we must soon retire the flags for these two loyal shooters that ga...