configuration

Ruby on Rails - Storing application configuration

Hi, I have a relatively simple Rails app and I would like to store various configuration settings that administrator users can change whilst the application is running, for example, allowing comments on posts or changing the display format of the date. I know I can store constants etc in the environment.rb file, however these appear to ...

Where does CodeGear Delphi 2009 store settings

I'm running windows 7 ultimate (32bit) and have a very anoying problem with my installation of delphi. The problem is with the feature "Code Insight" and with "Code template completion", it is very anoying when it every time i write something and it wants to complete some piece of code for me (for example i hate it when he completes the...

Eclipse + DN + C3P0

I'm trying to put C3P0 up & running. http://www.datanucleus.org/products/accessplatform/rdbms/c3p0.html I have These as Plugins (app runs fine): datanucleus-connectionpool-1.0.2.jar datanucleus-core-1.1.0.m3.jar datanucleus-enhancer-1.1.0.m1.jar datanucleus-rdbms-1.1.0.m3.jar I added (to the classpath): c3p0-0.9.1.2.jar And the par...

DN 2.0.0 & Eclipse 3.4.2

Tried to install DN 2.0.0 from scratch on Eclipse RCP 3.4.2 development env. org.datanucleus.ide.eclipse_2.0.1 was installed via eclipse updates datanucleus-core-2.0.0-release.jar datanucleus-enhancer-2.0.0-release.jar datanucleus-rdbms-2.0.0-release.jar were added to the CLASSPATH. HERE is the project MAN...

Enabling jitDebugging for WinForms

Hi, I am trying to enable JIT debugging for my winform application, I want to use Dr Watson to dump the stack trace, but when the exception is happening on my App I get a .NET dialog box (Continue or Quit), the details in this box say that I have to change some values in the machine.config or in the app.config of this application will i...

Using Python like PHP in Apache/Windows

I understand that I should use mod_wsgi to run Python, and I have been trying to get that set up, but I'm confused about it: This is a sample configuration I found for web.py: LoadModule wsgi_module modules/mod_wsgi.so WSGIScriptAlias /appname /var/www/webpy-app/code.py/ Alias /appname/static /var/www/webpy-app/static/ AddType text/h...

Do you still use the .Net Configuration tool to give Visua Studio 2008 SP1 access permissions to code on a network drive? If so where is it?

Hi I cant seem to find the old mscorcfg.msc snap in to give .net permission to access a shared network drive. Ive downloaded the Windows SDK 2008 which superseded .NET 2.0 SDK (Where it used to be) but cant find it. Does anyone know if it has been deprecated? Is there a new way to give .Net permissions to a shared network drive? ...

How can I gather a useful system profile on Windows?

A few of my users have problems starting up my Java application on Windows XP and 7. I cannot reproduce the bug on my systems. On Mac, the next step would be to ask them to send their system profile to me by going to Apple Menu > About This Mac > More Info and then saving the system profile. Is there an equivalent on Windows? I would l...

How to use GVIM to edit a remote file?

I use GVIM on Ubuntu 9.10. I'm looking for the right way to configure GVIM to be able to edit remote files (HTML, PHP, CSS) by for exemple ftp. When i use :e scp://username@remotehost/./path/to/file i get: error detected while processing BufEnter Auto commands for "*":E472: Command failed. When i open a file on remote via Dolphin or Na...

Best performance for loading settings in PHP?

My latest idea for do settings across my php project I am building was to store all my settings in a config PHP file, the php file will just return an array like this... <?php /** * @Filename app-config.php * @description Array to return to our config class */ return array( 'db_host' => 'localhost', 'db_name' => 'socialnetwor...

How do I create WCF EndPointBehaviors in Code rather than the configuration?

I have the following Xml Configuration <system.serviceModel> <services> <service name="MyService.MyServiceREST" behaviorConfiguration="MyServiceTypeBehaviors"> <host> <baseAddresses> <add baseAddress="http://localhost:1234/MyService/xml"/&gt; </baseAddresses> ...

Override Glassfish Generated WSDL Service Endpoint Address

I have a web service generated by wsgen through maven. When I deploy the service to Glassfish it places the server URL into the WSDL. Our Glassfish server is fronted by an Apache proxy server. What this all means is when someone accesses our WSDL and looks at the service endpoint and the soap address location they see is http://app...

using my own config file in my application

As a practice exercise at my college we have to make a simple room booking system, complete with its own config file. We're not allowed to use the one built into VB.NET (the professor wants us to adapt to not relying on things like that) so I've made my own. This is a sample: // Config file. // First column is the variable name that wil...

Ignoring apostrophes in sphinx indexes

In my sphinx config file, I have the following: ignore_chars: "U+0027" charset_table: "0..9, a..z, _, A..Z->a..z, U+00C0->a, U+00C1->a, U+00C2->a, U+00C3->a, U+00C4->a, U+00C5->a, U+00C7->c, U+00C8->e, U+00C9->e, U+00CA->e, U+00CB->e, U+00CC->i, U+00CD->i, U+00CE->i [SNIP]" (The charset_table entry is from here: http://speeple.com...

How to synchronize configuration between git setups?

Hi, I'm new to git, and I'm doubting how can I synchronize config files between developers. Let's say I want all developers to have core.autocrlf set to true, or the same commit template, how can I do it? Any idea? Thanks! ...

What Linux tools are available to monitor/configure deployed code?

I'm writing some telecommunications software, and must devise a way to monitor and configure the software after it has been deployed on a server. The company I work for currently has an in-house solution, but we're exploring other options. What tools are available that can do the following (preferably all in one package): 1) Deliver s...

How to encrypt and decrypt custom configuration files (XML files) in C#

Hi guys... I am new to the forums. I've just started working on C# and webservices for the past 3 months and I've got a great web service rearing to go. Unfortunately, there is a custom "configuration" file (really an XML file) that we use to store our connection strings. We don't want to use the web.config connectionstring section bec...

asp.net mvc authorization problem

I am trying to add authorization to my controllers and it's not working... I am not sure where to look in my program, but adding the [Authorize] filter in my controller is not working, let alone anything like [Authorize(Roles = "Manager")] I have been able to get this working in the default application that is provided when crea...

Tomcat6 - 2 wars, 2 hosts

Hi, I have 2 war files app1.war and app2.war. I have 2 hostnames domain1.com and domain2.com. I have one desk top running ubuntu and tomcat6. I would like to know how to configure tomcat to serve app1 for domain1.com and app2 for domain2.com. Thanks in Advance. Regards Gireesh ...

Access a settings/preferences file on a server

My application has historically used an ini file on the same file server as the data it consumes is located to store per user settings so that they roam if the user logs on from multiple computers. To do this we had a file that looked like: [domain\username1] value1=foo value2=bar [domain\username2] value1=foo value2=baz For this re...