configuration Questions

8

Solved

Does anyone know how to get the current build configuration $(Configuration) in C# code?
Goings asked 6/5, 2009 at 12:13

3

When debugging a program with gdb (gdb main), it shows a lot of credits, and links. I know that we can use the quiet argument to disable this text, but I want to disable it permanently. Does gdb ha...
Addam asked 16/9, 2020 at 10:49

2

Solved

I was following this tutorial to enable ssl in tomcat: https://medium.com/@raupach/how-to-install-lets-encrypt-with-tomcat-3db8a469e3d2 Altough tomcat is running at the end, i can not access https,...
Dillingham asked 25/4, 2021 at 20:35

3

Solved

How to test implementations of Guice AbstractModule in a big project without creating fake implementations? Is it possible to test bind() and inject() methods?
Marcellus asked 3/11, 2014 at 8:14

6

Solved

When using the Spring 3.0 capability to annotate a scheduled task, I would like to set the fixedDelay as parameter from my configuration file, instead of hard-wiring it into my task class, like cur...
Quart asked 8/4, 2010 at 9:19

3

Solved

I have a config.ini file which contains some properties but I want to read the environment variables inside the config file. [section1] prop1:(from envrinment variable) or value1 Is this possib...
Came asked 16/11, 2018 at 0:17

2

I have installed tinyproxy in CentOS 7 machine and changed the port to 8080 in tinyproxy.conf Wherenever I am hitting request I am getting following logs in tinyproxy.log:- CONNECT Mar 15 08:14:42...
Selima asked 18/3, 2017 at 8:34

5

Solved

I wanted to dynamically set the Websockets-gateway port from config in NestJS. Below is my websockets-gateway code. import { WebSocketGateway } from '@nestjs/websockets'; const WS_PORT = parseInt(...
Vesicate asked 4/10, 2021 at 11:49

4

Solved

What's the simplest way to store the application secrets (passwords, access tokens) for a Python script? I thought it'd be a *.yml file like in Ruby but surprisingly I found that it wasn't the case...
Hartal asked 26/8, 2014 at 8:36

5

Solved

I often come across the following popular emacs builds: graphene prelude emacs-live Currently I'm running a custom configuration, but I'd like to experiment with these builds without clobbering...
Expiation asked 5/2, 2014 at 3:25

3

I am looking through next.js documentation and trying to understand what the suggested approach is for setting URLs that change in different environments. Mostly, I want to ensure that I'm pointing...
Grindlay asked 23/2, 2020 at 16:36

3

I have been able to set up strongly typed configuration in ASP.NET 5, and it works perfectly. I have also set the configuration to reload automatically when the .json configuration files are change...
Biometry asked 21/3, 2016 at 10:22

43

Solved

I have installed PostgreSQL 9.6.2 on my Windows 8.1. But the pgadmin4 is not able to contact the local server. I have tried several solutions suggested here in stackoverflow, tried to uninstall and...
Speaker asked 4/4, 2017 at 15:18

4

Solved

I have 5 projects in my .net c# solution. I have changed each of the projects platform to x64 in Build's platform target (This was initially 'Any CPU') and the project worked fine. Then I changed...
Suspicion asked 28/11, 2013 at 11:9

2

Solved

I'd like to be able to compile and run a react app directly from VSCode, and then get into debug mode (and do it regardless if it's a javascript or typescript react app). The expected steps are: R...
Buitenzorg asked 23/12, 2020 at 22:28

12

Solved

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 po...
Rustyrut asked 24/9, 2009 at 13:6

14

Solved

In Visual Studio Code, what setting can be configured, using file patterns, to hide files from view in the sidebar's file-explorer? I would like to hide certain groups of files, like .meta and .git...
Sharilyn asked 9/5, 2015 at 12:48

12

I feel like I'm missing something really obvious here. I have classes that require injecting of options using the .NET Core IOptions pattern(?). When I unit test that class, I want to mock various ...
Maddox asked 29/11, 2016 at 21:56

21

Solved

On Mac OSX Mavericks using homebrew php55 whenever I run a a php command I get the following error message (everything runs fine it's just annoying) PHP Warning: Module 'intl' already loaded in Un...
Consecrate asked 24/9, 2015 at 15:13

5

How can I change the font's style for VS Code's "Inlay Hints" feature? I attempted to search for an answer, but could only find how to change the color, not the style. Here's an example: ...
Lunch asked 5/5, 2022 at 12:0

5

Solved

I'm in a bit of a bind with Git. I'm trying to execute git commit but I need to be able to swtich between ~/.gitconfig1 and ~/.gitconfig2 Is there a command line switch - or anyway to have Git use ...
Dapplegray asked 28/8, 2010 at 20:34

2

Solved

The Spring reactive WebClient can be built with a base URL: import org.springframework.web.reactive.function.client.WebClient; ... @Bean public WebClient webClient(WebClient.Builder builder) { ret...
Canvasback asked 21/11, 2022 at 17:12

2

Solved

It seems ConditionalOnProperty only works for properties within the classpath like application.properties in the resources folder. I need a property that an end-user can turn on and off via an exte...
Hourihan asked 10/2, 2018 at 3:50

2

Solved

I set the following MySQL parameter: SET GLOBAL wait_timeout = 2147483; However, after server restart it reverted to its default value 28800. Isn't the SET command persistent? In order to have thi...
Birdiebirdlike asked 18/11, 2011 at 8:41

4

Solved

Using the .NET Core Microsoft.Extensions.Configuration is it possible to bind to a Configuration to an object that contains an array? ConfigurationBinder has a method BindArray, so I'd assume it w...
Coremaker asked 15/6, 2016 at 2:26

© 2022 - 2024 — McMap. All rights reserved.