Hi ,
I am very much new to maven. I downloaded the maven 2.0.11 version and installed it on my 32bit redhat linux along with JDK 1.4
After installation I have configured the proxy settings. When I try to run command mvn install downlaod of some repository(org) is successful but then it fails with build error as below :
[INFO] --------...
Hello, attached is a plot of accelerometer data with 3 axis. The sudden bumps in the plot is the noise. I would like to get rid of them. So what filter should be used in this case ? If it is possible provide some pseudo code for it and explanation.
Regards,
Levon
...
Is there any way/SW-tool that can be used to monitor a directory for changes to files and then either back it up to a unique file or to a version control system?
Reason: I'm using Code::Blocks and get carried away editing/testing/changing and occasionally (@#$%!) would want/need to revert/recover a previous bit of code. I want the backu...
I do not really wish to profile because I was wanting to do many different small benchmarks on different simple functions. For the life of me I cannot find a way to record the amount of milliseconds in C++, I am using Linux by the way.
Can you suggest the method to get the system clock in milliseconds (I may settle with seconds if I can...
In my program I'm cutting my char* with strtok. When I'm checking on Windows it's cut like I want, but when I'm doing the same thing on Linux, it's doing it wrong.
Example :
Windows:
my char* (line) is : "1,21-344-32,blabla"
in the first time I do strtok I get "1"
in the second time I get "21-344-32"
Linux:
my char* (lin...
Hello everybody,
I have a flash-based (AC3) application which does some network activity. Is there any way to see what requests it generates? Something like network console.
Sources are not available and there is no way to modify the application.
Im on linux platform (Ubuntu), so dont have any flash developer tools. The only solutio...
Let's say you're building a journaling/write-ahead-logging storage system. Can you simply implement this by (for each transaction) appending the data (with write(2)), appending a commit marker, and then fsync-ing?
The scenario to consider is if you do a large set of writes to this log then fsync it, and there's a failure during the fsyn...
I've been playing with the subprocess module to iteratively send
each line in an input file to a process created by the following command.
ssh -t -A $host 'remote_command'
The remote_command expects a line in its STDIN, does some processing on the
line and iterates the cycle until STDIN closes or reaches EOF.
To achieve this, what I'...
I am writing a terminal emulator in ruby using the PTY library. /dev/tty0 is a device file connected to a keyboard. I am spawning the shell like this:
shell = PTY.spawn 'env TERM=ansi COLUMNS=63 LINES=21 sh -i < /dev/tty0'
It mostly works, but when a subprocess is started in the shell, shell[0] is not outputting the keyboard input to ...
When a page fault exception is raised because the content CPU is trying to access have not been loaded in to memory, how does the OS locate the missing content on the secondary storage (e.g. hard disk)?
Thanks for your explanation in advance.
-ivan
...
Hello, I am trying to make a shell script to remove special characters, like {}()!,' etc. So far I have referenced a past question I asked here, however I get a strange error message:
-bash-3.2$ ./test2.sh
./test2.sh: line 7: unexpected EOF while looking for matching `"'
./test2.sh: line 10: syntax error: unexpected end of file
test2....
I have to use a Unix script to pass arguments:
./Script.sh -c "abc" -d "def" -k "abc -d -c"
where the argument for:
-c = "abc"
-d = "def"
-k = "abc -d -c"
How can I handle options in a Uunix shell script?
...
I am doing some simple JITing, and use VirtualProtectEx under Windows to mark pages as executable.
What would be the equivalent of that under Linux, and preferably, other POSIX/Unix-like OSes too?
...
Hi can someone fix this issue, i am not able to get outpt.
I am not able to get output of -p.
#!/bin/bash
args=`getopt c:m:p $*`
if [ $? != 0 -o $# == 0 ]
then
echo 'Usage: -c <current-dir> -m <my dir> -p <argument>'
exit 1
fi
set -- $args
for i
do
case "$i" in
-c) shift;CURRDIR=$1;shift;shift ;;
...
I am looking for a command line utility on *nix, that can dump the names of all the functions, classes etc. defined in a file(C/C++/Java)
...
Hi all,
How can I do this task: if I kill a process, that process and other processes will all die ?
...
I m really stuck at this....
what i wanna do is to determine the starting and ending address of a USB flash drive when I insert it in a LINUX machine.
Any system calls suggested will be appreciated...
My email id : [email protected]
...
I have a list of a bunch of file descriptors that I have created kevents for, and I'm trying to figure out if there's any way to get the number of them that are ready for read or write access.
Is there any way to get a list of "ready" file descriptors, like what epoll_wait provides?
...
i had made a small bash script in order to get the frequency of items in a certain column of a file.
The output would be sth like this
A 30
B 25
C 20
D 15
E 10
the command i used inside the script is like this
cut -f $1 $2| sort | uniq -c |
sort -r -k1,1 -n | awk '{printf "%-20s %-15d\n", $2,$1}'
how can i mod...
Hi,
How to create a autorun file in linux which is similar to autorun.inf in Windows in order to execute a shell file ie Following are the requirment
1.Autorun the installer file ./example.sh
When CD is mounted onto the system .
...