configuration

How to change the font of the Android console in Eclipse?

Hello, The question is given, I want a smaller font to display these lines in the Android Console window (NOT the Logcat window). I've changed the other console's font (cvs, svn, ...) in the preferences, but this window still has same font size. I want this window to be much smaller and put it on the side of my screen, not on the bottom...

Prevent creation of conffiles

I'm trying to build a package which has some files under /etc that are not configuration. They are included in the conffiles automatically even if I create an empty package.conffiles in the debian directory. How can I stop dh_installdeb from doing that? ...

PHP config quark with if statements.

Ok this is weird on my development server if I am running a test on a script and shorthand a if statement like so: if($_GET['cat']){ ... Instead of a more pragmatic way like so: if(isset($_GET['cat'])){ ... I will get errors stating that Notice: Undefined variable: pwdmsg in C:\wamp\www\myfile\decrypt-text.php on line 16 ...

purpose of ConnectionString element in .NET .config files

What is the difference between storing and reading your application's connection string in the <appSettings> and <connectionStrings> sections of web.config? ...

Suppress all Logback output to console?

How can I configure Logback to suppress all of its output to the console (standard output)? In particular, I wish to suppress (or redirect) Logback's own log messages such as the following: 16:50:25,814 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 16:50:25,814 |-INFO in ch.qos.log...

Configuring Grails to use own DataSource implementation or to proxy the standard DataSource

In an application I want to use my own implementation of javax.sql.DataSource that extends the standard org.apache.commons.dbcp.BasicDataSource used by Grails and adds the functionality to set the client identifier based on the currently logged in user at the Grails application. What is the best way to change the underlying javax.sql.Da...

How can I share a single set of configuration values amongst all instances of my Sharepoint Webpart?

I have a sharepoint webpart that will exist on many pages. The webpart has a custom editor control that I have developed to present the configuration options to the user in a more friendly manner. Although there will be many instances of the webpart I require that each instance has the same consistent set of property values. Is there...

How to redirect a subdomain in htaccess that has no subdirectories

I have searched on google and stackoverflow for a while, but didn't really found an answer to my question. I want to redirect admin.domain.com to www.domain.com if there are no subdirectories or queries. Examples that should redirect: https://admin.domain.com http://admin.domain.com https://admin.domain.com/ Examples that shouldn't re...

Zend Framework - Loading View Helpers from Modules

Hi, I am putting together a modular application in Zend Framework and am struggling to get module specific View Helpers to load. My directory structure is like this... application ---configs ---controllers ---forms ---layouts ---models ---modules ------user ---------controllers ---------forms ---------modules ---...

RApache config problem

My sysadmin installed RApache for me on our 64 bit Solaris box. I can access the RApacheInfo page here, indicating that the module was successfully installed. There is the following entry in the httpd.conf: <Directory /websites/zbroom> SetHandler r-script RHandler brew::brew </Directory> which should require all files in the dir...

log4net: Custom PatternLayoutConverter not being called

Situation: I want to show the method and line number for the code that logs a message. The problem is that I have an intermediate class which calls into the log4net logger. Unfortunately, due to existing architectural issues, I can't do away with this intermediate class. The result is that I always see the method and line number as be...

Why can I not override make's environment variables in FreeBSD's apache port?

I'm trying to configure Apache 2.2 from ports (in FreeBSD). I've written my own makefile with my desired compile options and as far as I can tell, everything seems to check out. I.e.: make -V <env_var> __MAKE_CONF=~/mk/make.apache22.conf returns what I expect except for PERL5 and USE_PERL5. I've tried setting both variables in make....

Do I need Liferay jackrabbit clustered configuration when using db

Hi, I configured Liferay jackrabbit to use database instead of disk store. This Liferay will be deployed in a clustered Weblogic. I was thinking if I still need to configure jackRabbit for cluster if it is using database? I understand that cluster configuration in repository.xml is required only when data is distributed between nodes b...

How to configure a C# application database connection easily for development and production without changing the code and recompiling?

I'm creating a simple C# Windows Forms application that connects to a SQL Server database. We have a different server for developing and production, and now I'm changing the IP address of the server directly inside the code. The application is going to be deployed, and I am looking for a way to configure things like database server, dat...

How do I prevent un-encrypted report manager connections?

Hi, I am installing SSRS 2008 currently and am trying to ensure that all reports are delivered encrypted, via the certificate we have on the server. I have the default config for SSRS after installation and have added the certificate to Report Server and Report Manager. I can now access https://server/reportserver_instance and https://se...

XCode - Debug configuration removes all GCC 4.2 settings

I have a project that I've just finished painstakingly rebuilding because duplicating a target would cause it to fail (the copy would fail to find its info.plist file no matter what you set in the build settings). Anyway, now that I've rebuilt the project I've encountered another problem: If I'm in "Release" configuration, I have acces...

How to use vs2010 config transform when running/debugging locally?

In the team Im working in we have a big product with many wcf web services and some web sites which use the services. We are just about to upgrade to vs 2010 and Im looking at if we should start using the new config transform functions in vs2010. We have several different environments which needs different web.configs (database connect...

How to configure Cruise Control.Net to show proper error in Web Dashboard?

We have setup Cruise Control.Net to build .Net projects from source control. Problem is that when the build fails the error log shows a huge build xml and we struggle to find out the actual error. How to configure Cruise Control to show error in more readable format? ...

Apache config: send methods other than GET, POST, HEAD to cgi?

I've tried it before and remember that apache2 did not allow to send requests with methods other than HEAD,GET,POST to cgi. Is that true or did I just not find the correct solution back then? I've found somewhere that a line like: Script PUT /cgi-bin/put.pl to access.conf could be used.. What I am trying to do is setting up simple Web...

Managing environment configuration with ant/svn

If a project depends on other libraries whose locations are non-standard, where should the locations be stored? My current solution is to have something like this at the top of the Ant build.xml script: <!-- change these properties to point to the correct library locations on your system --> <property name="lib.foo" location="${user.hom...