Use CFRunLoopRun to synchronize NSMetadataQuery

simple

May 12, 2008

Cocoa

No Comment

– (NSArray *)completionsForPartialWordRange: (NSRange)charRange indexOfSelectedItem: (int *)index { // get the current word. That will be the keyword in our query NSString *word = [[self string] substringWithRange: charRange]; // construct the query string from this word: NSString *queryString = @”someQueryString”; // construct the objects needed to perform the query NSMetadataQuery *query = [[NSMetadataQuery alloc] init]; […]

Read More

Fix Unknown User ACL

simple

January 23, 2008

Mac OS X

No Comment

Log in as an administrator. Open Terminal (in /Applications/Utilities). Type the following commands, each on a single line and followed by Return (enter an admin password when prompted): sudo dscl . create /Groups/username GroupMembership username sudo dscl . change /Groups/username RecordName username _username Replace the italicized “username” with your account username (which is also the […]

Read More

Cocoa: Secure License Framework for Kagi

simple

January 9, 2008

Cocoa

No Comment

http://www.aquaticmac.com/

Read More

Terminal: Dealing with Immutable Files and Folders

If you have followed all the advice in the Knowledge Base articles “Mac OS X: About Trash, Deleting Locked Files – Article ID:106272” and “Mac OS X: Troubleshooting Permissions Issues” and are still unable to empty the Trash, or move an item to the Trash, you may have an immutable flag set on one of […]

Read More

Terminal: Secure Terminal.app

Some month ago I added a post to heise.de, how to secure the Mac OS X terminal.app. Now I found it mentioned on macosxhints.com – wao how amazing the internet is ­čśë http://www.macosxhints.com/article.php?story=20060222011953661

Read More

Mac OS X: Screensaver crashes – lookupd problem?

Seems to be that sometimes lookupd crashes and thus the Mac OS X System becomes unresponsive. This bug is around for years now – funny thing is that I never ever ran into it – but after my girl is now using the system for vb.net development – she ran into it four times.So good […]

Read More

Konstenloser Online TV Rekorder

simple

September 16, 2007

Gadgets, Internet

No Comment

Durch Zufall habe ich diesen kostenlosen Online TV Rekorder gefunden. Der ist wirklich super und funktioniert genauso wie ich es mir immer gew├â┬╝nscht habe :). Probiert ihn einfach mal aus…http://www.onlinetvrecorder.com/ technorati tags:vdr, internet

Read More

Plot Frameworks

simple

September 8, 2007

Cocoa

No Comment

After looking for some niceplot frameworks for Cocoa, I found this three starting points:http://developer.snowmintcs.com/frameworks/sm2dgraphview/index.htmlhttp://sourceforge.net/project/showfiles.php?group_id=79925http://www.vtk.org/ technorati tags:plot, framework, cocoa

Read More

Cyrus database problem

simple

May 17, 2007

Linux

No Comment

After several DB problems after a cyrus update, I pput this information together: https://bugs.launchpad.net/ubuntu/+source/cyrus-imapd-2.2/+bug/53496 https://launchpad.net/ubuntu/+source/cyrus-imapd-2.2/+bug/67111 http://wiki.bsd-crew.de/index.php/Wiederherstellung_von_Cyrus-IMAPD_nach_Upgrade https://docs.astro.columbia.edu/ticket/544 http://gradstein.info/HowToRecoverFromCyrus technorati tags:linux, debian, cyrus, mta

Read More

Lichtsch├Ąchte, Oberlichter … or the SolaTube

simple

May 16, 2007

General

No Comment

Energy saving is obviously one of the top one things – people should think about nowadays! The solatube is not a top notch saver, but it is simple, elegant and so cheap – that you might think about it before building your house or rebuilding your rooms. http://www.velux.de/Produkte/Tageslicht-Spot/Aufbau+und+Zubeh%C3%B6r/ http://www.bauen.de/um-ausbau-infocenter/fenster/single/artikel/lichtdurchflutete-raeume-ohne-f.html http://www.interferenz.de/solatube/index.htm technorati tags:construction, housing

Read More