mac

RSS feed dashcode confusion

Does anyone know how I can parse an RSS feed, but using dashcode? I cannot for the life of me figure out a way to bypass the blocking. ...

How do I read Safari's cache.db through Active Record?

What I Want I want to read the cache of Safari through Active Record. Essentially, I want to peek inside the cache like this except from within a Rails app. What I've Tried I copied the Cache.db file I set up the environment.rb file in a new Rails app with the path of a copy of the Safari Cache.db SQLite Database. Ran db:migrate Thi...

Will PackageMaker work for me?

I have an application to be distributed. Pretty much everything is self-contained within one bundle so I could just put the bundle in a DMG for the first version-- however this won't work for upgrades, so I figured I'd best work out the process ahead of time. I've been looking at PackageMaker and it seems straightforward enough. However...

Mac OS X/Bluetooth: Programmatically disable simple pairing?

The Bluetooth Explorer app from the dev tools (/Developer/Applications/Utilities/Bluetooth/) allows you to turn off Simple Pairing on your device. (Run the app, select menu item: "Utilities>Get Local Device Info", and click on the "Simple Pairing" tab). How would a 3rd-party application do this? ...

Add registration dialog to PackageMaker

I'm currently in the process of writing a Mac PackageMaker-based installer for an application that I had previously distributed for Windows using an NSIS installer. In NSIS, I was able to create a customized dialog that allowed the user to enter their serial number and license key before being allowed to install the program. In Package...

trouble installing ruby gem json on my mac

I get this warning when trying to install the json module via ruby gems. Any ideas? Mac-Mini poulh$ sudo gem install json Password: WARNING: File '/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 /specifications/json-1.2.0.gemspec' does not evaluate to a gem specification ...

Getting started reverse-engineering OS X?

Hi, What is a good place to learn reverse engineering, specifically as it applies to Mac OS X? Two apps that I admire in terms of this subject: Hyperspaces – http://thecocoabots.com/hyperspaces/ and Orbit – http://www.steventroughtonsmith.com/orbit/ Thanks guys. ...

a good 8086 emulator

is there a 8086 emulator for mac. If yes, which is the best ...

Running more than Rails apps on a local Mac

I would like to set up multiple Rails apps running simultaneously. I'm using a basic installation with Rails and Mongrel. I'm pretty newbie when it comes to a server side thing. What kind of options do I have to run multiple Rails app running at the same time on a local Mac? ...

FrontRow tutorial for Xcode

I was wondering if there was a basic tutorial to get me started on coding a FrontRow plug-in / add-on using Xcode. I searched Google a couple of times, but I haven't found a tutorial on this subject so far. ...

How to Suppress the keychain prompt when the app modified?

Hi Im using Mac 10.5.8 . In my app im using my own keychain(created by me), but my actual question is when I modify my code in the app every time a prompt is appearing, saying that the present app is modified do you want to allow or not.Can any one tell how to supress this prompt(allow by default when ever I change the app).I couldn't fi...

argv[1] loadImage problem xcode 3.2 and snow leopard

Hi Im on mac snow leopard and test these code on xcode3.2 of the Learning OpenCV everything works fine but the image doesnt appear and in the windows. I had try to understand searching for two days what does argv[1] means, but Im still no clear. Im a newbie en C++. I had the image in the same directory where the main.cpp is #include <Op...

Creating lib with g++ 4.0.1

I'm trying to create a lib with g++ 4.0.1, but it looks for _main (which deliberately isn't in the code). Must I put a _main in there or can I circumvent with some nifty switch? My current command line looks like: g++ -shared -o mylib.so myobj1.o myobj2.o ... On a sidenote I'm using g++ powerpc-apple-darwin9, but I'm guessing/hoping t...

changing Mac keychain Password programatically?

Hi ,Im using Mac 10.5.8, can any one tell is there any way to update the keychain's password programatically? ...

compile npapi plugin in Mac OSX?

I only have ssh access to a Mac OSX 10.6 computer, so, Xcode is out of scope. Currently, I have trouble to figure out the right format of g++ output: do I need to append -shared and -fPIC, or -dynamiclib or other magic flag in order to get a firefox recognizable binary? ...

Source Control - XCode - Visual Studio 2005/2008 / 2010

My apologies if this has been asked before, I wasnt quite sure if this question should be asked on a programming forum, as it more relates to programming environment than a particular technology, so please accept my (double) appologies if I am posting this in the wrong place, my logic in this case was if it effects the code I write, then...

How to re-show main window after closed in Cocoa ?

I want to re-show the main window after closed when click my app icon on dock. Anyone know how to do it ? Thanks in advance. ...

[Obj-C] Mac Screensaver with WebView crashes

Hy everybody, I have a screensaver made with obj-c and cocoa. Everything works fine under OsX 10.6.2 except the following. Within my screensaver I have a WebView with some application running. When I try to call my objective-c app (the screensaver) via javascript, I get an error and the screensaver and the system preferences panel crash...

Are there any downsides to upgrading Python on Snow Leopard?

I want to use the newest version of Python on Snow Leopard using the installer package, but I've read some confusing articles about conflicts when upgrading. I plan on using PyDev in Eclipse, will there be any conflicts with Snow Leopard if I upgrade? ...

Can't create new xib files in Xcode projects

This one is a doozy... My buddy just downloaded the iPhone SDK on his Snow Leopard MacBook Pro. No matter what kind of project he creates (Window Based, View Based, etc...,) he can't create or use his own xib files. The project will compile and run fine until he adds a new xib file. Here are some symptoms: When he selects a pre-gener...