Tutorial by Examples

using System.IO.Ports; namespace TextEchoService { class Program { static void Main(string[] args) { var serialPort = new SerialPort("COM1", 9600, Parity.Even, 8, StopBits.One); serialPort.Open(); string message = &quot...
using System; using System.Collections.Generic; using System.IO.Ports; using System.Text; using System.Threading; namespace AsyncReceiver { class Program { const byte STX = 0x02; const byte ETX = 0x03; const byte ACK = 0x06; const byte NAK = 0x15...
Detailed instructions on getting active-directory set up or installed.
An integer type large enough to represent all characters of the largest supported extended character set, also known as the wide-character set. (It is not portable to make the assumption that wchar_t uses any particular encoding, such as UTF-16.) It is normally used when you need to store character...
php bin/magento setup:di:compile You might need to delete var/di (including the folder) in order to go through compilation. rm -rf var/di
Flush all Magento Cache php bin/magento cache:clean php bin/magento cache:flush Check cache status php bin/magento cache:status
Enable and upgrade setup php bin/magento module:enable YKM_Custom php bin/magento setup:upgrade Disable the Module php bin/magento module:disable YKM_Custom Another One - module uninstall script is executed and whole module gets deleted afterwards. Only modules installed through Composer ca...
In addition to image classification datasets, Caffe also have "HDF5Data" layer for arbitrary inputs. This layer requires all training/validation data to be stored in hdf5 format files. This example shows how to use python h5py module to construct such hdf5 file and how to setup caffe &quo...
Requirements: A developer account An apk already built and signed with a non-debug key A free app that doesn't have in-app billing no Firebase Cloud Messaging or Game Services Head to https://play.google.com/apps/publish/ 1a) Create your developer account if you do not have one Click b...
This analyzes a python script and, for each defined function, reports the line number where the function began, where the signature ends, where the docstring ends, and where the function definition ends. #!/usr/local/bin/python3 import ast import sys """ The data we collect. ...
When we use @SpringApplicationConfiguration it will use configuration from application.yml [properties] which in certain situation is not appropriate. So to override the properties we can use @TestPropertySource annotation. @TestPropertySource( properties = { "spring...
1-You need to connect your device to your computer via USB cable. Make sure USB debugging is working. You can check if it shows up when running adb devices(or tns device). 2-Run adb tcpip 5555 3-Disconnect your device (remove the USB cable). 4-Go to the Settings -> About phone -> Status...
In order to compare query sequences against reference sequences, you must create a blastdb of your reference(s). This is done using makeblastdb which is included when you install blast. makeblastdb -in <input fasta> -dbtype nucl -out <label for database> So if you had a file referen...
You can extract fasta sequence from a blastdb constructed from a fasta file using blastdbcmd which should be installed when you install makeblastdb. blastdbcmd -entry all -db <database label> -out <outfile> If you had a database called my_database which contained the files my_databas...
apt-get install ncbi-blast+ You can check the version that will be installed in advance here: http://packages.ubuntu.com/xenial/ncbi-blast+
The [[maybe_unused]] attribute is created for indicating in code that certain logic might not be used. This if often linked to preprocessor conditions where this might be used or might not be used. As compilers can give warnings on unused variables, this is a way of suppressing them by indicating in...
The same example above, Image loading, can be written using async functions. This also allows using the common try/catch method for exception handling. Note: as of April 2017, the current releases of all browsers but Internet Explorer supports async functions. function loadImage(url) { return...
Detailed instructions on getting qlikview set up or installed.
While working on the development of an R package it is often necessary to install the latest version of the package. This can be achieved by first building a source distribution of the package (on the command line) R CMD build my_package and then installing it in R. Any running R sessions with p...
The getaddrinfo() function is the recommended POSIX function for interfacing with the system resolver. Depending on system configuration it will perform name lookups in the DNS, /etc/hosts, mDNS, etc. It is preferred over the deprecated gethostbyname() family of functions because it supports both ...

Page 748 of 1336