How To Decompress a .B6Z File Using B6Zip

We all may need to reduce the size of files from time to time. It can be for archiving files or sending them to someone else by e-mail, or using the space of our storage economically. This is what we call a file compression. There are many types of file compression, such as; zip, rar, ace, arj, 7zp, b6z... Recently, B6Z files are gaining popularity among the other compressing techniques. You can decompress .b6z and .b6 files using B6Zip on operating systems Windows and OS X. To open b6z file simply install B6Zip and right click the file you would like to decompress. B6Z is the fastest archive format with highest compression ratio preferred by Mac users.

qlImageSize improvements

qlImageSize just got better ! It now supports two non-standard images formats, WebP and Portable Pixmap. WebP To enable this you must have the library installed on your Mac, if it’s not the case, the easiest way is via Homebrew : brew install webp If you don’t use Homebrew, you need to have libwebp.dylib in your /usr/local/lib folder. All the loading is done dynamically at runtime. If you have Pixelmator installed, its own QuickLook plugin might get in the way. To fix this you need to edit the file /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/Info.plistand remove the dict entry that handles webp. Another plugin that might get in the way is webp-quicklook, same thing just remove it and it will be good. Don’t forget to reset the QuickLook daemon though : qlmanage -r qlmanage -r cache Portable Pixmap I stumbled upon some .pgm images a few days ago and forgot that OS X didn’t handle them natively, so I quickly coded something to render them. Who the fuck use this ? Well it’s easy, some Linux users. To make this works we need to register 3 UTI (ppm, pbm, pgm) that conforms to public.image, the easiest way is by following the steps described here. You can download the plugin here. PS : Also working on getting better SVG preview.

Debug a Preference Pane with Xcode 3

Here is a quick tip to help you debug your Preference Pane with Xcode, because debugging with NSLog() is painful and not very productive. So, open your project with Xcode, go to the Project menu and chose News Custom Executable. In the Executable Path field, chose /Applications/System Preferences, and for the name of the executable, chose whatever you want. Now you can put breakpoints in your code and debug it as you normally do. When you will hit the debug button to launch your project, System Preferences will launch, then click on your Preference Pane to load it and you are good to go.