Repairing Postgresql after upgrading to OSX 10.7 Lion
I recently upgraded to OSX 10.7, at which point my rails installation completely borked when trying to connect to the psql server. When I do it from the command line using psql -U postgres it works...
View ArticleWhat kind of leaks does automatic reference counting in Objective-C not...
In the Mac and iOS platforms, memory leaks are often caused by unreleased pointers. Traditionally, it has always been of utmost importance to check your allocs, copies and retains to make sure each has...
View ArticleSet environment variables on Mac OS X Lion
I apologize if this seems like a question that has been asked a lot before, but please hear me out… I have been Googling like crazy for answers, and although I found many, all seem to presuppose quite...
View ArticleHow to install iPython on Snow Leopard
Does iPython work on Mac OS X 10.6.1 Snow Leopard? I’m python noob, how can I install iPython on my Mac? Links? suggestions? Thanks Solution: To install with the Apple-supplied Python in 10.6: $ sudo...
View ArticleHow do I determine file encoding in OSX?
I’m trying to enter some UTF-8 characters into a LaTeX file in TextMate (which says its default encoding is UTF-8), but LaTeX doesn’t seem to understand them. Running cat my_file.tex shows the...
View ArticleMac SQLite editor
I am aware of CocoaMySQL but I have not seen a Mac GUI for SQLite, is there one? My Google search didn’t turn up any Mac related GUI’s which is why I’m asking here rather than Google. Solution: SQLite...
View Articlecompile Boost as static Universal binary lib
I want to have a static Universal binary lib of Boost. (Preferable the latest stable version, that is 1.43.0, or newer.) I found many Google hits with similar problems and possible solutions. However,...
View ArticleCocoa and Objective-C resources? [closed]
What are the recommended online or offline resources for Objective-C and Cocoa programming? My online resources: O’Reilly. Some useful articles and examples, but has not been updated for quite a while....
View ArticleWhy can’t I install Rails on Lion using RVM?
I’m running into issues trying to install Rails on OS X Lion using RVM. So far, I have done the following: Installed Mac OS X Lion Version 10.7 (Build 11A459e). Installed XCode 4.1 Developer Preview 5....
View ArticleHow to make zsh run as a login shell on Mac OS X (in iTerm)?
When zsh is set as a login shell on Mac OS X, when it is started by iTerm, zsh doesn’t consider that it’s being run as a login shell, although it’s started as â-zshâ (â-â is put as the first...
View Article