I love iPython's so many features, magic functions.
I recently upgraded to the latest 0.10 version. But I face following common problems:
%hist one of the most frequently used magic functions, doesn't exist.
dreload doesn't seems to work (works only for modules?).
run -d for debugging doesn't work
At times, typed characters are not di...
I'm making a java command line program.
How can I change the contents of a line I've already displayed?
So, for example I could display:
Status: 0%
Status: 2%
...
Status: 50%
Except, rather than continuing to push down each new line, I simply change the contents of the existing line, so the % done changes in place.
I've seen some ...
I have a project that needs to create and use COM objects. I found some examples using Javascript on the command-line and it looks like the perfect option for me. They will likely be short scripts (<100 lines) that talk to a COM server and a Postgres database.
Does anyone have a better approach? Is there a good tool that can assist w...
Hello, I want to deploy a firebird installation, and thus will launch it from my installer using command-line parameters. I read Inno Setup's documentation but still can't get it to work.
I just want to install a "Super server" with no documentation or whatsoever.
Here's what I have so far
Firebird-2.1.2.18118_0_Win32.exe /sp- /silent...
What command or series of commands could I execute from the CLI to recursively traverse a directory tree and reduce the bit-depth of all PNG files within that tree from 24bpp to 16bpp? Commands should preserve the alpha layer and should not increase the file size of the PNGs - in fact a decrease would be preferable.
I have an OSX based...
I am using Angel LMS and its built on a SQL Server platform. I believe its 2005, but not 100% sure about that.
Anyway, maybe my pseudo-code will shed light on that answer. Also single quotes must be used for strings and the concatenate character is +.
I need to have something run 2-5 times a day (the frequency is not determined yet...
I'm writing a maven plugin that has a parameter that's a String[].
Like this:
/**
* @parameter expression="${args}"
*/
protected String[] args;
This can be utilized through the POM like this:
<args>
<arg>arg1</arg>
<arg>arg2</arg>
<args>
But I want to send it in from the command line
-Dargs={arg1, arg2}
Is this possible?
...
I have these files in a directory: y y1 y2 y3
Running this command:
ls y* | xargs -i basename {}|xargs -i sed "s/{}//g"
produces this:
1
2
3
Can someone explain why?! I expected it to produce nothing - running sed four times, once for each file, and removing the file name each time. But actually it looks like it's applying sed w...
I wrote a Perl application which I run on the terminal using command lines. I created aliases for the various command options in the shell to reduce the typing. Even so, having a GUI to to select the various commands and other arguments would make it easier to run the app.
What's a good approach to developing the GUI wrapper on OSX?...
I have to write a text image program in C for a class. Nothing complicated just write an image using text.
In regards to this: towel.blinkenlights.nl, how can I animate my text?
...
I have JDK installed in Vista. I want to run java from the command line. How do I configure the path variable?
If I'm not able to set the JAVA_HOME variable, what is an alternative?
...
Is it possible to setup a vpn connection in my cocoa app or from a commandline?
And where should i start if i want to do something like that?
...
I need to locate a command line tool that would allow me to write (read is not required) ID3v2 and album art to an MP3 file. Command line is required as it will be executed from PHP, so no graphical interface. Searches of Google have proved fruitless, so perhaps there is a tool available that will enable me to do this?
...
Is there a simple way to recursively find all files in a directory hierarchy, that do not end in a list of extensions? E.g. all files that are not *.dll or *.exe
UNIX/GNU find, powerful as it is, doesn't seem to have an exclude mode (or I'm missing it), and I've always found it hard to use regular expressions to find things that don't m...
I'm developing a management script that does a fairly large amount of work via a plethora of command-line options. The first few iterations of the script have used optparse to collect user input and then just run down the page, testing the value of each option in the appropriate order, and doing the action if necessary. This has resulted...
How can you restrict a node from the command tree?
#1
I need to give a tree of my project files reqularly for my supervisor.
These files contain some third-party components which I do not want to show in the tree.
I have solved this problem this far by coping the project file to tmp, removing 3rd party-files and then running tree.
How...
I've built a unit test project for a library in VS 2008 C#. The library will react to commandline arguments. I have set the unit test's Properties -> Debug -> Start Options with default arguments to trigger specific reactions in the target library. My questions are:
1) When the library code executes Environment.GetCommandLineArgs() i...
Here is my problem. I have a build script which adds mappings to a certain workspace dynamically, then unmaps them when it is through. I am worried that if (when) my script fails before the unmapping is done, the mappings will holdover until the next time and screw things up.
So I would like to unmap the entire workspace at the start of...
Is there a tool that will allow me to issue commands over the network without SSH?
For example, I'd like to create a new linux box armed with DVD burners and send this command over the network "growisofs -dvd-compat -Z /dev/dvd -dvd-video dvd" with arguments and send the file to burn. The system would be automated so I need something th...
Presently, I'm thoroughly dissatisfied by the command-line program /usr/bin/mysql! It does not, e.g., let me leverage:
(a) various Unix tools (like, grep, sed...), and
(b) Unix concepts such as io-redirection, piping.
(Btw, IIRC, a command-line shell for Sybase used to allow piping and sufficiently powerful, Unix-style command-line ...