Archive

Posts Tagged ‘windows’

Opening ISO Images in Windows

April 13th, 2010 No comments

Some tools just keep amazing me. They are flexible, stable, small – basically, they just work. One of these tools is 7-Zip.
It does a lot more than just creating 7zip archives: it is able to create and open almost any package type I’ve run across so far. And it even reads .iso image files.
Thanks a lot for this marvelous tool – it’s a joy to use and a definitive must-have! :)

Tags:

How Internet Explorer 8 got hacked at Pwn2Own

March 31st, 2010 No comments

The Security Intel Analysis Team gives a pretty good summary of how the IE8 on Windows 7 got busted at the Pwn2Own during CanSecWest 2010. They show us a pretty interesting dive into the ideas behind data execution prevention in definitive must-read article.

Update:
zdnet provides (less verbose) background information on how the iPhone got hacked at the same event.

Tags: , ,

Using gdb on Windows

February 11th, 2010 1 comment

If you want to use the GNU Debugger on Windows, say for Code::Blocks or Eclipse CDT, you have two options: Cygwin and MinGW. Cygwin is pretty easy to install, but uses Unix paths internally. This makes it a pain to set up. MinGW uses Windows paths, but there is no fancy setup.exe. Okay, there is an installer, but I did not find a way to install gdb. You can install MinGW components package by package, but I ended up with gdb crashing due to “Missing libexpat-1.dll”.
Fortunately, there is another installer for MinGW, and this one brings everything you need, even gdb: TDM’s GCC/MinGW32 Builds. And this one is working fine for me.

Tags: ,

Using WinMerge with git on Windows 7

November 28th, 2009 No comments

Though git is not my primary source code management tool, I use it whenever I work on complex code that I don’t want to commit yet. Or just to keep track of my local scripts.
And using “git difftool”, it is pretty simple to use third party tools like WinMerge for graphical diffs:

  1. Create a wrapper script (e.g. git-diff-wrapper.sh) and put it anywhere in your Windows path (%PATH%):
    #!/bin/sh
    "C:/Program Files/WinMerge/WinMergeU.exe" -e -ub "$1" "$2" | cat
  2. Update your .gitconfig to run this script whenever “git difftool” is invoked:
    # … more config …
    [diff]
    tool = winmerge
    [difftool "winmerge"]
    cmd = git-diff-wrapper.sh "$LOCAL" "$REMOTE"
    # … more config …

That’s it, no restart required ;)

Tags: ,

How to Create MD5 Checksums On Windows

October 28th, 2009 No comments

There are many md5 utilities for Windows, but very few that  …

  • are free/open source,
  • create checksums for multiple files,
  • export checksums to a file,
  • and verify md5 sums from a list of files.

In short: if you need a very good tool, then use the Swiss File Knife (sfk).

For creating checksums for all your files in the current directory and storing the individual checksums in checksum.md5, execute this:

sfk md5gento checksum.md5 .

And for validating the checksums of all files in the current directory, execute this:

sfk md5check checksum.md5

That’s it :)

Performance Optimization WordPress Plugins by W3 EDGE