I'm in a bit of a bind with Git. I'm trying to execute git commit but I need to be able to swtich between ~/.gitconfig1 and ~/.gitconfig2 Is there a command line switch - or anyway to have Git use a different gitconfig file then the ones found at /etc/gitconfig, ~/.gitconfig and .git/config?
...
I'm developing one of my first Android apps. I come from an ASP.NET world where it's trivial to have separate Web.config files for dev, test, and production. Does anyone have a good, automated way of doing this for Android via Eclipse?
...
Hi
I'm trying to get custom HttpHandler working in my sample web application. I've been experiencing a lot of issues, but finally got stuck with error 500. Application pool is being run in Classic ASP.NET 2.0 mode. Server is IIS 7.5, OS is Win 7 Pro.
Here's a code of my handler:
public class SampleHandler : IHttpHandler
{
public ...
Hello
I'm trying to enable rewrited urls in my project.
it's very good described in this post: urlrewriting by scottgu
It works very well when im running it on localhost, but as soon as i upload it to my host (.net 3.5), it doesn't work! i always get redirected to a 404 page!
Is there a configuration needed to enable this?
as scottgu s...
I am an activeMQ newbie. Is it possible to add something to the activeMQ xml configuration to force a queue to stop accepting messages when (for example) 100 messages are already in a specific queue?
...
hey there
Trying to get HelloWorld working via SSL. Read all those docs:
http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.x509findtype.aspx
http://msdn.microsoft.com/en-us/library/ff648431.aspx
http://msdn.microsoft.com/en-us/library/ms733791.aspx
http://msdn.microsoft.com/en-us/library/ms733813.aspx...
Recently reinstalled postgre 8.3 on my Ubuntu 8.04 after update. Used EnterpriseDB package. I can connect to the database locally, I see system DB postgres but I can't configure it because I can't find config files. Searched through entire hard drive and found only samples like pg_hba.conf.sample
Where they are?
...
As the title states, I would like to implement a Hierarchical configuration in my application. The configuration system in IIS7 is basically what I need.
Configuration applies to a Hierarchical collection of objects
Defualt configuration is applied to the root node
Individual settings propagate down the hiearchy
At any point in the hi...
Hi all,
Some apps clog up the select widget activity by adding different configuration activities. like the screenshot here: Multi Configuration activities
Is there a way to have one icon in the select widget (like Mini Info) and one configuration activity and set different layouts for widgets there?
Thank you
...
Hello,
I am using a standalone Oracle.DataAccess manual installation for my project to avoid a full Oracle client installation on customers machines (no oracle home). For this I followed this guide and it works pretty well.
Actually the user/password is stored in a configuration file but I want to use the current AD user so I need to p...
I have a solution with about 10 projects with read-only config. They are web applications, windows services, console apps, etc. All projects except for one are on the same server. Each project has 3 environments - dev, test, and production. So there are 30 different sets of configuration, each one with a decent number of settings. I...
I have a simple .exe written in C++ (built with Visual Studio 2005) that tests some hardware using a supplied API. It works fine on the Windows 7 machine I built it on, but when I copy it to another (Windows 7) machine and run it (from the command-line) I get:
The application has failed to start
because its side-by-side configurat...
Hi all,
^Question^
I think that it would be too complex to open a database. Does using shared preferences make my app's data size become big. Is there a temporary storage place for my data or should I delete the data in the shared preferences for that widget.
Short code samples are very appreciated :)
Thank you
...
I'm building a J2EE application in which I want to allows plugins. I'm fairly convince of the goodness of IoC framework, and so the application will have one to manage services.
Now, I want to allows plugins to be added as simple JAR dropped in the classpath + perhaps a simple configuration file to edit to activate them, in no way some...
I am guessing it is creating a second .csfg file, but the config thing is hardwired into the Azure project type so I'm not really sure.
For example, if I wish staging and live to point at different sql-azure databases, how do I go about it?
Thanks
...
I sometimes need to pass additional parameters to a page via the URL. I did this in the past with a couple of generic placeholders in the routes file, which I call "genus" and "species". This used to work, but now it has started producing URLs with query strings.
The Rails version is 2.3.8.
The routes file is:
ActionController::Routin...
Hello,
I got a question about Tomcat + Glassfish configuration. I got 2 enterprise application running on the same machine and with JKMount i have managed to redirect traffic from 8081 to one of them and 8082 to another, but now I also need to deploy WebService. I have deployed WebService and the URL where it is accesible is http://loca...
Is there a way to have the main .net configuration file app.config/web.config include another configuration file? I have a need to keep things in separate files, but link them together.
Here is a sample of what I want to include:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicat...
I am wanting to set up a Run/Debug Configuration in IntelliJ for JUnit. I know how to set it up to run a specific package, a specific class, or a specific method. I was wondering if there was a way to set up the configurations so it will run the currently opened Class file or the currently selected test method. I would imagine I would pu...
In a previous question I asked how I could display two different layouts for portrait and landscape orientations:
Problem switching to landscape orientation
Now I would like to know how I can save the state of my application before it goes into another orientation? I seem to lose this data any time orientation changes.
...