Where are user-mode .NET settings stored?

The setting files are stored in a different place for each user. To find them, click the start menu, click run, and paste: %USERPROFILE%\Local Settings\Application Data\ and press enter. There will be a folder with your “Company Name” (whatever it is set to in your assembly) and then some more subfolders. The settings are stored … Read more

How do I change the `prefers-reduced-motion` setting in browsers?

Oh, I didn’t see the “User Preferences” section in the mdn documentation. 🤦🏻‍♂️ For Firefox, the reduce request is honoured if: In GTK/Gnome, if gtk-enable-animations is set to false. This is configurable via GNOME Tweaks (Appearance tab or General tab, depending on version). Alternately, add gtk-enable-animations = false to the [Settings] block of the GTK … Read more

Maven: Trying to Deploy with credentials in settings.xml file

You need to provide the repositoryId=VeggieCorp (not id) property so that maven knows from which <server> configuration it has to read the credentials. $ mvn deploy:deploy-file \ -Durl=http://repo.veggiecorp.com/artifactory/ext-release-local \ -Dfile=crypto.jar \ -DpomFile=pom.xml \ -DrepositoryId=VeggieCorp See http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html

Store Dictionary in application settings

You can use this class derived from StringDictionary. To be useful for application settings it implements IXmlSerializable. Or you can use similar approach to implement your own XmlSerializable class. public class SerializableStringDictionary : System.Collections.Specialized.StringDictionary, System.Xml.Serialization.IXmlSerializable { public System.Xml.Schema.XmlSchema GetSchema() { return null; } public void ReadXml(System.Xml.XmlReader reader) { while (reader.Read() && !(reader.NodeType == System.Xml.XmlNodeType.EndElement && … Read more

How do I open the Bluetooth Settings Activity programmatically?

Maybe I missed something but isn’t this simpler future proof solution? Intent intentOpenBluetoothSettings = new Intent(); intentOpenBluetoothSettings.setAction(android.provider.Settings.ACTION_BLUETOOTH_SETTINGS); startActivity(intentOpenBluetoothSettings); It is definitely not possible to “remove” the other settings. On phones just one category of settings is shown. On tablets, because of some extra space, settings are shown in master-detail layout so there is no empty … Read more

IntelliJ IDE (Rider, Android Studio…) – how to hide “usage” links above properties/methods/etc

You can hide all metrics by disabling “Code Vision” (CTRL+SHIFT+A + code vision for a quick access in the settings). You can also hide specific metrics by right clicking on it. It is also possible to toggle the hints globally with the action Toggle Inlay Hints Globally (accessible with CTRL+SHIT+A + Toggle Inlay) You can … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)