I have been bitten by the windows/linux line-ending issue with git. It seems, via github, msysgit, and other sources, that the best solution is to have your local repos set to use linux-style line endings, but set core.autocrlf to true. Unfortunately, I didn't do this early enough, so now every time I pull changes the line endings are ...
We are challenged to write a program that prompts the user to enter a password. The right password is " I Love Java programming "
And it should be that the password has a single space before and after just like what I've written. Now, there is a condition, that if a user enters more than 2 or more spaces before or after the right passwor...
Hello!
I want to update a large amount of SVN-versioned projects at once, using a script.
It takes very long when running update jobs one by one.
So I tried to run the jobs in parallel. It seems to work, however I'm not sure
if it's done correctly.
Perhaps there are concurrency issues I didn't think of?
Please take a look at the scrip...
Hi,
I have directory called "mysourcedir" it has sonme files and folders. so i want to copy all content from this directory to some other "destinationfolder" on Linux server using PHP.
function full_copy( $source, $target ) {
if ( is_dir( $source ) ) {
@mkdir( $target );
$d = dir( $source );
while ( FALSE !== ( $entry = $d->read() ...
Hi,
I'm in a c++ project on linux in the starting stages. (team contains 3-5 developer, IDE is Eclipse CDT 6) And i'm wondering your ideas about what should be the project structure about the following subjects:
Dependency management, how would you reference different sub-project directories in the same project
Building system, handwri...
I was wondering if there is a way to use ftp to only get files that match a wildcard if the files is newer than the local copy?
I know I can use mget * but that will get everything and I only want to get the file(s) if they are newer than a local copy. Is there a way to use mget in combination with newer?
...
possible to convert ruby script to exe so that source code not visible ?
...
I have a ncurses app that checks terminal size at startup and exits immediately if it doesn't fit.
In Linux, the default size is 80x24, this app requires at least 25. The fix is easy, I'm just resizing the terminal emulation window (in X) before running the ncurses app.
I would like to automate the ncurses app with pexpect, but I'm get...
How to create gtk+ windows without title bar(header) in linux?
...
I want to capture the Control+D signal in my program and write a signal handler for it.
How can I do that?
I am working on C and using a linux system.
...
hi mono fans,
I did something quite similar to this:
http://stackoverflow.com/questions/1060539/parallel-asynchronous-ajax-requests-using-jquery
We develop a public website, utilizing shopping apis from amazon,ebay etc.
i have 3 requests going off in parallel ( I know they go off in parallel, because I pass in the client's current ti...
On various mobile phone developer sites like Nokia, Sony Ericsson, Motorola etc...
I found Java ME development SDK's for mobile phones but only installable on Windows OS... I have a Ubuntu OS (Jaunty Jackelope) at home and was wondering if Mobile SDK's Linux installable versions are available?..
I have the NetBeans IDE installed on ...
At my work all of the project data resides on an NFS that is accessible from both Linux and Windows machines (using Samba). All of the work is done on Linux, but I'm toying with the idea of compiling some of tools for Windows so that I can debug with Visual Studio.
I already have a nice makefile that can build the code for both 32-bit ...
We can get a file descriptor from a FILE* stream by using the fileno function. Is there a function for getting a FILE* stream from the file descriptor without reopening the file?
...
I have years of C++ programming experience in Windows. Now I need to program some applications for Linux. Is there any resource that helps me quickly get the required information about Linux technologies available to C++ developers?
...
I'd like to set the 'rating' of a specific track (i.e. not only the one currently playing) on Banshee through the DBus interface?
...
Hello,
I use debian and g++. When compiling i get error-messages like these:
In static member function ΓÇÿstatic void* v4::_mb_blocs::operator new(size_t)ΓÇÖ:
Can i tell gcc to do its output in utf-8 or something ?
...
Hello,
How can I detect when a flash drive is plugged in? I'm using a bare Debian installation, without any GUI and want to be notified in my Python script when a new flash drive appears... I know that D-BUS distributes such information, but i dont want to use D-BUS. Is there a more bare access to that information? Shouldn't that be ava...
I am looking for Ajax testing tools . is there any free tools avilable for testing ajax
Edit 2 : apart from firebug is there any other tools ;)
...
I have a multi-threaded application(C++ and pthread library) and I will like to know how much resources(CPU and memory) each thread uses.
Is there a way to find out these details on Solaris and Linux both or on either of them.
...