Tutorial by Examples: config

When adding custom fields to a Lucene index you can add new fields into the index using the following configuration: <configuration ref="contentSearch/indexConfigurations/defaultLuceneIndexConfiguration"> <indexAllfields>false</indexAllfields> <fieldNames hint=...
First we must edit the SSH daemon config file. Though under different Linux distributions this may be located in different directories, usually it is stored under /etc/ssh/sshd_config Use your text editor to change the values set in this file, all lines starting with # are commented out and must ha...
This is a bare minimum setup for MySQL servers using InnoDB tables. Using InnoDB, query cache is not required. Reclaim disk space when a table or database is DROPed. If you're using SSDs, flushing is a redundant operation (SDDs are not sequential). default_storage_engine = InnoDB query_cache_type ...
This tslint.json example contains a set of configuration to enforce more typings, catch common errors or otherwise confusing constructs that are prone to producing bugs and following more the Coding Guidelines for TypeScript Contributors. To enforce this rules, include tslint in your build process ...
Having culture-specific URLs can be beneficial in terms of SEO. E.g. English version of the following page: http://www.mydomain.com/insurance Would translate into: http://www.mydomain.nl/verzekering Instead of: http://www.mydomain.nl/nl-nl/insurance There are more approaches of achievin...
In Vim, your configuration file is ~/.vimrc, with further configuration files in ~/.vim. In Neovim, configuration files are located in ~/.config/nvim. There is also no ~/.nvimrc file. Instead, use ~/.config/nvim/init.vim. You can import your Vim configuration directly into Neovim using this Unix c...
Since vim version 7.3 the feature 'persistent_undo' is supported, which makes it possible do undo/redo changes, even after closing vim or restarting your computer. It's possible to configure it by adding the following to your vimrc, but first create a directory, where your undofiles should be saved...
The recommended approach would be to avoid doing so and rather use IOptions<TOptions> and IServiceCollection.Configure<TOptions>. That said, this is still pretty straightforward to make IConfigurationRootavailable application wide. In the Startup.cs constructor you should have the foll...
The simplest and cleanest way to add an external configuration is through a separate Gradle file build.gradle apply from: './keystore.gradle' android{ signingConfigs { release { storeFile file(keystore.storeFile) storePassword keystore.storePassword ...
set clipboard=unnamed This makes it possible to copy/paste between Vim and the system clipboard without specifying any special register. yy yanks the current line into the system clipboard p pastes the content of the system clipboard into Vim This only works if your Vim installation has cli...
Adding the aurelia-configuration to a cli application sometimes produces a build error. This is caused by a missing dependency so we simply add the dependency to the build bundle. Try the following: npm install deep-extend --save npm install aurelia-configuration --save Now add the followi...
bitcoin.conf The bitcoin.conf file allows customization for your node. Create a new file in a text-editor and save it as bitcoin.conf in your /bitcoin directory. Location of your /bitcoin directory depends on your operation system. Windows XP C:\Documents and Settings\<username>\...
Autodoc needs to imports your modules to work. You can include your code path in your conf.py file. For instance: import os sys.path.insert(0, os.path.abspath('../src'))
In the official reference document, it says: The main function of an inbound Channel Adapter is to execute a SQL SELECT query and turn the result set as a message. The message payload is the whole result set, expressed as a List, and the types of the items in the list depend on the row-mapping st...
In the Spring Integration Reference Docuement, it says: The outbound Channel Adapter is the inverse of the inbound: its role is to handle a message and use it to execute a SQL query. The message payload and headers are available by default as input parameters to the query... Java code p...
amazingservice: url: 'http://amazing.com' client_id: 'test_client_1' client_secret: 'test_secret' This is a basic example for create configuration in yml format, for following the yml format you can take deeper configuration.
For instance you have a bundle, which generated by the symfony console. In this case in the DependencyInjection/Configuration.php you have to insert your configuration representation: $treeBuilder = new TreeBuilder(); $rootNode = $treeBuilder->root('amazingservice'); $rootNod...
You must to add to web.xml a configuration tag like this: <context-param> <param-name>facelets.SKIP_COMMENTS</param-name> <param-value>true</param-value> </context-param> Now you can use normal HTML comments tag <!-- and --> <!-- <...
File: /etc/resolv.conf contains a list of DNS servers for domain name resolution Sample contents of the file: nameserver 8.8.8.8 # IP address of the primary name server nameserver 8.8.4.4 # IP address of the secondary name server In case internal DNS server you can validate if this server reso...
If you do not want to use ASPNETCORE_ENVIRONMENT from environment variables and use it from web.config of your application then modify web.config like this- <aspNetCore processPath=".\WebApplication.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\lo...

Page 11 of 15