settings

How to save Atom editor config and list of packages installed

风流意气都作罢 提交于 2019-12-04 07:33:11
问题 I have recently started using Atom editor. Its pretty great so far. I am planning to install it on several other machines. How can I replicate the config and list of packages installed on my current machine to other machines. Is there a config that I can use to export and import them on other machines. 回答1: Use Git to version control your config file ( ~/.atom/config.cson ), and any other config files (dotfiles) you may have. You can then host your Git repository for free on somewhere like

Get values of evidence eid and hash in user settings path construction

匆匆过客 提交于 2019-12-04 07:16:58
By default user settings of win application are stored in the following directory Vista/7 C:\Users\<userId>\AppData\Local\Application Data\<companyname>\appdomainname>_<eid>_<hash>\<verison> XP C:\Documents and Settings>\<username>\[Local Settings\]Application Data\<companyname>\appdomainname>_<eid>_<hash>\<verison> I need to know how to get values of eid and hash . I'm trying to get that information from the AppDomain.CurrentDomain.Evidence and then check values I'm getting from GetHostEnumerator() but they aren't fit the actual directory path values. For Example I have the following values

Why is this Element not Found?

蹲街弑〆低调 提交于 2019-12-04 06:24:22
问题 I added code to my Windows Store App project to utilize the Settings pane for my app's custom settings. I based this code on what is in Adam Nathan's book "Windows 8 Apps with XAML and C#", beginning on p. 503. I have this code in App.xaml.cs: public App() { this.InitializeComponent(); this.Suspending += OnSuspending; SettingsPane.GetForCurrentView().CommandsRequested += OnCommandsRequested; UnhandledException += Application_UnhandledException; } private void OnCommandsRequested(SettingsPane

.Net application settings path

这一生的挚爱 提交于 2019-12-04 06:11:33
By default in windows application setting are saved in this directory: %USERPROFILE%\Local Settings\Application Data\<Company Name>\<appdomainname>_<eid>_<hash>\<version>\user.config Is it possible to change path for saving user.config file? For example save it in local folder? You can, if you make your own ApplicationSettingsBase derived class to manage the application settings. For details, see Application Settings Architecture . That being said, I strongly recommend not doing this. Using a local folder (local to your app) will require your application to run under elevated permissions on

What is the difference between “Settings…” and “Default Settings…” in Android Studio?

那年仲夏 提交于 2019-12-04 06:10:21
I find I can set File Encodings and other parameters in both File | Settings... , and also File | Other Settings | Default Settings... . However, I'm not clear on what the difference between these two options is. Further, I can run File | Export Settings... to save settings to a settings.jar file, however I am unclear what is restored if I run the File | Import Settings... operation. What is the difference between the two settings options? What settings are being exported/imported when running export/import? The settings in Android Studio work the same way as they do in the IntelliJ IDE, as

Is it possible to set config settings on Firefox from a Addon

两盒软妹~` 提交于 2019-12-04 05:59:15
I'm looking for a way to print from web without prompting the print dialog ( I just made the question ). I found This method for Firefox and it seems to work, but it obviously will affect all websites. So I'm thinking of developing a Firefox Addon that makes this configuration to affect only specific websites. I don't know nothing about building Firefox addons, but if it's possible to change settings this way I will learn how to do it. So my question is.. Is it possible to set config settings on Firefox from a Addon and for specific websites? Thanks a lot. If you are going to develop a Firefox

Storing settings/variables persistantly in C#/.NET

杀马特。学长 韩版系。学妹 提交于 2019-12-04 04:46:50
Ok, this is a total newb question, so please forgive me. What is the best way to store variables so that they persist and are recoverable? I have a small application that uses about 10 variables (string and decimal) as settings. Currently, I convert them all to strings, if needed, put them into an array and serialize the array to a file. This is a pain if I ever want to add a variable. So, I was thinking about using a hashtable and serializing that. Again, not sure what is the best way to do this. Some requirements I have are that the data needs to be stored securely (encrypted), and must be

When does an iphone application receive didChangeAuthorizationStatus: delegate call?

有些话、适合烂在心里 提交于 2019-12-04 04:13:16
I have a question about CLLocationManagerDelegate . The documentation says if the user changes the settings for your location services (in the iPhone's Settings.app) then your app is supposed to receive an didChangeAuthorizationStatus: message to the delegate. My question is, when would this happen? If the user changed the setting, it means they are in the settings app, and your app is either backgrounded or not running at all, so in the former case, when would your app's CLLocationManager delegate get the didChangeAuthorizationStatus: call? I just ran across this method an hour ago, so good

Settings bundle values returning nil

时光怂恿深爱的人放手 提交于 2019-12-04 03:46:55
I added a Settings bundle to my app and in Xcode it appears in the root of my project tree view. The Root.plist file looks like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>StringsTable</key> <string>Root</string> <key>PreferenceSpecifiers</key> <array> <dict> <key>Type</key> <string>PSGroupSpecifier</string> <key>Title</key> <string>Service</string> </dict> <dict> <key>Type</key> <string>PSTextFieldSpecifier</string> <key>Title</key> <string>Hostname</string

SP2010 Client Object Model 3 MB limit - updating maxReceivedMessageSize doesnt get applied

做~自己de王妃 提交于 2019-12-04 03:40:10
问题 I am using Client Object Model to interact with Sharepoint 2010. When I tried to upload documents greater than 3 MB using Client OM, it gave an error Bad Request. Microsoft suggests this to fix the problem. I tried that and updated the maxReceivedMessageSize property. It works fine after I restart the system, but doesnt get applied to a running sharepoint server. I assume that as the setting might have been kept in memory, so needs an application reset, but I cudnt figure out what to reset. I