Creating an alternative to bash for Mac OS X
Is a shell a normal CLI application, or is it different from an application that accepts input from standard input, and outputs the result on standard output? ...
Is a shell a normal CLI application, or is it different from an application that accepts input from standard input, and outputs the result on standard output? ...
I need to set the date and time on my Mac (Intel, Snow Leopard) to a specific date and time each time it boots. Does anyone know how I can accomplish this using AppleScript or something else? ...
I'm having an issue installing the memcached ruby gem on my Mac Pro machine with OS X Snow Leopard (10.6.4). Memcache is installed and working fine and for most projects I use the memcache-client gem without issue, but this current project I need to use the memcached gem instead. Installing the gem with env ARCHFLAGS='-arch x86_64' gem...
I recently upgraded my system to snow leopard and now my prompt doesn't work properly. I have this line in my .zshrc file: PROMPT='%{$fg_no_bold[cyan]%}%n@%{$fg_no_bold[red]%}%m%{$fg_no_bold[green]%}$(git_branch)%{$reset_color%}: ' (where "git_branch" is a function that give me information about the current git branch I'm working on)...
Installing gtk 1.2 (package name gtk1) with macports chokes on the final make, in libintl.h line 440. extern locale_t libintl_newlocale (junk, stuff, stuff) The compiler can't find locale_t, and I'm not doing any better. The file imports locale.h, which doesn't exist, and xlocale.h, which doesn't define this type. Where should loca...
I've followed all the tutorials and uncommented the relevant lines in httpd.conf, but PHP files do not render under Web Sharing. The server just serves up the source code instead of running it. I know that PHP works, because I can run it straight from the Terminal using the "php" command. What is happening here? ...
I want my OS X app to share files via the loopback device. I want to do this so that my app can make a directory of frequently changing, read only files available to the user without messing with the users home directory. The files will be severed from the Application Support directory but the user will not have to concern themselves wit...
Hi, I'm trying to install ruby 1.8.6 on Snow Leopard using rvm. I tried: rvm install ruby-1.8.6-p111 and got an error explaining make couldn't find openssl. make[1]: * [openssl_missing.o] Error 1 I then tried: rvm install ruby-1.8.6-p111 -C --with-openssl-dir=/System/Library/OpenSSL (Snow Leopard seems to come with openssl and this s...
Hi folks, I'd like to use lxml library to validate XML Schemas in Python 3.1.2. Since the Snow Leopard MAC OS comes with the Python 2.6.1 installed, firstly, I downloaded the Python 3.1.2 automated installer at http://www.python.org/ftp/python/3.1.2/python-3.1.2-macosx10.3-2010-03-24.dmg and installed it. Secondly, I downloaded lxml 2...
Is there any library that allows to create a Carbon application using C++ classes? ...
Problem lies in the fact that gmon.out file doesnt show correct data. All times are 0, and nothing is measured. gmon.out file is normally generated. I am using eclipse ide for c++, and linking, compiling and running programs as normal. Any help? ...
I'm trying to install PIL on Snow Leopard, using Python 2.6.1, GCC 4.2.1, PIL 1.1.7, and have tried with both libjpeg6b and libjpeg7 -- nothing works. I've cleared out every trace of libjpeg/pil/zlib from fink, tried various compiler options, etc. and used http://jetfar.com/libjpeg-and-python-imaging-pil-on-snow-leopard/ and http:// www....
I'm on Snow Leopard, and want distutils to use gcc 4.0 and not 4.2, can anyone tell me how to make it do that? I've tried changing the /usr/bin/g* symlinks, and setting the C* environment vars -- but to no avail. Any thoughts? ...
So i'm running Snow Leopard on a BlackBook. I'm attempting to get rake db:migrate to work with this project but I get the MysqlCompat::MysqlRes error. Is there any special way to install or build the gem and/or the actual MySQL binaries themselves to get this to work on my machine? ...
I am sure it's something easy, and I am not looking to the right documentation. I need to get information about the application that handles the active window. The code I need to write needs to intercept some custom gestures, and return to the application an event that depends from the application itself. ...
i just upgraded my macbook OS to Snow Leopard but all the provisining profiles were deleted..Do i need to create new provisioning profiles for all applications or just copy my bACKUP OF provisioning profiles folder to the Library(havent installed xcode 3.2 iphone sdk4 yet)?? ...
Hey there, When you create a new application in Xcode, it automatically creates a AppDelegate and a MainMenu.xib. The latter also contains the application main window, which is linked to the AppDelegate as an IBOutlet. What I tried to do is, use a MainWindow from a different xib-file. However, there's absolutely nothing I can do to pre...
i recently updated my mac to Snow Leopard. But due to it all my provisioning profiles have been deleted. I didnt keep the backup for my keychain so i downloaded my Certificate Signing Request again from apple developer program and installed it in my mac.So to upload one of my old application i created a new App Id with a new Provisioning...
i want to use the dropbox api via this library http://code.google.com/p/dropbox-php/ ...
Mac OS X 10.6 (Snow Leopard) has VIM pre-installed (version 7.2), which is great. It also has Ruby pre-installed (version 1.8.7) which is great too. However, I want Ruby autocompletion in VIM. Looking up the VIM version (vim --version) shows -ruby (i.e. ruby support isn't enabled). How to enable ruby for my VIM installation? ...