Questions tagged [config]

Config files configure the initial settings for some computer programs

Configuration files, or config files configure the initial settings for some computer programs. They are used for user applications, server processes and operating system settings. They may be considered a simple database.

6120 questions
2
votes
1 answer

How to set config for gitlab?

I used the official guide to the configuration. The key is generated. Don't understand how to set config. Here is my file: [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url =…
Kas Elvirov
  • 7,394
  • 4
  • 40
  • 62
2
votes
0 answers

Phpmyadmin not displaying table data

I have a table named "log", which basically stores error log for my php application. My application has database running on rds, and recently i had to delete logs from this table, so i downloaded a backup of this table and imported into my local…
abhij89
  • 625
  • 3
  • 18
2
votes
1 answer

Having hierarchical node.js config files

I checked here first before I come here. My question is a little different than that. I have following folder structure. app.js global.config.js node-modules my module module.config.js index.js global.config.js: var config =…
Teoman shipahi
  • 47,454
  • 15
  • 134
  • 158
2
votes
1 answer

Portably testing for the POPCNT instruction

I'd like my configure script to detect the availability of the POPCNT instruction across a wide variety of Unix-like systems. At the moment I do these tests: Look for "popcnt" in /proc/cpuinfo. This works in Linux and Cygwin. Look for "popcnt" in…
2
votes
2 answers

curl: Is it possible to set timeout globally in shell

Is it possible to set timeout value for curl globally? E.g. via an environment variable or config file? I have a shell script with some 20 curl commands scattered all over and would like to avoid specifying --connect-timeout everywhere. This is for…
Kashyap
  • 15,354
  • 13
  • 64
  • 103
2
votes
1 answer
2
votes
2 answers

Zend framework 2 - write to config file

In config file I have stored address to server my website rely on. In case of failure of this server I want to use backup server. (permanently, not only for this request). So if the server1 fails, I want to use server2. I found the best way to…
2
votes
2 answers

Snort Error: Active response: can't open ip

I am trying to run snort on windows as newbie. I have followed this link to start off. After completing all steps, when I try to test configuration file, it gives me above error. I am running cmd in Administrator mode. Is there anything else I am…
aneela
  • 1,457
  • 3
  • 24
  • 45
2
votes
1 answer

Better suggestion for external config file

I am currently using xml as a config file for my silverlight application. I have no problem reading the file, but now that I also require to update the file through web(preferably silverlight as will show preview of font colors, size etc), the only…
C_Rance
  • 661
  • 12
  • 25
2
votes
1 answer

In MyBatis, how to set scope for an element for re-using

element like this: id = #{id}, id = #{name}, ... And…
illuz
  • 23
  • 1
  • 5
2
votes
0 answers

Nginx config, (rewrite|rename) /wp-admin/ and hide

I try to do the same thing that the apache config, but for Nginx (fastcgi). To hide the folder / wp-admin / bot attacks. m5K3H8d6 is a key. # HIDE LOGIN, REGISTER, ADMIN # m5K3H8d6 is key "salt" # wp-login = choice-login RewriteRule ^choice-login/?$…
lolo888
  • 21
  • 6
2
votes
1 answer

CodeIgniter: Custom Hmvc config File - csrf

I'm working with CI 2.1.4 and HMVC and i have this problem with security class and config files. I have 3 modules with custom config file and default config.php file in app/config folder. application config config.php // Default security…
AldoZumaran
  • 547
  • 5
  • 23
2
votes
1 answer

Webpack module parse fails. loader react and babel

I have started with webpack today and I'm having some problems to get it running. Basically I need an application using react & es6. Bellow you can see the error: webpack.config.js var HtmlWebpackPlugin =…
gon250
  • 3,405
  • 6
  • 44
  • 75
2
votes
1 answer

Pattern matching for profile in Spring Cloud Config Server

Context I am attempting to separate configuration information for our applications using the pattern-matching feature in Spring Cloud Config Server. I have created a repo for "production" environment with a property file floof.yaml. I have created a…
2
votes
2 answers

how to inject class dependency in Yii2 configuration?

I am learning Yii2. Here is one situation I have not googled the answer. I register a component called scraper in config/console.php's $config['components'] array, this scraper class has a public property $_client which is a Goutte\Client class. I…
Jinsong Li
  • 6,347
  • 1
  • 23
  • 20