I am sure someone may have already asked this type of questions before, but I can't seem to find a similar question.
I have something like this:
client = Client.GetInstance(type.objectA));
if (client != null)
{
result += client.SaveObjectA(object);
}
client = Client.GetInstance(type.objectB));
if (client != null)
{
result += clie...
I am a one-computer shop, and increasingly I am thinking I need some redundancy for storing programs and other code.
Should I use code.google.com, or sf.net, or codeplex.com or another online Source Control system for this? It wouldn't be to host a particular project, but more like a storage area for everything that isn't in a big pro...
Is there a program which I can run like this:
py2py.py < orig.py > smaller.py
Where orig.py contains python source code with comments and doc strings, and smaller.py contains identical, runnable source code but without the comments and doc strings?
Code which originally looked like this:
#/usr/bin/python
"""Do something
blah blah......
In the XCode debugger, I can only see the disassembly code, I do not see the section for source code. I tried the "source code and disassembly" options in Debugger display. Nothing changes. Can someone please help me with this?
If your suggestion is "read more documentation", please don't waste your time or mine. No one is forcing you t...
Whenever I use the Eclipse source code formatter / beautifier (via the menu item Source - Clean Up or CTRL - SHIFT - f) it reformats statements that I have broken into multiple lines back into one line that is longer than 80 chars, eg I have:
public CDataCacheContainer loadDataset(CDataFileDef dsd)
throws IOException {
and it beco...
Do you know where I can download the source code for prior releases of Google Chrome (Chromium)? All I can find is the current version, at http://build.chromium.org/buildbot/archives/. Specifically, I want something before 3.0.195.24.
Thanks.
...
I'm developing a commercial project on an ARM based embedded board with a custom Linux kernel on it, using Ruby. Target workspace of the project and the device is a closed-environment, no ethernet, inernet, I/O devices etc... I want to protect my code/program so that; it'll only work on the specific machines I let (so; people cant just c...
If I come to the point where I get a job that has almost identical requirements as a previous job, I try my best to reuse and repurpose previous work.
It is never that easy and it usually takes some time (but not as long as redoing it from scratch!)
Anyway, I have a few jobs coming up where they need identical login systems. Where as p...
I checked out the Mono source code, and searched all files for some of my favorite .NET classes with no results. I'm pretty lost and I want to know:
In which language Mono is written?
Where are, in all those folders, the source files with the equivalent .NET classes implementations?
It's easier to build it in Windows or Linux?
...
I have occasion to need to print code (Horrors!!! ;) ), and i was wondering what editor or tool would i use to print that code out with proper formatting and syntax highlighting? If it's important, it will be c# code but ideally the tool will work for as many languages as possible. Can Notepad++ or something handle this?
...
[i meant to ask this question on StackOverflow...]
I have been using VisualSVN Server without any problem on Vista.
When it is time to change everything to Windows 7, I wonder what's the best way to do that?
Is it best to "check in" all the code from all machines onto the Vista, and do an SVN Update for one machine, and then reinstall...
Is there any way by looking at a site (maybe through viewing source) to see what underlying technologies were used to develop it? I'm looking specifically to see what frameworks (if any) are being used, but other details would be nice as well.
...
Hi,
Honestly, I know nothing about pear (... installation and all). But I know that there are MANY useful functions available through pear. I wonder if it is possible to use a source file out of the repository and use it with complete disregard for the rest of pear?
Thanks
Edit:
After I read Mike's answer I think I'd better explain mo...
I'm interested in natural language processing and wondering what approaches have been used to search for programming constructs and idioms in code. Assuming we can generate an abstract syntax tree for the program it should be possible to identify common constructs and perhaps deduce something about the motivation of the program(mmer). Fo...
I want to see the source of functions like ns_initparse(), res_search() etc. Where can I look for them?
...
ok. I know about the WebRequest and the WebResponse objects. The problem is that i do not really want to get the source code of the webpage, i only want to check to see if the link exists or not. The thing is, if i use the GetResponse method, it goes an pull the entire soource code of the site.
i am creating a broken link checker wit...
I have to turn in a hard copy of some code with an assignment. Is there any way in Visual Studio 2010 to print C# source code with syntax highlighting?
PS: The assignment is solving a math problem, so the choice of language isn't important and the teacher doesn't need to compile and run the program. She just wants to see our approach an...
If our source code was on
C:\code
when on Windows Vista, and now the machine is made into dual boot Vista and Windows 7.
So when booting to Win7, the folder is now
D:\code
and there are hidden folders ".svn" that was there from the Tortoise on Vista.
So now if Tortoise is installed again on Win 7 (as well as VisualSVN Server) an...
I'd like to know this information for IIS versions 6.0, 7.0 and 7.5.
...
I've completed my web app and am using mongoose to serve the php pages. The whole app & mongoose is less then 2MB.
The php5ts.dll is almost 5MB so that really adds bloat. Also, my app is very minimal so I don't need many of the php features, ie. mysql & crypto.
I've used UPX to compress it down to 1.7MB, however thats the same I was ge...