I noticed when a file is executed on Windows (.exe or .dll), it is locked and cannot be deleted, moved or modified.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Monday, June 4, 2012
Locking Executing Files: Windows does, Linux doesn"t. Why?
Sunday, June 3, 2012
How to get 100% CPU usage from a C program
This is quite an interesting question so let me set the scene. I work at The National Museum of Computing, and we have just managed to get a Cray Y-MP EL super computer from 1992 running, and we really want to see how fast it can go!
Friday, June 1, 2012
Is the Windows dev environment worth the cost?
I recently made the move from Linux development to Windows development. And as much of a Linux enthusiast that I am, I have to say - C# is a beautiful language, Visual Studio is terrific, and now that I've bought myself a trackball my wrist has stopped hurting from using the mouse so much.
Sunday, May 27, 2012
How do I get Windows to go as fast as Linux for compiling C++?
I know this is not so much a programming question but it is relevant.
Friday, May 25, 2012
iPhone development on Windows
Is there a way to develop iPhone (iOS) applications on Windows? I really don't want to get yet another machine.
Wednesday, May 23, 2012
"lsof" equivalent for windows
One of my favourite tools for linux is lsof - a real swiss army knife!
Trying to fix line-endings with git filter-branch, but having no luck
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 borked.
Thursday, May 17, 2012
Wildcards in a hosts file
I want to setup my local development machine so that any requests for *.local are redirected to localhost . The idea is that as I develop multiple sites, I can just add vhosts to Apache called site1.local , site2.local etc, and have them all resolve to localhost , while Apache serves a different site accordingly.
Tuesday, May 15, 2012
PHP script - detect whether running under linux or Windows?
I have a PHP script that may be placed on a windows system or a linux system. I need to run different commands in either case.
Friday, May 4, 2012
Can PHP tell if the server os it 64-bit?
I am dealing with Windows here.
I know you can use the $_SERVER['HTTP_USER_AGENT'] variable to detect the OS of the browser viewing the page, but is the any way that PHP can detect the server's OS?
Wednesday, February 29, 2012
C++ - inheriting ostream crashes on android but not windows
I have implemented a simple ostream and streambuf class. For some reason, it crashes when I try to instantiate my AndroidLogOStream object.
Saturday, February 25, 2012
Getting the windows Command prompt back
Is there a way we can get Command prompt of windows 7 back? In linux we append "&" ? I actually run a java program which will listen on a port continously. It is working in lunux as it gives the terminal back but "&" is not working in the windows cmd. Thanks
Java - Get first and last name of user
Here is my situation.
I am writing a program that will store a database. Currently, the way of identifying the user is by their computer user name. I am very desperate here, so any ideas will work. I am looking for ANY method (doesn't always need to work) for BOTH OSX and Windows computers that will somehow fetch the user's first and last name.
Friday, February 10, 2012
Java deploy webservice ejb to Windows Weblogic
i have a problem with deploying webservice jar file to Weblogic. If i deploy on same version WL linux machine works ok. If i deploy to windows machine it gives error msg NoClassDefFound.