Tutorial by Examples: conf

Identify the local scanner By using lsusb, identify the productId (1909 here) : pi:# lsusb pi:# Bus 001 Device 005: ID 04a9:1909 Canon, Inc. CanoScan LiDE 110 With that productId, grep the correct configuration file (it depends of your scanner model, for me it is genesys.conf) : pi:# grep 190...
A Kubernetes cluster is controlled using the kubectl command. The method of configuring kubectl depends on where Kubernetes is installed. Google Cloud (Container Engine) To install kubectl using the Google Cloud SDK: gcloud components install kubectl To configure kubectl to control an existing...
Append the following command to the Codeship setup commands: meteor npm run mgp Now, we need to give Codeship access to these private repositories. There is a Codeship documentation article describing this process in detail but here are the steps that you have to take for Github: Create a new...
You can have a config.yml file that loads directly from your jar file. It must be added to your project's folder, the same way as the plugin.yml file is. In this file you have the default values for your configuration. Example config: # This is an YML comment adminName: "Kerooker" mod...
Usage To install a module (assuming cpanm is already installed): cpanm Data::Section cpanm ("cpanminus") strives to be less verbose than cpan but still captures all of the installation information in a log file in case it is needed. It also handles many "interactive questions&quo...
Configuration Log4j configuration file can be in any of these formats: JSON YAML properties (text file) XML Configuration discovery Log4j will inspect the log4j.configurationFile system property and, if set, will attempt to load the configuration. If no system property is set log4j wil...
The advantage of using Apache over the builtin werkzeug server is that Apache is multi-threaded, meaning that multiple connections to the application can be made simultaneously. This is especially useful in applications that make use of XmlHttpRequest (AJAX) on the front-end. /etc/apache2/sites-ava...
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <list> <value>classpath:ReleaseBundle.properties</value> </list> </bean>
This writeup walks though steps to configure Tomcat to request CAC certificates from the client. It is focused on setting up a development environment, so some features that should be considered for production are not here. (For example it shows using a self-signed certificate for https and it does...
Introduction Sometimes migrations conflict, resulting in making the migration unsuccesful. This can happen in a lot of scenerio's, however it can occur on a regular basis when developing one app with a team. Common migration conflicts happen while using source control, especially when the feature-...
There are very good configurations to force typings and get more helpful errors which are not activated by default. { "compilerOptions": { "alwaysStrict": true, // Parse in strict mode and emit "use strict" for each source file. // If you have wrong c...
You can configure the database settings in config/connections.js. Example: someMongoDb: { adapter: 'sails-mongo', host: 'localhost', // defaults to `localhost` if omitted port: 27017, // defaults to 27017 if omitted user: 'username_here', // or omit if not relevant password: 'passwo...
Step one We need to create a service called jwToken. Go to api/services directory and create jwToken.js. 'use strict'; const jwt = require('jsonwebtoken'), tokenSecret = "secretissecret"; module.exports = { // Generates a token from supplied payload issue(payload) { ...
Go to the directory with the source code: cd freebsdsrc Go to the directory with the kernel's configuration code: # If your system is 32-bit. cd sys/i386/conf/ # If your system is 64-bit. cd sys/amd64/conf/ Get a copy of the GENERIC kernel (let's call it MODEDKERNEL). It will ...
Let's configure the destination directory for the root filesystem of your new FreeBSD (for example /usr/home/beastie/MODEDKERNEL). Add the following lines to /etc/src.conf to set it up: .if ${KERNCONF} == "MODEDKERNEL" DESTDIR?=/usr/home/beastie/MODEDKERNEL MODULES_OVERRID...
If you want custom configuration from ports, you can configure it before building it make config. All ports configuration are stored in /var/db/ports/${CATEGORY_NAME}/options as makefile. Configuring www/apache24 cd /usr/ports/www/apache24 make config make make install This configuration wil...
CELERY Installation - pip install django-celery Add Basic project structure. - src/ - bin/celery_worker_start # will be explained later on - logs/celery_worker.log - stack/__init __.py - stack/celery.py - stack/settings.py - stack/urls.py - manage.py ...
Simple The Simple Products type should be used for that generally have a single configuration (one-size-fits-all). This might include items such as: A Box of Crayons, Small (24 Colors) A Box of Crayons, Large (64 Colors) SuperHighTech 26” HD Computer Monitor Barrack Obama Action Figure (6”) ...
In case of problems, enable the internal logger <nlog internalLogFile="c:\log.txt" internalLogLevel="Trace"> <targets> <!-- target configuration here --> </targets> <rules> <!-- log routing rules --> </rules&gt...
Castle enables to register components also via XML Registration. //To install from the app/web.config container.Install(Configuration.FromAppConfig()); //To install from an xml file Configuration.FromXmlFile("relative_path_to_file.xml"); Read Castle's documentation for "What ...

Page 10 of 17