I'm developing a little side-project to display multiple wallpapers on multiple screens under GNOME (something that apparently can't be done by GNOME itself or anything else). I've figured out how to do the main part of it (using the ImageMagick components, for the curious); I'm trying to automate the configuration system.
To do that, I...
I need to write a small program for the university. The problem is, it has to be in C/C++ under linux, and I've never used linux, I anticipate having a lot of problems with the IDE, compilation, and all that.
Is it possible to code it under windows and then "copy/paste" the code and compile it under linux? What are limitations I should ...
Hi there,
I've been checking up on who's been signing up for one of my websites by using the brute-force SELECT * FROM tblUsers;
I hash user passwords, so they don't render as cleartext, and I noticed a strange artifact upon the display of one of them. It's difficult to explain in words, so here's the text of a recent session:
mysql> ...
Hi,
How do I programatically take a screenshot of an application in Linux? I'm using c++. Any idea? For windows there are a lot of resources but I can't find anything for linux
Any help?
Thanks
...
AIX (and HPUX if anyone cares) have a nice little feature called msemaphores that make it easy to synchronize granular pieces (e.g. records) of memory-mapped files shared by multiple processes. Is anyone aware of something comparable in linux?
To be clear, the msemaphore functions are described by following the related links here.
...
I want to learn some practical assembly language having just learned the basic concepts in class. Are there any decent books or tutorials (nasm, etc) that would be recommended?
...
I'm writing a Python backup script and I need to find the oldest file in a directory (and its sub-directories). I also need to filter it down to *.avi files only.
The script will always be running on a Linux machine. Is there some way to do it in Python or would running some shell commands be better?
At the moment I'm running df to get...
I'm using gtkdialog in shell script but I got stuck.I tried "use-markup" to format the font,however it appears does not work.Is not there anything like ?
And if the program has several widgets the layout always be disorderly...
Is there a solution?Or a good tutorial on gtkdialog?(I searched but could not find one besides the user-manual)...
I have a swf file that connects to a remote flash server and receives some data. For security reasons I can't make this swf file web accessible so I can't use browser to run it. Is there a way to run it on the server side from a command prompt (under linux)?
...
Is there a way to tie a network connection to a PID (process ID) without forking to lsof or netstat?
Currently lsof is being used to poll what connections belong which process ID. However lsof or netstat can be quite expensive on a busy host and would like to avoid having to fork to these tools.
Is there someplace similar to /proc/$pi...
On windows machine there are lots of third party editors available to edit a binary file.
I belive there should be some thing similer buildin in the *nix systems as well.
any idea how can i edit a binary file on unix?
...
Hi
I have done some simple changes to the scheduler in the Linux Kernel. Now, I would
like to see how those changes affect the response time of the system; in other words,
I would like to know how long a context switch takes with my modifications compared to the original scheduler. A straightforward approach would be to use the time st...
I seem to be having trouble storing Java preferences using a Jython script. If in Jython 2.5 beta I use:
clazz = Class.forName('mypackage.myclass')
prefs = Preferences.userNodeForPackage(clazz);
# or Preferences.userRoot()
prefs.put('propertyname', 'yes')
The preferences are not stored. If I then add:
prefs.flush()
I get
java.u...
We currently use multiple webservers accessing one mysql server and fileserver. Looking at moving to the cloud, can I use this same setup and attach the EBS to multiple machine instances or what's another solution?
...
At my new job I am doing rails development and I am on Ubuntu (my choice). I want to start up emacs, and 2 or 3 terminals, position them, and possibly cd to directories.
I have been looking all over but can't seem to find any application which will do this.
I am asking this here, because if there isn't an app somebody knows about, it w...
Hi,
The tail command on the DOS does not seem to be recognized on my XP. Any suggestions on printing last few lines on a very big log file on DOS.
Thanks
Arun
...
Hello,
Is there a way to get a list of all open sockets ( socket address or socket descriptor ) in Linux using C in user-space or kernel?
Thank you
...
I'm checking the portability of a shared object (.so) with the LSB AppChecker.
One of the problems it reports is that there is one external library (libm.so.6) that is not being used but is linked against anyways.
How can I prevent GCC from linking to this unneeded library?
EDIT:
The output of the ldd command against my shared object i...
I'm working on a Qt application that used to be a KDE application. In the old days, I just had to use some syntax like:
KDELANG=de ./my_app
That ran my_app in German, and only my_app. It might not have been KDELANG, but it was some environment variable like that.
I've spent a ridiculous amount of time trying to coax this answer out...
Hello, as the title says: what's your IDE of choice to program C++ or Mono under Ubuntu? Is Eclipse a viable way? Is MonoDevelop mature enough? How about other IDEs?
...