I understand that when installing a C++ command line program on Linux/UNIX, it is customary instead of leaving it in its original directory, to move it to a directory that is already on the path, so I have a make install entry:
mv ayane /usr/local/bin
Looking a bit further ahead, I'm going to end up with a directory or two full of con...
I thought that .NET updates its cache every time the source configuration file gets updated without having to restart the application domain.
I realize it doesn't. Or am I missing something?
...
I have a server that is running live (in process of turning it into a dev server but need some stuff off it first) so we don't want to recompile php to break anything.
On the new server we have the dynamic extensions of mysql.so and mysqli.so
I haven't been able to find anything about the details of building one myself, so copied them o...
I am trying to get an MVC site with NHibernate set up for Dependency Injection using StructureMap. This is a line from my StructureMap Registry:
ForRequestedType<NHibernate.ISession>().CacheBy(StructureMap.Attributes.InstanceScope.HttpContext)
.TheDefault.Is.ConstructedBy(
context => context.GetInstance...
It's apparently a bad idea to put all bindings in one module, so what do you think is the more elegant way?
I think Bob's idea could be good start for this discussion:
It's hard to come up with one-size-fits-all rules for this sort of thing, but one Module per package is certainly a good place to start. Putting a Module in each pack...
I'd like to have a single configuration file and then when I'm creating a session change the hibernate-configuration->session-factory->connection.connection_string property to what I want it to be programmatically? Is it possible?
UPDATE:
I believe I may be able to do this like this
Configuration cfg = new Configuration();
cfg.Configu...
i have just installed postgresql and i specified password x during installation.
when i try to do createdb and specify any password i get the message
createdb: could not connect to database postgres: FATAL: password authentication failed for user
same for createuser.
how should i start?
Can i add myself as a user to the database?
...
I have webstart application that needs external configuration. Configuration must be external, because it will be changed manually by our customer. I considered adding another jar with this configuration. Application is signed and giving our keys to customer is not a option. I'm leaning towards placing this file to be accessible from web...
I have a set of Service Contracts which split up my service interface into chunks of related functionality. I am currently implementing all contracts using a single service class (may want to split these later but for now the single service class suffices).
I am trying to use configure the endpoints using a config file (as opposed to vi...
If you set something like this on Windows:
git config --global core.autocrlf false
Where is this global setting getting written to?
...
hi..,
Here i am having an requirement, I am having a web site with very few users,
I need to give separate url (I dont Know, weather I need to create Sub Domain or Host Header) for each user to view their portal.
Keep in mind that I am having only one web site need to come with different urls, and from the url. I need to change the l...
I have a client software program used to launch alarms through a central server. At first it stored configuration data in registry entries, now in a configuration XML file. This configuration information consists of Alarm number, alarm group, hotkey combinations, and such.
This client connects to a server using a TCP socket, which it ...
I've been looking at Zookeeper recently and wondered whether anybody was using it currently and what they were specifically using it for storing.
The most common use case is for configuration information, but what kind of data and how much data are you storing?
...
Hello All,
We have a deployment scenario where we don't want to shared Account key and account name. Is there any way i can access Azure storage without providing Account key and account name?
Regards,
Aditya
...
I am developing a web application using vs2008 and used two accounts on Vista 64 bit - the original first admin account after the Vista install and now a power user account.
I forgot what I did, but when I run SectionInformation.ProtectSection (System.Configuration) under the original account, the encryption of the config section work...
Looks like it is reading the wrong jpeg ibrary, but I have jpeg 7 installed. How do i tell ImageMagick to look up the right JPEG library version(I don't care 62 or 70 as long as it works).
here is the instruction i am following
...
Having two projects: one is a class library (a .dll assembly) and the other is a GUI (.exe) using the class library.
In the class library, I've added two .settings files (which automatically adds the app.config file to the project) using all "application" settings. When I compile the project I effectively get the MyLib.dll.config file i...
My configuration:
Apache 2.2.4
PHP 5.2.4 (fastCGI)
Windows XP pro
I have a script that takes more than a minute to run but after exactly 60 seconds (proven by Fiddler) the server always delivers a 408 timeout. My PHP max execution time is set to 120 seconds. After doing some reading I've tried putting a "Timeout 120" directive in my A...
I'm using IntelliJ to do Java Development for an application where we use JSF in a few places. In the .jsp file I have defined my backing class and the code runs properly.
My question is: How do I set up my environment so that when I center click on the method names, which use EL format, IntelliJ navigates to the proper method in the pr...
I have a fair sized config file in my asp.net application that I would to have access to in my client side script. Can anyone think of a good way to cause a section of my configuration to be serialized out as JSON and made available as a cacheable url? this is .net 3.5, and the config doesnt have any security issues.
...