I am using DotNetZip and have noticed that i am getting permission issues on Mac's. This seems to only occur when i use content disposition.
ie if i just save it to disk
using (ZipFile zip = new ZipFile(@"C:\zip\temp.zip"))
{
// this works fine
}
but if i use content disposition like so, on mac the user permissions are denied ( e...
I am talking about the navigation area on the left side of iTunes for Library and Playlists. I'm wondering if this is a built in class (which I couldn't find documented) or something custom implemented by Apple.
I'm working an a mac application where I want to include that type of navigation. I want to allow people to "fold" the catego...
I have created my ActionScript source files in a folder on a Mac (I normally use PC), and somehow managed to make an Eclipse/FDT project that can see them.
I now need to move them into a svn checkout of an existing project to get them under source control.
I just can't work out how you do this without losing all references in the proje...
I'm a programmer, working with different languages/Formats (Java, Python, Xml, Html, Objective-C ect.). From time to I've to work on a Mac and I'm not very comfortable with the German keyboard layout for programming.
Is there somebody with the same problem and, if so, how did you solve it?
...
I have (I believe) a fairly standard 10.5 installation, and I'm trying to compile.. Well, I'm trying to compile T.38modem, which requires OPAL which requires pwlib which requires libX11. Kinda dumb, but whatever.
The problem is that in /usr/X11/lib, I have the following:
Brians-mini$ nol libX11.*
lrwxr-xr-x 1 root wheel 14 Mar 3 2008 l...
Is there a way to programatically turning off the power or killing a USB port on the Mac?
...
I can understand this requirement for the old PPC RISC systems and even for x86-64, but for the old tried-and-true x86? In this case, the stack needs to be aligned on 4 byte boundaries only. Yes, some of the MMX/SSE instructions require 16byte alignments, but if that is a requirement of the callee, then it should ensure the alignments ar...
Is it possible to get Java 6 running on a Mac PowerPC with Mac OS X 10.4? AFAIK SoyLatte is only available for Intel processors.
...
When I worked mostly in Windows, I used Stylus Studio to test out XPath on my XML files. Now that I primarily use OS X, I haven't found an equivalent tool.
What tools for OS X do you recommend for XPath work?
...
I made an Unix command called macmac2unix, which converts a Word file from Mac to Unix.
How can I provide documentation for my command?
I want to read about my command with man
$man macmac2unix
...
I've just switched from Windows to Mac and need to find a few tools to replace those that were Windows-only. I'm most familiar with FlashDevelop, which I've used for years, but it is Windows only. SEPY seems to have been abandoned, FlashIDE's editor seems weak, and I don't want to purchase FDT or FlexBuilder right now.
I would like an...
How can I list differences between Mac's and Unix manuals?
For example, between the following commands
uniq
guniq
I tried the following unsuccessfully
diff (man uniq) (man guniq)
...
I get "command not found" error in Mac by the following command
md5sum *.java | uniq -d -w32
The reason is that Mac does not have -w option by default.
I would like to make Bash to do the following when the error occurs
put g at the beginning of the first command
put g at the beginning of a command which is after |
How can you ma...
We recently switched from using PCs at work to Macs, so I'm new to the *nix way of doing things. I have the default Apache running that shipped with 10.5, but I've noticed that when I drag files from a Windows server to my machine, the permissions are changed. Specifically, I'm writing data to an XML file, and occasionally after swapping...
I'm new with the whole QTKit and I was looking for some feedback on the following code that I am attempting to use to display the camera's image and record movies.
- (void)initializeMovie {
NSLog(@"Hi!");
QTCaptureSession* mainSession = [[QTCaptureSession alloc] init];
QTCaptureDevice* deviceVideo = [QTCaptureDevice defaultInputDevi...
Hi all,
I have a project written .NET 2.0 (well, it doesn't use much in the way of 3.5 features, anyway), and I recently got a Mac and would like to convert that project to Mono.
The problem is, this project relies on libraries such as FreeImage and a few C++ libraries I've written for this project. I'm a total newb to programming on ...
I'm setting up a complete .NET development environment on my Macbook Pro.
I'm using Visual Studio 08 team suite, SQL server 2008, MS Office and other tools (like FinalBuilder, RegexBuddy, Beyond Compare).
How big should my windows 7 (beta currently) partition be? Will 100GB be enough?
NOTE: I wasn't sure if this was programming relate...
I'm doing a short project just to experiment writing without the use of nib files (personal interest only, don't plan on never using nibs!).
I have my app controller set up as NSApp's delegate. Under -(void)applicationDidFinishLaunching:(NSNotification *)aNotification, I attempt to initialize the interface.
AppController.h:
#import <C...
Looks like Opera/Mac does not let you override an action when user pressed ⌘S (the default is, of course, save page). I found out my old script doesn’t work in it. It saves the form contents to server via Ajax.
Here’s an onkey* handler:
key = ev.keyCode
if (!key) key = ev.charCode
if (ev.type == 'keypress' && 115 == key && ev.ctrlKey)...
I'm trying to add two inputs to a QTCaptureSession in the following:
mainSession = [[QTCaptureSession alloc] init];
BOOL success;
NSError* error;
QTCaptureDevice *videoDevice = [QTCaptureDevice defaultInputDeviceWithMediaType:@"QTMediaTypeVideo"];
success = [videoDevice open:&error];
QTCaptureDevice *audioDevice = [QTCaptureDevice de...