settings

How to work around LocalFileSettingsProvider requiring Full Control/OwnerRights

隐身守侯 提交于 2019-12-07 05:06:30
问题 In my .NET client application I use the default settings provider with Scope=User and Roaming=True. This works fine in most environments, no matter if client or Terminal Server, except for a customer with a Citrix Terminal Server farm. Whenever Properties. Settings.Default.Save() is called, the following exception is thrown: System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name,

Cross-platform configuration, options, settings, preferences, defaults

一世执手 提交于 2019-12-07 03:14:55
问题 I'm interested in peoples' views on how best to store preferences and default settings in cross-platform applications. I primarily work in node.js and Perl on *nix and Windows but I'm also interested in the bigger picture. In the *nix world "dotfiles" (and directories) are very common with system-wide or application default settings generally residing in one path and user-specific settings in the home directory. Such files and dirs begin with a dot "." and are hidden by default from directory

Change overview ruler color in Eclipse

て烟熏妆下的殇ゞ 提交于 2019-12-07 01:48:27
问题 How to change overview rule background color in Eclipse 3.4.0.I20080617-2000 (vertical bar on right of editing window with some annotations) ? General > Editors > Text Editors > Annotations allows only to change colors of marks itself not background of whole bar. It looks like my web searching skills are getting weaker since I cannot find it anywhere ... 回答1: I have the same problem as Michal - this seems to be non-customisable. I have trouble seeing some of the annotation marks in the

Enterprise Architect project programming language

自闭症网瘾萝莉.ら 提交于 2019-12-07 01:23:05
问题 In Enterprise Architect when I model a class and specify the implementation language of the class, then use an instance of the class in a use case, the implementation language of the instance in the use case is not the implementation language of the class, but is the default. Is there a way to make Enterprise Architect use the set implementation language of the class for the implementation language of all instances of that class? 回答1: There isn't an option to make instances follow the class

MATLAB settings - stop if errors

旧时模样 提交于 2019-12-06 19:43:12
问题 I found the "always stop on error (dbstop if error)" to be very useful when I debug MATLAB code. However, closing matlab also resets it to "Never stop if error" How can I make this setting persist? 回答1: This is the solution indeed - further digging in Mathworks brought up the exact details: In the default folder typing edit startup.m And then writing dbstop if error Thanks Schroeder! 回答2: You could use the startup.m file to recreate your settings at startup. See here for more details. 来源:

How do I update my PromptManager settings for IPython 5.0?

空扰寡人 提交于 2019-12-06 19:29:13
问题 The lines # Output prompt. '\#' will be transformed to the prompt number c.PromptManager.out_template = '{color.Green}Out[{count}]{color.Green} : {color.LightGray}' # Continuation prompt. c.PromptManager.in2_template = '{color.Yellow} .\\D.{color.Green} : {color.LightGray}' # If True (default), each prompt will be right-aligned with the preceding one. c.PromptManager.justify = True # Input prompt. '\#' will be transformed to the prompt number c.PromptManager.in_template = '{color.Green}In [

How can I keep an IE page request alive more than 1 minute?

≡放荡痞女 提交于 2019-12-06 19:25:29
If you are connected to the Internet directly (and not through a proxy) and requests for a page (get/post) in Internet Explorer 7, the default time-out is 1 minute. If the response from the web server takes more than a minute then you end up getting a "Network error" from IE. How can I increase this timeout in IE? Microsoft has documented How to change the default keep-alive time-out value in Internet Explorer , but this does not work in my PC (Windows XP SP2, IE 7.0). Does anyone out there have a clue on how to achieve this? Thanks KB813827 is talking about HTTP 1.1 keepalives, which are to

How to manage installation from Unknown Sources in Android Oreo?

冷暖自知 提交于 2019-12-06 18:30:09
问题 In Android Oreo (8.0), several changes where made on how to allow the installation of apps from Unknown Sources (from the user's point of view) and to the process of getting permission to install them (from the developer's point of view). Since I found it particularly hard to find all the steps necessary on the developer side, I thought it to be useful to ask here for the solution and answer the question myself, now that I found the answers, for future reference to those, who are facing the

VS 2015 Import and Export Settings, Disappearing Window

时间秒杀一切 提交于 2019-12-06 17:12:30
问题 Post has been Updated 03-05-2017 People were talking about this problem here: VS 2010 - Import Export Settings VS2013 cannot import settings from TOOLS>Import and Export Settings Currently in 2017 the issue is still affecting Visual Studio and SQL Server Management Studio. Below is Import Export Dialog Status for my two setups: Win7 Ultimate x64: SSMS 2014 - Working, VS 2013 - Working, VS 2015 - Disappears Win10 Pro x64 1703 (Fresh Install): SSMS 2016 - Disappears, VS 2017 - Disappears

Configure Zap Attack as a system wide proxy

半世苍凉 提交于 2019-12-06 16:44:12
I need a simple way to intercept all HTTP requests from client Linux machine (Mint, Ubuntu, OpenSuse). I am using ZAP Attack Proxy. Configuring web browsers and client applications individually to use ZAP Attack as a proxy is not an option for me. Preferably it must capture all requests in a Fiddler-like manner, with no or minimum configuration. How do I configure ZAP attack as a system-wide proxy? Simon Bennetts Cant you set ZAP as a proxy in the global network settings? That works for me on Fedora, I'm afraid I dont have a Mint/Ubuntu/OpenSuse system to try out, but this post implies its the