Temporary, Growl Plugin for Tweetie for Mac
Now, I’m using amazing awesome twitter client, Tweetie for Mac thouth, I can’t wait a growl-enabled Tweetie for Mac…!
Hacking with TweetieHack!
I made a quick hack plugin to enable Growl feature for Tweetie for Mac!
As you know, the author of Tweetie for mac said: we are planing to implement it on Tweetie.app so, It is very temporal plugin so far. Enjoy!
Update of TweetieHack
The latest TweetieHack 0.2.0 supports Tweetie 1.1 and enhances its Growl notification. It puts tweeters’ name to notification title, show up to 5 recent tweets with tweeters’ icon, etc.
As next section, enabling Growl notification is completed by Tweetie itself but I decide to update this plugin for who want to use TweetieHack like notification with Tweetie 1.1. (Update May 10, 2009)
Using OpenCV on iPhone
OpenCV is a library of computer vision developed by Intel, we can easily detect faces using this library for example. I’d note how to use it with iPhone SDK, including the building scripts and a demo application. Here I attached screen shots from the demo applications.
Getting Started
All source codes and resources are opened and you can get them from my github repository. It includes pre-compiled OpenCV libraries and headers so that you can easily start to test it. If you already have git command, just clone whole repository from github. If not, just take it by zip or tar from download link on github and inflate it.
% git clone git://github.com/niw/iphone_opencv_test.git
After getting source codes, open OpenCVTest.xcodeproj with Xcode, then build it. You will get a demo application on both iPhone Simulator and iPhone device.
How to enable the popup window on UIWebView
UIWebView is most important UIKit class of iPhone SDK, as you know, it includes all methods and functions of Mobile Safari. Though, I doesn’t accept the “open new window” or “popup window” of the link.
<a href="somehere" target="_blank" />Open this link in new window</a>
If this kind of link are shown in the UIWebView and user clicks it, nothing happens. Of course UIWebView is high-abstracted class and we SDK developer can invoke only a few methods, so there is not complete but good solution for this problem. The key methods are
language:objc
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
- (void)webViewDidFinishLoad:(UIWebView *)webView
- (NSString *)stringByEvaluatingJavaScriptFromString:(NSString *)script
Zoommy, A Stylish Image Zooming JavaScript
Today, I release a new image zooming javascript “Zoommy” which already I use on this webpage. Zoommy automatically makes a normal anchor tag into a stylish, delicious and fashionable zoom interface which you can see somewhere on the web!
Zoommy is tested and works on Safari, Firefox, IE7 and IE6 on both MacOS X and Windows. Zoommy was strongy inspired from Apple webpage and FancyZoom. You can use this as an alternative of Lightbox.js!
Demo
Zoommy automatically change the next code into a delicious image link! (zoomminizing!)
<a href="http://farm4.static.flickr.com/3033/2457505175_37b8fffc2a.jpg">
<img src="http://farm4.static.flickr.com/3033/2457505175_37b8fffc2a_s.jpg" />
</a>
Standalone WebDav server using mod_dav
As you know, iDisk on MobileMe is implemented as WebDav server. There are many implementations(with Ruby, Python or Java etc…) of WebDav server but any implementations isn’t good except mod_dav which is working on Apache web server.
mod_dav is good implementation but one thing I didn’t like is it works on Apache web server. These days I use nginx as a front end web server, SSL proxy and each services like this website you are reading are working as back end of it. I’d add webdav service to back end of nginx but normal mod_dav and documentation are written with the view of using it with Apache front end web server.
So, I made a tiny script to use mod_dav as standalone back end service.

