Hi All,
I'm in need of setting up cron-based VPN connectivity from Ubuntu "Jaunty" to a Windows-based VPN over PPTP for incremental DB synchronization. Using the default Network Manager and PPTP module everything seems to work fine. However, I have 2 issues:
1) Despite checking "Use this only for resources", I still lose my local in...
Hi,
I'm running a slice of ubuntu hardy.
I've installed sphinx, and I would like to run the sphinx indexer every x minutes.
What is the best way to go about doing this?
...
What is the SIGKILL permissions policy?
I assume I can't kill something of the kernel, or of some other user, while running on non-root, but I haven't found any document about this.
...
I working on a simple paint program.
It seemed Qt (and KDE) would be a easy way to implement it.
I find Qt quite easy to work with, but now I have hit a problem.
When I draw something in my program the mouse skips if I move the mouse to fast.
like this:
It susposed to be like one long string.
I'm using mouseMoveEvent() to draw a pixe...
According to the documentation on aio_read/write, there are basically 2 ways that the AIO library can inform your application that an async file I/O operation has completed. Either 1) you can use a signal, 2) you can use a callback function
I think that callback functions are vastly preferable to signals, and would probably be much eas...
Hello all,
I was wondering how people usually navigate through large projects with several source files in Linux environment. I primarily work with C and python and sometimes with C++, C# and Java.
I wanted to know specific editors, plugins etc. I used to program on windows so editors like vi and emacs are not really in my league, bu...
I need to implement a handshake type protocol in to a small Linux program that uses named pipes to communicate with other processes. I've searched for a general implementation pattern for a handshake type protocol when using named pipes but I've not been able to turn anything up...
I simply can't believe that there isn't patterns to do ...
How would I change the wallpaper on a Linux desktop (using GNOME) within a C/C++ program? Is there a system API to do it?
...
hey i am maintaining a site on a linux server. its in php. the registered members can upload files and download it. But I want to implement " view as html " feature (as google do it). Can anyone help me out..
...
Hi,
I just moved from .net development to LINUX MONO development... and i don have much experience with linux dev earlier..
I have a requirement to create a background service (like windows services) in mono c#.. is it possible..
And is it possible to access the LINUX native APIs from mono c#. (like winAPI calls from win c#)..
Che...
Hi,
I'm looking for a free (LGPL, etc) tool for digitally signing a Microsoft Cabinet files (.CAB) in Linux.
I have found a tool that does that job, named osslsigncode: I can't use it in our commercial product since its GPL. I can't even buy it since the guys who wrote it are unavailable.
For those who are wondering how I create the C...
I have a script that will produce daily rotated backups for mysql, but I can't find anything similar for postgres. I have also discovered that it has an online backup capability, which should come in handy since this is a production site.
Does anyone know of a program/script that will help me, or even a way to do it?
Thanks.
...
I want to get the CPU and memory usage of a single process on Linux - I know the PID. Hopefully, I can get it every second and write it to a CSV using the 'watch' command. What command can I use to get this info from the Linux command-line?
...
I want to execute a long running command in bash shell, and both capture its exit status, and tee its output.
So I do this
command | tee out.txt
ST=$?
The problem is that the variable ST captures the exit status of tee and not of command. How can I solve this?
Note that command is long running and redirecting the output to a file to...
hi there
I just made a website and after running it, i think is running slow. I've put YSlow firebug plugin, and I get a C mark for my website speed(very bad, because there are some images texts and some css)
first i have to "add an expire header". How can I do that, if my hosting servers are on godaddy deluxe linux account?
many thx
...
I'm using a pixmap as a window's backup in order to restore it under expose events. When the window is resized, must I resize the backup pixmap?
If so, what is the best way? Create a new pixmap with the new size?
...
I am running eclipse in Linux and while shift+control+U+1+1+1+1 works in other apps (where 1111 are the 4 digits of the unicode character in question) like firefox, it fails in eclipse.
I just want to add some special chars to my Java string.
...
Is there any way to revert or undo git pull so that my source/repos will come to old state that was before doing git pull ?
I want to do this because it merged some files which I didn't want to do so, but only merge other remaining files. So, I want to get those files back, is that possible ?
Thanks :)
EDIT I want to undo git merge for ...
Is there a way to change UID/GID only of one thread in a multithreaded process?
The reason for this is writing a file-serving application - the ACL's and quota are not enforced unless the uid/gid of the caller is set to the correct user, new files/directories are not created with correct uid/gid etc.
The network applications can usual...
Hello StackOverflowers of the World,
In this age of many languages there seems to be a great language for just about every task and I find myself professionally struggling against a mantra of 'nothing but C is fast' where fast is really intended to mean 'fast enough'. I work with very rational open minded people who like comparing numb...