settings

Selenium problems with PDF download in Firefox

…衆ロ難τιáo~ 提交于 2021-02-19 07:15:27
问题 I'm working on an upgrade of our internal Java Selenium framework to the latest version 3.14.0 in combination with Firefox 61.0 and Geckodriver 0.21.0. I face problems when it comes to an automated download of a PDF file with Firefox. For example at this link there is a download button where I can let selenium perform a click on. Instead of downloading the pdf, a built-in viewer will be opened. The preference pdfjs.disabled should deactivate the viewer so created the driver instance with a

Assembly specific settings not loading at runtime

好久不见. 提交于 2021-02-19 02:43:05
问题 I am developing a .NET 3.5 Windows Forms app. I have two projects, the UI and a Library. UI uses strongly typed settings that are stored, as usually, in the app.config file. I read them using UI.Properties.Settings class (generated by Visual Studio). Library uses its own strongly typed Settings (the Settings.settings file that is dumped into Library.config file). At runtime, Library settings will not reload from the Library.config file. Only UI.config file is read by the runtime. So I am

What's the proper way to setup an Android PreferenceFragment?

你离开我真会死。 提交于 2021-02-18 21:58:24
问题 I'm trying to implement a basic settings activity in an Android app and either get a blank white screen or a crash. The documentation and samples I've seen aren't helping because they're either old or inconsistent. For example, depending on where you look, the settings activity should either extend Activity, PreferenceActivity, or AppCompatPreferenceActivity (part of the File>New>Activity>Settings Activity). developer.android.com says you should implement the following: public class

Is there a way to change the extensions folder location for Visual Studio Code?

半腔热情 提交于 2021-02-17 07:42:15
问题 I've put Visual Studio Code on OneDrive, for the purpose of syncing it with its settings across my devices. However, extensions are stored in %USERPROFILE%\.vscode\extensions on Windows. Is it possible to change this folder's location so I can put it in the main Visual Studio Code folder? At first I thought that copying the extensions in the resources\app\extensions of Visual Studio Code folder will be a nice workaround, but that doesn't work. I've also searched for a solution on the

Is there a way in Azure DevOps settings to create a Personal Access Tokens (PAT) equivalent that is not associated with a single user?

别来无恙 提交于 2021-02-11 13:58:16
问题 If I understand correctly, Personal Access Tokens (PAT) are associated with the user identity logged in (they are within User Settings afterall). Question : For functional responsibilities that should not be associated with and reliant upon one individual team member's account (ex. automated systems deployments), is there a way to generate non-user contextual PATs? 回答1: There is no way to create non-user contextual personal access tokens. Personal access tokens are alternate passwords that

Is there a way in Azure DevOps settings to create a Personal Access Tokens (PAT) equivalent that is not associated with a single user?

烈酒焚心 提交于 2021-02-11 13:57:39
问题 If I understand correctly, Personal Access Tokens (PAT) are associated with the user identity logged in (they are within User Settings afterall). Question : For functional responsibilities that should not be associated with and reliant upon one individual team member's account (ex. automated systems deployments), is there a way to generate non-user contextual PATs? 回答1: There is no way to create non-user contextual personal access tokens. Personal access tokens are alternate passwords that

Setting LARGEADDRESSAWARE on a C# project with references?

依然范特西╮ 提交于 2021-02-08 06:51:53
问题 I have read here on how to set the LARGEADDRESSAWARE flag and this is done to my Windows Service. This Windows Service is however hosting a WCF service based on another project and this service is using library's and so on from other projects. I need the entire application to use the LARGEADDRESSAWARE, is it enouth to set it on the Window Service project(ServiceBase)? Or do I need to set it on all projects? At this point I can´t switch to 64bits so this will have to do. 回答1: It is not an

Setting LARGEADDRESSAWARE on a C# project with references?

邮差的信 提交于 2021-02-08 06:51:14
问题 I have read here on how to set the LARGEADDRESSAWARE flag and this is done to my Windows Service. This Windows Service is however hosting a WCF service based on another project and this service is using library's and so on from other projects. I need the entire application to use the LARGEADDRESSAWARE, is it enouth to set it on the Window Service project(ServiceBase)? Or do I need to set it on all projects? At this point I can´t switch to 64bits so this will have to do. 回答1: It is not an

Setting LARGEADDRESSAWARE on a C# project with references?

混江龙づ霸主 提交于 2021-02-08 06:51:05
问题 I have read here on how to set the LARGEADDRESSAWARE flag and this is done to my Windows Service. This Windows Service is however hosting a WCF service based on another project and this service is using library's and so on from other projects. I need the entire application to use the LARGEADDRESSAWARE, is it enouth to set it on the Window Service project(ServiceBase)? Or do I need to set it on all projects? At this point I can´t switch to 64bits so this will have to do. 回答1: It is not an

Best way to save data in a Java application?

白昼怎懂夜的黑 提交于 2021-02-04 15:00:12
问题 I'm trying to find the best way to save the state of a simple application. From a DB point-of-view there are 4/5 tables with date fields and relationships off course. Because the app is simple, and I want the user to have the option of moving the data around (usb pen, dropbox, etc), I wanted to put all data in a single file. What is the best way/lib to do this? XML usually is the best format for this (readability & openness), but I haven't found any great lib for this without doing SAX/DOM.