More on setting default app to open file in MacOS X
While fresh on the topic of changing what app opens what file in Mac OS X, I found a free app (donations appreciated) where you can easily change those settings in a preference pane: RCDefaultApp
While fresh on the topic of changing what app opens what file in Mac OS X, I found a free app (donations appreciated) where you can easily change those settings in a preference pane: RCDefaultApp
Check out the page at: http://youtu.be/ru2Dpe1LkNU
I had installed Xcode 3.2.6 and Xcode 4.0.2 on my workstations, but, when I double-clicked a project, Xcode 4 would open… which is not what I want. So, I found this article that actually shows how to take care of that. Basically, you “Get Info” on a file and can select what application opens the … Read more
I wanted to get rid of the “build” directories in my source folders before prepping my source folders for git, so I used the following command to get rid of them: find . -iname “build” -type d -print -execdir rm -R ‘{}’ \;
I don’t know why I do such things. I didn’t go to bed till midnight cause I was checking out git 😉 I installed git on my Mac, which was rather easy using the installer, and started to play with it. I’m actually curious to see how this will work for me, compared to Perforce … Read more
If you need to set a boost shared_ptr to NULL, then you can do it like this: boost::shared_ptr(); So, if you have a function that returns a boost shared_ptr and you want to pass NULL to represent either an error state or a not-found state, you can do this: #include typedef boost::shared_ptr OohClassPtr; typedef std::map< ... Read more
There used to be a button that would toggle you between the header file and implementation file that currently had the focus in Visual Studio. For reasons unknown to me, that feature was taken out in Visual Studio. Here is a macro though that brings that functionality back: I want my toggle button back!
Within a Visual Studio C++ solution, you can copy a file to a known location as part of the build process. To do that, you have so set the “Custom Build Step” parameters found in the Visual Studio project’s property page: Command line: copy “$(InputPath)” “$(TargetDir)” > nul Description: Copying $(InputFileName) Outputs: $(TargetDir)$(InputFileName) Note, the … Read more
I found this useful tool, thanks to my coworker, that is an alternative to using the otool tool: MacDependency
Right now I’m dealing with some code of mine that isn’t working on a Microsoft product. I got a webcam, a Microsoft Life Cam VX1000, that doesn’t want to work with DirectX. It’s weird. A Microsoft product that doesn’t want to work with a Microsoft SDK. I see on the web though that there are … Read more