version

Git version is different between remote and local copy

Do you think I will have any kind of problem by using different git software versions between the remote and local copy? In my case the remote is 1.6.5.7 and the local is 1.6.5.1 (few bug fixes) Thx ;) ...

Check Windows version

How I can check in C++ if Windows version installed on computer is Windows Vista and higher (Windows 7)? ...

Things to do before upgrading Ruby

What should I do before upgrading to the latest version of Ruby? any tips? Update sorry for my unclear question. my condition: I've upgraded my Ruby from 1.8.7 to 1.9.1p243. It makes me can not use all installed gems. so, what should I do before upgrading Ruby? uninstall all my installed gems? I was looking in other SO posts in here...

How to add PE metadata?

Windows PE (portable executable) files contain metadata that appear in the file's Properties dialog under the Details tab. It appears that arbitrary metadata can appear there. What I'd like to do is add a piece of metadata to a C# class library that I build whose value is the commit id from the git repo HEAD the project was built from...

Updated iPhone app not overwriting old version -- why?

When we create a new version of one of our iPhone apps and load it to a device, it shows up as an additional icon instead of replacing/overwriting the old one. Touching the old icon brings up the old version and touching the new icon brings up the new one. This is using ad hoc versions on a debug device -- we have not submitted the upd...

Rollback Ruby Version on Windows

How do you rollback from Ruby 1.9 to Ruby 1.8 ? ...

Apache Changelog: 2.2.12 and 2.2.14

Hello all, I have huge PHP script which I have been running on Apache 2.2.12 and I have recently upgraded to Apache 2.2.14. However, my PHP script doesn't work as it stops at a certain point all the time. I have been trying to work out what the difference is in these two Apache versions, I have looked at this CHANGELOG and have not been...

Assembly.Load strange behavior

I have "Microsoft.Web.Services2.dll" V2.0.3.0 in my GAC of two machines. I am running this line in both of them: Assembly.Load("Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"); (note the version is 2.0.0.0 and not 2.0.3.0) On one machine this fails (as I would expect). In another it works...

Removing version from xml file

I am creating a Xml like format using XmlWriter. But in the output there is version information also. <?xml version="1.0" encoding="utf-8"?> I don't need this in my file. How can I do that? Is there any way to remove it by code? ...

How to make "git describe" mention the presence or absence of local changes?

Hi! How can I check, in a script, if local changes are present? Perhaps in combination with git describe? ...

download previous iphone sdk

Hi does anyone know where I can download iPhone sdk 2.0 and 2.2.1 . I upgraded to the latest version of the sdk (3.1.2) and it broke my application. In the 3.1.2 installer it gave option to install the 2.2 sdk but it doesn't show up as an option in xcode when I try to execute my app. The earliest version it will show me is 2.2.1 Tha...

Product version for VS2010 projects

When I create a new project of any kind (winforms app/classlib ..) using VS2010 beta2, all the projects have ProductVersion field set to 8.0.30703. I was expecting it to be something like 10.0.21006.1. Is this version so because its in beta or is there something wrong with the version that is generated? ...

How to get assembly version of a project in a visual studio 2008 deployment project

Hello. I have a deployment project in visual studio 2008 that installs several C# projects. Among other things, I'd like it to write projects assembly version to registry. Is there a way to automatically find out whats the projects assembly version (written in AssemblyInfo.cs) and write that as value of a registry property? If not, is...

Webhost claims ASP.NET MVC support, but runs .NET 2.0.50727.4200?

Is a server which returns 2.0.50727.4200 for System.Environment.Version going to support ASP.NET 3.5? The webhost claims I should ignore the details in the control panel but I get 2.0.50727.4200 when checking the aforementioned system variable. ...

How can my Rails app accept RAILS_GEM_VERSION minor version bumps

My rails project has this line in /config/environment.rb # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION As we now have 2.3.5 as the most recent upgrade, is there a way to make my environment.rb accept minor version bumps? (without I have to explic...

Making TeamCity integrate the Subversion build number into the assembly version.

I want to adjust the output from my TeamCity build configuration of my class library so that the produced dll files have the following version number: 3.5.0.x, where x is the subversion revision number that TeamCity has picked up. I've found that I can use the BUILD_NUMBER environment variable to get x, but unfortunately I don't underst...

Get javadoc version for a class?

I use the javadoc @version tag in my classes, however I am not sure how to get the version in the class itself. Let's look at an example... /** * @version 1.0a * @author Redandwhite */ public class JClass extends JFrame implements ActionListener, KeyListener { String version = ... } Is there a method/class that can retrieve the...

Running multiple versions of a servlet web application parallel

I want to run multiple versions (like myapp2.1, myapp2.2 ...) of several Java Servlet based web applications parallel. One possibility could be to deploy each version to a separate servlet context (which should have its own class loader?!). But I think it will be hard to manage and won't be flexible, since an application is a quite larg...

How to set Chrome's user script version number.

Hey. I've been wondering how I might set the version number displayed for user-scripts in Chrome's extension tab So far the obvious methods have failed: // ==UserScript== // @version 1.1.5 // @uso:version 1.1.5 // ==/UserScript== I know Greasemonkey for Firefox doesn't use a version value, but since Chrome actually displays a vers...

Directing a VC++ app to use older VC80.CRT version

Hello, I have a VC++ managed app that was built and tested against VC80.CRT version 8.0.50727.762. I verified that the embedded manifest points to 762, and the build machine has 762 as the latest VC80.CRT version. The app has now been also run on a machine that has both 762 as well as a later version of the runtimes (4053). Both mac...