Questions tagged [setting]

261 questions
24
votes
10 answers

iOS: How to Get the Device Current Language Setting?

There are some features within my application that are supposed to be based on the language settings of the device where it's running. I want to get the actual language and not some country settings. Foe example, if the language is English, I don't…
Ohad Regev
  • 5,641
  • 12
  • 60
  • 84
19
votes
5 answers

Reliable method to get the country the user is in?

I usually get the country from the device's language. It works but now I have to recognize Brazil. And most of the devices only have portuguese (pt_PT), and no portuguese (Brazil) option. I checked this thread: Where am I? - Get country The methods …
User
  • 31,811
  • 40
  • 131
  • 232
18
votes
2 answers

Wordpress plugin setting data

I want to know that where the plugins settings data saved in server? Means, when we change any plugin settings (e.g. For simple captcha, it is settings as-> use number, user alpha, captcha color etc), then in which file or database , these settings…
Sachin Thakur
  • 183
  • 1
  • 1
  • 6
15
votes
1 answer

How to Set the Line Length for VS2010 Automatic line break

I use a wide screen and like to code in 16:9. So sometimes there is a string.Format... or whatever the is larger than the old 4:3 screen format. But VS does not want to use the avaiable space and just always makes a line break at about 50% of the…
dexit2k
  • 373
  • 3
  • 6
15
votes
5 answers

C# AppSettings: Is there a easy way to put a collection into

i tried and System.Configuration.ConfigurationManager.AppSettings.GetValues("List"); But i only get the last member…
Markus
  • 1,465
  • 4
  • 18
  • 29
14
votes
2 answers

Can I send class as extra with intent?

I'm trying to pass class name with extra, how to do that ? Intent p = new Intent(StartScreen.this, Setting.class); p.putExtra(" ",StartScreen.this); I want to get the class name in Setting class but I don't want it to be String cause I'm going to…
Jesus Dimrix
  • 4,378
  • 4
  • 28
  • 62
13
votes
1 answer

How to change layout preview default devices on Android Studio

When I create a new layout, the default device is Nexus 4. How can I change default device that when next time I create a new layout, the device will be Nexus 5, but NOT nexus 4.
user3526097
  • 131
  • 4
10
votes
1 answer

Nginx reverse proxy setting

I am totally new to Nginx and need your help. Basically I have a single server with single IP address, but I want to host two different web application within the server with different domain name. So, basically, for each domain name, I want it to…
Gon
  • 733
  • 3
  • 8
  • 23
9
votes
1 answer

setting strings in gdb

c++: int main() { string a = "a"; ... ... } when i debug in gdb: (gdb) set var a = "ok" Invalid cast I run the program and pause at a break point after string a has been initialized. I'm trying to set its value, but it…
nightfire
  • 815
  • 2
  • 12
  • 22
8
votes
2 answers

Setting environment variable with maven 2.x

Is it possible to set environment variable with maven (OS: Linux)? I already have user-defined properties (in the pom and in profiles.xml)....my problem is, how to execute following from Maven export GGA_FRE=/path So will be possible, that every…
cupakob
  • 8,411
  • 24
  • 67
  • 76
7
votes
2 answers

ActivityManager.killBackgroundProcesses different from "Force stop"

I was experimenting with ActivityManager.killBackgroundProcesses in my application and notice something interesting. I hope someone on stackoverflow can shed some light on this. So if I start an application, for example, youtube, I first see the…
Safecoder
  • 1,035
  • 2
  • 17
  • 32
6
votes
2 answers

Tomcat per webapp memory settings

I am having two webapplication running inside tomcat. Java Heap space is allocated for Tomcat and it is shared for both appliaction. In that one application consumes more and other is getting OUT_OF_MEMORY. Is there any way to set memory settings…
Ganesh
  • 169
  • 2
  • 10
5
votes
2 answers

Setup proxy configuration for ibm websphere server in console

My WebSphere ESB server runs behind corporate proxy server in our network. When I try to access external web-service i get network exceptions (cannot access destination host). Is there any way to set my proxy configuration in console, except server…
snowindy
  • 3,117
  • 9
  • 40
  • 54
5
votes
1 answer

Where can I find decent jQuery ajax headings setting documentation?

Instead of using the beforeSend method of setting the request headers, I decided I wanted to look into using the headers setting option of a jQuery $.ajax() call. Naturally, I went to this page here, http://api.jquery.com/jQuery.ajax/, but the…
Vap0r
  • 2,588
  • 3
  • 22
  • 35
5
votes
3 answers

same SQL but different explain plan

I am running same SQL (below), at 2 different environments with same index set and table size. But they gave me 2 different explain plans (attached) uses a Merge Join Cartesian -- very slow uses PX Coordinator / PX Send / PX RECEIVE -- very…
iwan
  • 7,269
  • 18
  • 48
  • 66
1
2 3
17 18