config

How to handle video calls on Asterisk with Sipdroid?

Hey all! I'm currently able to send video from one soft phone to another but I'm not able to receive the video. So I'm only seeing the video that's being sent from the same phone sending it and not seeing the other phone's video. I know it's possible but I can't seem to figure out how to do this. I already added videosupport=yes in the ...

Rename config.ini section using ConfigParser in python

Is there an easy way to rename a section in a config file using ConfigParser in python? I'd prefer not to have to delete the section and recreate it, but that is my only answer right now. ...

More sub-settings in config file

Can anybody tell me, how can I read this from a config file? <DatabaseTypeMap> <DatabaseType Type="130" Name="Edit" /> <DatabaseType Type="129" Name="Edit" /> <DatabaseType Type="3" Name="Count" /> <DatabaseType Type="135" Name="Date" /> </DatabaseTypeMap> I use that: public class DatabaseTypeMapElement : ConfigurationElement...

Magento custom currency saving?

I'm trying to get some currency exchange rates in a seperate php file in magento and saving them: <?php // Initiate application $mageFilename = 'app/Mage.php'; require_once $mageFilename; Mage::app(); // Code to create my $rates array /** CODE **/ foreach ($rates as $currencyCode => $currencyRates) { Mage::getModel('directory/c...

How to fix NetBeans6.9 UI inconsistency ?

I bought a new PC, so I installed NB6.9 on it, but I want to use UI configs from my old PC, so I copied "???.netbeans\6.9\config" from old PC to the new one. The default key for F6 in NB is "Run Project", but in my old PC, I've set F6 to "Run File", while shift+F6 was assigned to "Run Project". Since I set them by hand on the old PC, th...

How to get the values of a ConfigurationSection of type NameValueSectionHandler

Hello, I'm working with C#, Framework 3.5 (VS 2008). I'm using the ConfigurationManager to load a config (not the default app.config file) into a Configuration object. using the Configuration class, i was able to get an ConfigurationSection, but i could not find a way to get the values of that section. in the config, the Configuratio...

Getting error in long running PHP script

Hi guys, As this is my first PHP web application so dont know mich about php configuration. Here is my case: I have developed an application in PHP/mysql, in which user can search his real followers. Now problem is that a user having say upto 2k followers and 500 real followers in that, does not give any error, but when i move to big ...

Config sample in EXTJS

Hi all, I'm looking for sample code on how to use config in EXTJS. Can anyone help? Thanks! ...

Serving multiple repos with hg serve. How?

The wiki mentions it's possible to do this under hg serve, but there aren't any examples (such as a sample webdir-conf file). Yes I know it would be better to do this all under Apache, but this is a local machine and hg serve just makes sense for us. ...

How do I configure Apache2 to allow multiple simultaneous connections from same IP address?

By default, Apache2 seems to allow only 1 connection per IP address. How do I configure Apache2 to allow multiple simultaneous connections from the same IP address? Here is my situation: a web app being hosted on a server. a remote client makes an request that may take 15 seconds to complete. the same remote client makes another (ind...

How should i setup an Active Directory on WinServer 2008r2 to use with TFS in extranet?

I'm trying to deploy Moss and tfs for extra net at home with win server 2008 r2. How should i configure win server active directories? Web server + Active Directory + SqlServer + MOSS + tfs is it enough for successful config? ...

How does Eclipse determine which projects to load for a particular workspace?

Does anyone know how Eclipse determines which projects are in a particular workspace? Is there a config file somewhere with this info? I have struggled (in vain) for several hours trying to figure this out. I'd like to be able to edit this config / check it into SVN... ...

How do you define config variables / constants in Google App Engine (Python)?

I am brand new to python/GAE and am wondering how to quickly define and use global settings variables, so say you git clone my GAE app and you just open config.yaml, add change the settings, and the app is all wired up, like this: # config.yaml (or whatever) settings: name: "Lance" domain: "http://example.com" # main.py class Main(...

Magento: set config values of just created website?

I'm programmtically creating websites/users etc ... Here's the problem: When creating a website, I can't immediatly set the config values afterwards. Code: <?php /* Website information */ $website_data = array( 'name' => 'Company name', 'code' => 'website_company_1', 'sort_order' => '1', ...

How would you centralize configuration across multiple projects?

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...

Change Magento Config to use sockets

Hi, my database config has changed so Magento is not able to connect anymore. The connection before worked but now it seems to need a socket config value... The relevant part in my local.xml config looks like this: <connection> <host><![CDATA[localhost]]></host> <username><![CDATA[username]]></username> <password><![CDATA[pas...

Display column name on view if value present in the column -- Ruby on Rails

I have column LTD in my Company model. After retrieving value from model using Company.find If any value is present in LTD column, then I have to display the text "Limited" on the view. I have many columns in the model which are in the abbreviated form and when value is present their long form are displayed on the view. Therefore writi...

Authentication Providers 'greyed out' in sharepoint 2010 (enable anonymous access)

I am trying to config a sharepoint 2010 site for anonymous access. The tutorials I am following are: http://live.visitmix.com/Videos http://blog.drisgill.com/2009/11/sp2010-branding-tip-9-turn-on-anonymous.html http://www.topsharepoint.com/enable-anonymous-access-in-sharepoint-2010 And a few youtube videos. I am stuck fast in a cert...

Where should temp files created by the MS Chart control go?

The default location: <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" /> is fine for development, but not so good for deploying on IIS. I found a forum post that mentioned you could drop the path altogether, which dumps the temp file(s) directly in the root of my project <add key="ChartImageHand...

Best way to store form status settings?

Hello all! I'm working on a project, that have multiple settings on a form, (selections, checkboxes, etc..) How can I save/store settings, to be able load the same settings, at the next startup? I've heard about xml, but I didnt really found any article, descibes how to do it. THank you guys. ...