What are some of your favorite settings in Git configuration files to make Git Fun?
What are your favorite Git configuration settings which make your life easy while working with Git? ...
What are your favorite Git configuration settings which make your life easy while working with Git? ...
Hi, it's about Ruby On Rails. I want to use Googleauth and need to add a line starting with "config.gem" in the Rails:Initializers block in the environment.rb. Sadly, Passenger tells me that this would be an unkown command. config.gem "googlebase", :lib => 'google/base', :version => '0.2' What do I have to change to get, possibly be...
How can I modify the mercurial.ini file to include an environment variable such as %userprofile%. Specific situation: I am learning to use Mercurial. I have modified the [ui] section of Mercurial.ini (in my home path) to include: ignore = c:\users\user\.hgignore Where user is my username literal. The .hgignore file includes filter...
Hi! I am writing software, which allows simultaneous user access to configuration commands. And I want to include some kind of configuration management into it. So that one user can edit and then commit config, the other can see diff between versions. So I am looking for libraries, that implement these (or similar) functions. Can you r...
What is a best practice for storing user messages in a configuration file and then retrieving them for certain events throughout an application? I was thinking of having 1 single configuration file with entries such as REQUIRED_FIELD = {0} is a required field INVALID_FORMAT = The format for {0} is {1} etc. and then calling them from...
I have a COM component written in C# that makes calls to ConfigurationManager.AppSettings.Get(...). This component is instantiated inside an unmanaged C++ application. Every time, ConfigurationManager.AppSettings is unable to read the configuration file. There might be two problems. 1) What should the app.config be called when the app...
Hi, I need to decide which configuration framework to use. At the moment I am thinking between using properties files and XML files. My configuration needs to have some primitive grouping, e.g. in XML format would be something like: <configuration> <group name="abc"> <param1>value1</param1> <param2>value2</param2> ...
Hi, we run a WCF service hosted in IIS7 on Win2k8. We see the following error in the event log. The WMI provider was not registered. WMI Object: System.ServiceModel.Administration.WbemProvider/65126532 Error:80041003 Process Name: w3wp Process ID: 10144 Which WMI provider has not been registered? What setup procedure was supposed ...
Hello, I am having difficulty understanding how to exactly go about adding known types; for WCF, from a configuration file that is external to my wcf. I found an example of how to set the configuration file up, however, I am a bit confused as to the way the file is set up and I am not sure as to how I am actually supposed to call this ...
On my web site I want to serve user a page with a lot of small pictures on it, kind of like thumbnails in Windows. All pictures are files ranging in size from 1KB to over 300KB, but usually no bigger than 5KB. Currently all those images are located in a folder on the web server (linux+apache), but I don't think this is the best solution...
For those of you that use Mercurial with the MQ extension: This is the second time I accidentally submit changes to the central repository (hg push) instead of applying a patch to my working directory (hg qpush). I think this is very unfortunate, because it is a very simple error to make and has very severe consequences (the least havi...
We are getting this error: System.ServiceModel.ServerTooBusyException: The request to create a reliable session has been refused by the RM Destination. Server 'net.tcp://localhost:50000/' is too busy to process this request. Try again later. The channel could not be opened. As I understand it, I need to increase the v...
I have a scenario where I am asking consultants to deploy 2 applications. A console application and an IIS web service application. Both apps form part of the solution. I haven't created an easy to use installer, but was wondering if there is an open source config editor that I can ship with my app that can read in "only certain" value...
You can set the Vim color scheme by issuing :colorscheme SCHEME_NAME but, oddly enough, you can't get the currently used scheme by issuing :colorscheme as this results in "E471: Argument required". I also don't see the color scheme listed in the output of :set. So how do you go about figuring out the current color scheme in use (o...
Hi everybody! How do i setup the configuration in XML (for Windsor Castle) for the following class? public class Repository<T> : IRepository<T> where T : class { .... } I know how to do it in code but i must use XML file Thanks in advance ...
I'm writing an application around a lot of hierarchical data. Currently the hierarchy is fixed, but it's likely that new items will be added to the hierarchy in the future. (please let them be leaves) My current application and database design is fairly generic and nothing dealing with specific nodes in the hierarchy is hardcoded, with...
I have a strange issue that I can't figure out. I have a custom settings class that inherits ApplicationSettingsBase. It has a user scoped settings as shown below. /// <summary> /// The Last Active Account /// </summary> [UserScopedSettingAttribute()] public AccountKeyClass ActiveAccount { get {...
Hi, I want to be able to configure the 'RowDelimiter' and 'HeaderRowDelimiter' values used by my Flat File Connection Manager using my XML configuration file. I've used XML config files with SSIS packages many times without any problems, and so I know my config file is correctly formatted and is being picked up by my package, but the p...
Being the one always trying to boil things down to common patterns, I'm having a hard time figuring out the best and/or recommended ways of managing all those random properties throughout an application. I am looking for some SO wisdom. What are the random properties I'm talking about? Here's a small list: favicon alt text for rando...
I'm having difficulty conditionally creating a dependency. Googling, I have yet to find a good example of using the BuildStack and Conditional Predicates. Here's what I'm doing in the Registry: //snip public SomeRegistry() { this.InstanceOf<IFoo>().Is.Conditional( c => { c.TheDefault.Is.Constru...