command-line-tool

Reasons for MySQL authentication error: “Access denied for user 'xxx'@'yyy'”?

What possible reasons could exist for MySQL giving the error “Access denied for user 'xxx'@'yyy'” when trying to access a database using PHP-mysqli and working fine when using the command-line mysql tool with exactly the same username, password, socket, database and host? Update: There were indeed three users in the mysql.user table, eac...

Converting shell script to Objective-C CLI

I am planning to convert a rather long shell script I have into an Objective C command line tool. I'm planning to use NSTask to run the shell commands (this is a large script, and it has several thousand copy/move/delete operations). My question is, will continually allocating and deallocating NSTask objects to run all these commands res...

Help with using Xcode

So, I'm using Xcode to program with C++. I want to access the C++ tool but I'm having this problem. This is what it looks like when opening a new project. Only for me, I don't have the 'Command Line Utility' option at the end. How can I get the 'Command Line Utility' option to be available. I need it to access the C++ tool. Please...

Command Line Tools

I've been having a look through other questions on the site and can't find one listing out some of the most widely used (or subjectively best) command line tools. Having just installed Mercurial I'm interested in what command line tools others are using. So what command line tools do you use and which ones do you prefer? Some reasons f...

How to move a file in to zip uncompressed, with zip cmd tool

I'm try to determine how to use the zip cmd line tool to move a file (uncompressed) in to a zip of compressed files (ie I want a zip in the end with all files but one compressed, b/c the one file is another compressed file). Anyone know how to do this? ...

Program closing before it's really finished

I have a program with two modes: GUI & Just Run. GUI loads a WPF form and lets me adjust settings, while Just Run loads said settings and just... well... runs. It's a glorified, customizable tool to batch-move files. The problem: The "log" doesn't finish. It seems like it's still writing while the program closes, thus cutting off the e...

does a runonce command exist to limit command execution

Does this command exist for Linux? runonce --dampen 300 echo "hello" The command would take a command to run and optional criteria to limit of frequently it is executed. The option dampen says wait 300 milliseconds and then run the command. Any other executions of this command get coalesced into a single run. This allows you to colla...