settings

Options, Settings, Properties, Configuration, Preferences — when and why?

偶尔善良 提交于 2019-12-02 13:49:31
There are several words with similar (in some sense) meaning: Options, Settings, Properties, Configuration, Preferences English is not my native language. Could you explain the difference in simple English please? I think the following template could be useful: Use XXX in your GUI in order to let people change behaviour of your application (maybe preferences or settings?) Use YYY in your GUI in order to let people change parts of an object (perhaps properties or options?) Use ZZZ in your code ... What are best practices? Tricky, this, as there's no one single consistent style followed by all

How to enable the background data settings in android?

别说谁变了你拦得住时间么 提交于 2019-12-02 13:33:41
问题 How do I enable Settings->Accounts and Sync->Background data programatically in ice cream sandwich ? 回答1: You cannot do it programatically. Only user has that privillege. How ever you can check whether he has enabled or not using . ConnectivityManager mgr = (ConnectivityManager)Context.getSystemService(Context.CONNECTIVITY_SERVICE); boolean bgData = mgr.getBackgroundDataSetting(); And request the user to set by opening the settings. Use ACTION_SYNC_SETTINGS for your intent. You have to make

Manually trigger IOptionsMonitor<>.OnChange

淺唱寂寞╮ 提交于 2019-12-02 10:32:51
In ASP.NET Core 2.1, I use IOptionsMonitor<> and have it set up so I can successfully get events for when I change the appSettings.json file. So this is working. What I want to do now is to manually change some values in my options, through code, and have that trigger all my monitors. Is this possible? For IOptionsMonitor<Locations> , it only changes the value in memory and did not save back to appsettings.json . For a workaround, you will need to implement your own method to save the changes back to appsettings.json . define IWritableOptions which inherits from IOptions public interface

Can a Chrome extension change Chrome settings (open in new window / popup)?

随声附和 提交于 2019-12-02 07:20:29
问题 A similar question was asked here but without a satisfying answer. I'm trying to do change 2 chrome settings with the extension. Cause the browser to open new links as tabs and not windows. Cause the browser to accept pop ups from a specific URL I have looked in the documentation, but cannot find the answer. Could anyone help me with this one? 回答1: There's no setting to open links as tabs instead of windows. You can change the popup preference through the chrome.contentSettings API. All of

Can a Chrome extension change Chrome settings (open in new window / popup)?

痞子三分冷 提交于 2019-12-02 05:27:45
A similar question was asked here but without a satisfying answer. I'm trying to do change 2 chrome settings with the extension. Cause the browser to open new links as tabs and not windows. Cause the browser to accept pop ups from a specific URL I have looked in the documentation, but cannot find the answer. Could anyone help me with this one? There's no setting to open links as tabs instead of windows. You can change the popup preference through the chrome.contentSettings API. All of the requested features can also be enabled indirectly. Some ideas: New window instead of tabs. Detect creation

Colored Window Theme in Pharo?

一世执手 提交于 2019-12-02 05:06:47
问题 How do I switch to the colored window theme in Pharo? 回答1: Not sure which theme you mean but have you tried world menu -> System -> Settings -> Appearance -> Morphic -> User interface theme? The select box will let you choose the window color theme. 回答2: Or...by code... execute: XXXTheme beCurrent. 回答3: Best neat way to do this is to install the TWM (Tiled Windows Manager) and use its theme. That the closest you'll get to a squeak colorful windows meets pharo theme. You can get the theme

Open Settings.app When Button is Tapped in UIAlertView on iPhone SDK [duplicate]

此生再无相见时 提交于 2019-12-02 04:12:43
Possible Duplicate: Opening the Settings app from another app Is there a way to direct the user to the Settings.app whenever I show a UIAlertView prompt? This prompt alerts the user that his location services is turned off and I want the user to open the Settings.app when he taps the button inside my UIAlertView . UPDATE: I'm looking for a similar code stated here: How to launch myapplication settings tab in settings app from my application in ipad Midhun MP iOS 8 and iOS 9 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]]; There is no way to

How to put IntelliJ/Pycharm settings under version control?

心已入冬 提交于 2019-12-02 03:49:22
问题 I'm a frequent user of PyCharm and a number of the other JetBrains IDEs. I try to keep my settings synchronized across the different IDEs, but I'm now considering moving to IntelliJ IDEA and am finding it extremely difficult to figure out what I've changed and what the differences are among my different settings files. How can I put my PyCharm settings files under version control so that I can track my changes and also quickly revert back to old versions so I can try out new settings changes

How to put IntelliJ/Pycharm settings under version control?

折月煮酒 提交于 2019-12-02 02:33:25
I'm a frequent user of PyCharm and a number of the other JetBrains IDEs. I try to keep my settings synchronized across the different IDEs, but I'm now considering moving to IntelliJ IDEA and am finding it extremely difficult to figure out what I've changed and what the differences are among my different settings files. How can I put my PyCharm settings files under version control so that I can track my changes and also quickly revert back to old versions so I can try out new settings changes without fear? (I don't mind exporting to a specific repo each time, but it seems that the settings

How do I attach source code into a project's library in Eclipse?

独自空忆成欢 提交于 2019-12-02 01:36:50
I created a simple standalone Spring application in Eclipse as a Java application (and not using maven or gradle). I manually downloaded the needed Spring framework jars, and the application works fine. Now, I wanted to debug the code and see the flow of code inside the Spring source as well. Hence I downloaded the source code of Spring , as a Zip file. I extracted the source code in a specific location in the file system. Now, how do I add the Spring source code into the project? Some of the things that i did are as below: 1) I tried to use the import->existing.. , however it didn't work, as