With a Qt DBus proxy built on QDbusAbstractInterface (via qdbusxml2cpp), what's the best way to handle the service/object you want to interface to not being available when you start? Note: I'm not interested in simply knowing it (you can use BlahService.isValid() to find that out); I want to be able to know if it's valid, and know when ...
I have several text files whose lines are tab-delimited.
The second column contains incorrect data.
How do I change everything in the second column to a specific text string?
...
How do I replace whitespaces with tabs in linux in a given text file?
...
Is there a good way to test whether I am logging into a text shell or starting a GUI session in my .bashrc? For example, to set my editor to gedit if in gnome and emacs if using a command line.
...
What would be an easy way of implementing a console-based progress indicator for a task that's being executed, but I can't anticipate how much time it would take?
I used to do this back when I coded in Clipper, and it was only a matter of iterating through the chars '/', '-', '\', '|' and positioning them in the same place.
Any way / l...
Excuse me, may I ask in linux, is there any way to call php code from the monitrc file of Monit?
THanks
...
How to obtain motherboard and processor unique identifiers in Mono under Linux?
Note: .Net namespace System.Management has no counterpart in Mono
...
Hi All,
I have a Gumstix (runs linux) that im using for a project and would like to be able to configure the ethernet / wifi configuration through a web page running on the built in web server.
Think of how routers and the such work - you can log into a default web address and configure everything from there - thats what I want to be a...
Possible Duplicate:
Best tools for code reviews
Hi All,
I want a code review tool , that is simple to use , nothing fancy and must be able to pull source or integrate with SCCS.
Could be web based or a desktop client.
I will be using this on linux. AIX would be preferable.
Code i will be reviewing is perl, but that shouldn...
I have launched an EC2 linux instance (a rightscale CentOS v 5.2 i386 image) and want have followed a tutorial (http://www.ardentsoft.com/blog/2009/3/4/lamp-on-ec2-part-6-configuring-apache.html) for configuring PHP and Apache. Now I need to know how to get my PHP files from my dedicated server up to the cloud. I usually use dreamweaver ...
I'm trying to figure out the best way to find the number of files in a particular directory when there are a very large number of files ( > 100,000).
When there are that many files, performing "ls | wc -l" takes quite a long time to execute. I believe this is because it's returning the names of all the files. I'm trying to take up as ...
Hi all,
I have never written any IPC C++ on Linux before.
My problem is that I will have multiple clients (writers), and a single server (reader). All of these will be on the same machine. The writers will deliver chunks of data (a string/struct) to the reader. The reader will then read them in FIFO and do something with them.
The typ...
I am trying to load a JPEG image using the cvLoadImage function and it fails. I get the output "image not loaded" (see the code below). However a window appears but no picture.
When trying to load png pictures the cvLoadImage operation is successful, i.e. the picture is presented in a window. Is there a package that I might be missing or...
I wasn't really sure if this was the right site to put this question on, but I put it here since this is sort of a programming question and I figured the SO crowd was the most Linux-oriented of the three sites.
Anyways, I'm trying to find out a way to simulate disconnecting a device from a software aspect, just as if a user physically ...
Under windows, when I need to perform a basic calculations, I use a built-in calculator. Now I would like to find out what is the common way if you only have a shell.
Thanks
...
I want to write a software, when monitor connect with D-sub connector,
this software will pop-up, and ask user to mirror monitor or extend monitor.
but i doesn't find any event emit when d-sub connect.
on Windows vista, if you connect a monitor, vista can pop-up a software to same thing.
does anybody know how to detect d-sub connect ev...
Hi,
I have problem with getting server date (linux server). When I use linux 'date' command I get properly date value (real date). If I modify some file
on server, modify date is also properly (real date). But if i use java code System.out.println(new Date()) on server I get date with 1 hour difference
i.e. linux 'date' command result = ...
I'm writing a Linux application which observes other applications and tracks consumption of resources . I'm planning work with Java, but programming language isn't important for me. The Goal is important, so I can switch to another technology or use modules. My application runs any selected third party application as child process. Mostl...
At the moment I'm developing using a simple editor, putty, and a VirtualBox instance of a linux server. I've heard good things about pydev and would like to try it, but I'd like to use the python install & terminal from my VirtualBox guest OS.
I'm already using a Shared Folder with VirtualBox so my Guest OS can see my local files.
Is i...
Hi Friends,
I am working on embedded device which does not have Floating Point Unit, I want to port QT-embedded-linux to it. So Please tell me that whether drawing library of qt has fixed-point or not?
Thanks, Sunny.
...