I have a perl script that I run from the command prompt: 3 times a day, the problem is now I need to run it every two hours. Im not going to be on an episode of lost so I need some help. Here is the command:
Perl C:/test/scripts/edi.pl
Does anyone know how this above one line command can be made into an executable (.exe) file so I can ...
What the question says.
Ultimately what I want is to execute gcc and capture the output if there's an error. The problem is errors are written to stderr instead of stdout. On Linux I can do
gcc foo.c 2>&1
How can I accomplish this on Windows?
...
I implemented a prompt path shortener for bash to be included in the PS1 environment variable, which shortens the working directory into something more compact but still descriptive. I'm curious what other ideas may exist.
Here's the challenge:
Create a bash function _dir_chomp which can be included into PS1 like this (line breaks inse...
I have a Batch file which I want to execute from CMD, irrespective of what path its set to.
I am looking for something like setting Environment Variables.
e.g.
VariableName: MyBatch
Path: C:\MyBatch.bat
Open CMD:
c:\Program Files> "I should be able to call MyBatch here"
Thanks
...
I have an NSAlert item that uses an NSTextField as an accessory item to provide an prompt-like dialog box. The only problem that I have is that when the alert is ran the text field is not focused. I tried looking for a way to change NSAlert's first responder but found nothing. Is there a way to easy focus an accessory item in NSAlert?
...
I have put the following in my ~/.localsh file to customize my bash prompt when working with git.
Basically I want to get the current branch displayed in my terminal.
The gitk tool shows branches with green background and black foreground, so thats what I'm trying to do.
What I have works, but when I press the up arrow on the keyboard ...
Hi there.
I'm looking for some way to share code snippets taken directly from command prompt.
For example:
plinjasa@pllzpc029 ~
$ ls
plinjasa@pllzpc029 ~
$ mkdir maindir
plinjasa@pllzpc029 ~
$ ls -l
total 0
drwxr-xr-x+ 1 plinjasa Domain Users 0 2010-08-26 15:22 maindir
plinjasa@pllzpc029 ~
$ cd maindir
plinjasa@pllzpc029 ~/maindir
...
Hello
I want to develop a BADA application which will print the message Helloworld.I have downloaded BADA SDK.It could be done in BADA IDE but i want to compile and run it using command prompt.Now for that we need to compile it using GCC tool chain i think.My Helloworld code is in C:Helloworld.So i have changed directory to it and also h...
the BADA IDE is executing the commands
cs-make all 'Building file:
../src/AnimationApp.cpp' 'Invoking:
bada C++ Compiler' i686-mingw32-g++
-D_DEBUG -DSHP -DBUILD_DLL -I"C:/bada/1.0.0b3/include" -I"C:/bada/1.0.0b3/IDE/workspace2/AnimationApp/inc" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/AnimationApp.d" -MT"src/Anim...
Hello
I was trying to compile a simple Helloworld program for BADA but through command prompt.After compiling i ma getting the errors as
c:/Helloworld/src/Helloworld.cpp:12: error: prototype for 'Osp::App::Application HelloWorld::CreateInstance()' does not match any in class 'HelloWorld'
C:/Helloworld/inc/HelloWorld.h:21: error: candida...
Hello
I am Compiling BADA sample appliction ApplicationApp but from command prompt.Now for thisi needed commands so i had a look at BADA IDE console while Building ApplicationApp.The command console showed for compiling was
i686-mingw32-g++ -D_DEBUG -DSHP -DBUILD_DLL -I"C:/bada/1.0.0b3/include" -I"C:/bada/1.0.0b3/IDE/workspace2/Animatio...
Hi,
I have a script that prompt for a password to achieve a specific task. I wanna skip entering password each time. for this, i thought about sth like that:
./myscript < my_file_containing_pass
but unfortunatly, this doesn't work.
any idea?
...
Hi,
I'm very new in programming. The following task looks very simple but I don't know how to do it. Appreciate if anyone can give me some guidance.
I'm using Linux OS. I would like to create a CLI program and let the user run it in shell terminal. I plan to use Bash shell script to create this program, but C++ or Perl should be ok too...
Hi
We build software running on Linux servers (Centos)
We don't want the customer to have access to the Linux server, but the customer sometimes need to know the ipaddress of the server.
So my question is: Is it possible to display the ipaddress at the loginscreen (no graphical interface), that means, before the user has logged in?
M...
Is it possible to have a bash script automatically complete prompts that would normally be presented to the user with default actions? Currently I am using a bash script to call an in-house tool that will display prompts to the user (prompting for Y/N) to complete actions, however the script I'm writing needs to be completely "hands-off...
Does anybody know what text editor supports a feature which is auto completion for codes in mysql prompt? I really have trouble in finding the answer. I cant find what text editor it is. Im dealing with my research project now.
Thanks for replies.
...
64-bit Vista
Python 2.6
IPython 0.10
Is there a way to get a local timestamp in my IPython prompt.
My current default prompt is
[C:Python26/Scripts]
|9>
...
Hi!
I have to validate user-input from stdin that is not going to be entered by hitting the Enter-key.
So readline() and other Enter-dependent functions are of no use to me.
Practically the promt will be filled, and each keystroke has to be handled as an event. How do I get access to the promt buffer's contents?
...
im new to programming and i need help on my code ? i want my page to prompt me if there will be available rooms left. im using the onload function on the admin page.
so far here is my code
function prompt()
{
< ?php
include("dbconfig.php");
$sql = "SELECT COUNT(*) FROM rooms WHERE status = 'available'";
$result = @mysql_query($sql) o...
I have in my code a window.prompt, which should stop the flow of the code until user put in some value.
Of course IE7 try to protect me from myself and instead of showing the prompt it shows the security tab (top of the page where it alerts to the users that a script wants to open a window).
What is even worse is that the prompt is ignor...