Hi all,
I'm running the below imagemgaick command which outputs to stdout:
compare <img1> <img2> -metric MAE null:
I'm trying to capture the output of this command from PHP. Normally I use the exec($cmd,$output) commands which stops cmd output from going to stdout and instead places into the $output array. However for some reason her...
I am completely confused by MS docs on Windows built-in accounts.
SQL Server 2008 R2 online docs "Setting Up Windows Service Accounts" tells
"Local System is a very
high-privileged built-in account. It
has extensive privileges on the local
system and acts as the computer on the
network. The actual name of the
account is "...
Hello all,
I am trying to write an app that requires different PDF files to be opened and displayed on the E-Reader side of the eDGe's dual screens while the app is running on the LCD side. I've been using Better Terminal Emulator to cruise around the eDGe's file system but can't seem to find the command that opens PDF files. Does any...
We continue to build our fairly small applications on Android, iPhone and other mobile operating systems. This is fine and fun in the beginning of a new era, but when mobile OS matures, gets to be the preferred device for business people in motion, they want something more.
One would guess they want the same access and capability to ER...
Hello, first of all sorry for my English is not my native language.
I have a web form input field and a servlet (Clustered Weblogic AS) which receives the contents of this input. I would like to limit the attempts given the same value without using rdbms or plain text file, eg
// Getting value of form
String input = request.getParameter...
Hello,
I have a unix command written in a file and I need PHP to read it and execute it. The reason it needs to be read from a file is because the commands symbols mess up the script when put them directly in it. So far I have this:
<?php
$command = readfile("http://localhost/command.txt");
echo shell_exec($command);
?>
Upon running...
i am launching a beta version of a web app and i want to log system information about resources. system monitors eat up way too much resources and do a lot more than what i need. What i want to do is get key stats and log them every time a user logs in.
these are the stats i am interested in:
number of users - i have done this alread...
How the polling based method is supported by the processor??
How many devices I can set for polling based and interrupt based mode??
My understanding is:
If poll interval of a device AA is 100ms. After every 100ms the processor polls(check
the status of the device) that device and process it if required otherwise it
will switch to...
I would like to run some command (e.g. command) using perl's system(). Suppose command is run from the shell like this:
command --arg1=arg1 --arg2=arg2 -arg3 -arg4
How do I use system() to run command with these arguments?
...
I wonder what is the software (OS, graphics libraries, etc.) and hardware architecture that cars use for their multimedia systems for controlling radio, cds, navigator or telephony.
I also noticed that the BMW's iDrive startup is immediate, no bootup process. I suppose that other systems work like that as well. How do they achieve this?...
For the apps I'm writing in Visual C#?
...
Hi..
I'm given a task to write a user authentication and login system in java. How do I start?
I can write a simple login page asking for username and password and then check them in a servlet against a database. Is this a 'User authentication and Login system'? Also I can use JAAS.but i think JAAS is already an authentication service. B...
Hi,
I am trying to debug a C++ application which invokes many command line applications such as grep, etc through a the system() system call. I need to see all the commands the application is executing through the system() call.
I tried to view these commands by enabling history and view the .history file. But these commands are not ex...
We have a manufacturer that wants to pre-install our application on their Android device. We sent them the APK and even though it installs fine when used by a user, it appears to not get installed correctly when included in the manufacturer's build image. FYI, our application uses the JNI layer and some libraries built with NDK. The exce...
Hi there,
I'm working on a file based commenting system with in-line comments (only 1 level).
Despite being a newby I've managed to create a system in which users are able to add new comments and use @[NUMBER] to add their reply below another comment.
My file and folder structure looks like this:
/threads/
1/
1.tx...
As above, for calculation, analysis and graph.
The data is purely number.
How do I create the database table and the calculation/analysis/graph table separately? For example, I might want to create a separate table of "countif" from the database and etc.
Please suggest the name of the programme and their pro and cons as well.
...
I'm trying to run a system command to extract a tar.bz2 file to a specified directory. This is the code:
ProcessBuilder myProc = new ProcessBuilder("tar", "-xjf", "/path/to/MyTarFile.tar.bz2");
myProc.directory(new File("/directory/i/want/results/in/"));
myProc.start();
System.out.println(myProc.command());
It runs without error, how...
I have one script i'm trying to call from another script, passing the information from the script that is being called to the calling script. When i use do or require it runs through but doesnt pass the value.
ex.
I have the following line at the bottom of the script that i am calling
called script.pl
print " $hold IS VALUE\n";
wh...
I would like to add add/programs like adobe acrobat reader and other application in windows XP using Python script. Kindly looking for some help.
Thanks in advance!
Everest.
...
I'm using Ubuntu with Gnome where I can set network proxy settings (with authentication).
The question is: how I can run maven in command line and make it use this proxy?
...