We are working on a service that will have website access for stats and other tasks, but the majority of use will be through a client gem and rake tasks. What is the best way to handle authentication for both pieces.
It looks like fiveruns_tuneup, getexceptional, New Relic and others have websites with username and pass, but use API key...
I am using the code below to save and restore the window position and size upon restart.
I am observing an upward drift of 28 pixels everytime I execute this code!
Am I reading the wrong values, or am I restoring them incorrectly? Where is the number 28 (size of the chrome?) coming from (and how would I account for it programmaticall...
I want to centrally locate all of my application settings in the database. I have a database object which stores the app.settings in an XML column. I'd like to have my application read that object and then parse the XML column into its own app settings. Is there any easy way to arbitrarily read an XML object into your current appsetti...
I am not a DBA by any means, but being a web developer means that I will have to install, setup, and administer databases. In the past, I have just followed the default installation for SQL Server. Over time, I have grown smarter and learned that default installations almost always leave doors open and leak.
So...What are the critical s...
The problem is that search results overlap and make it hard to see whether I've set a break point or not. Any ideas how to remedy this? I can't seem to find a customizable order of which symbols are displayed on the vertical ruler.
...
I've a question about KConfig usage. I'm able to write and read settings in my .kde4/share/config/_appname_rc configuration file like that
KConfig basicconf;
KConfigGroup conf = KConfigGroup(basicconf.group("Settings"));
conf.writeEntry("filepath",QString("/path/"));
basicconf.sync();
But I don't understand how to use a "default" ...
I have noted that the default SharePoint databases are created with a "Full" in Recovery Model, 1 Mb autogrowth on Data and a 10% growth on the log file.
I know that these settings should be adjusted to the specific customer, but I have not yet been able to find any rules of thumb about the optimal db settings.
In which way do you twea...
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?
...
I'm trying to parse a date/time string using DateTime.ParseExact. It works everywhere, except on one machine - it just will not parse on that machine. The question is: Why? What could be different on that machine so that it will cause this behaviour?
Here are some things that I've already looked at:
The CultureInfo is passed to DateTi...
In my winform app, I am trying to add a userSetting, although the error is occuring with appSettings too. When the setting is added I get an exeption thrown that says: "Configuration system failed to initialize" with a Inner Exception "Unrecognized configuration section userSetting"
Exception Details:
System.Configuration.Configuration...
I have written a small plug in for Visual Studio 2005. It displays the name and the shortcuts of the last command you have used (nice for learning seldom used command's shortcuts).
I display this information in a window that I manually dock between the project explorer and the property panel.
The problem : every time I start Visual Stu...
I feel like I am always reinventing the wheel for each application when it needs to load/save general settings to an xml file. What is the best way to manage basic application settings that the user can adjust and need to be saved/restored?
...
Hi,
I'm wondering what is the magic behind .settings files in .NET.
Imagine you create an assembly called in this exemple SettingsHolder, you create your settings class which is public with a string inside in user mode , then you compile.
Now you reference your assembly in MyApp, you compile then you can change the value in your applic...
For my project I have settings that I added through the Settings in the project properties.
I quickly discovered that editing the app.config file directly seems to no really update the settings value. Seems I have to view the project properties when I make a change and then recompile.
I'm wondering ... what is the best
and easies...
Where does eclipse keep it's key-binding settings? I want to transfer them from one system to another. If there is a tool for this that would be good but if not, I'm willing to copy files (really all settings should be the same on both systems.)
...
I need some help regarding django emailing. I have set the
settings.EMAIL_HOST_USER to '[email protected]' and whenever I
am trying to send an email in any context, its taking the 'do-not-
[email protected]' as from address and sending it, eventhough I supply
a different from-address while sending that specific email. How do I
fix t...
Hello,
I need to get some system settings for example, font size and color for a standard dialog box? (I use C#)
Thanks
...
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 docume...
Hi.
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 ...
I have been trying to read up on how to do configuration properly in .net and have run into something that I find a bit odd and that is that configuration settings are compiled into assemblies through the Settings class. Removing the app.config and running the application does not result in configuration errors as I was expecting but rat...