Tutorial by Examples

If a file is changed, but you don't like to commit it, set the file as "Assume unchanged" Revert "Assume unchanged" Need some steps:
Since Git 2.13, multiple usernames and email addresses could be configured by using a folder filter. Example for Windows: .gitconfig Edit: git config --global -e Add: [includeIf "gitdir:D:/work"] path = .gitconfig-work.config [includeIf "gitdir:D:/opensource/"] ...
You can dynamically fork a flow in multiple subflows using groupBy. The continuing stages are applied to each subflow until you merge them back using mergeSubstreams. val sumByKey: Flow[(String, Int), Int, NotUsed] = Flow[(String, Int)]. groupBy(Int.maxValue, _._1). //forks the flow ...
The following app will start an HTTP server listening on port 8080 that returns Hello world on GET /hello/world import akka.actor.ActorSystem import akka.http.scaladsl.Http import akka.http.scaladsl.server.Directives._ import akka.http.scaladsl.server._ import akka.stream.ActorMaterializer i...
If we want to remove some database connection from the list of database connections. we need to use QSqlDatabase::removeDatabase(),however it's a static function and the way it work is a little wired. // WRONG WAY QSqlDatabase db = QSqlDatabase::database("sales"); QSqlQuery query(&...
If you want to comment part of your code, then comment blocks may be useful. Comment block starts with a %{ in a new line and ends with %} in another new line: a = 10; b = 3; %{ c = a*b; d = a-b; %} This allows you fo fold the sections that you commented to make the code more clean and comp...
Here's an example with the technique(hack) invented by the dostips forums' user Liviu: @echo off echo Printed by CMD.EXE cscript //nologo "%~f0?.wsf" //job:JS //job:VBS exit /b %errorlevel% ----END OF BATCH CODE--- <package> <job id="JS"> <script...
Explains how the Windows installer works, what MSI packages are, what merge modules are, how and why transforms can be used and finally commandline options for MSIEXEC. Describes the tools being provided by Microsoft (and 3rd party authoring tools such as InstallShield, Advanced Installer, Wise Pac...
DEBUG command was used to create binaries/executabled from batch file. The command is still available in 32bit versions of windows , but is able to create binaries only with 16bit instructions with makes it unusable for 64bit machines. Now CERTUTIL is used for that purpose which allows to decode/enc...
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>project-info-reports</artifactId> <version>2.9</version> <executions> ...
APPEND was command in msdos that allowed to use resource/media files like they are in the same directory.The command is still available in 32bit versions of windows but seems is not working. In some sources (including microsofts') it is pointed that the command is replaced by DPATH ,but it is not en...
BITSADMIN was used to transfer documents, download website, download files from websites, etc... This command is a deprecated command, and may be removed on next Windows updates. To prevent this issue, use the new Powershell BIT cmdlet. Here is a sample code utilizing BITSADMIN. @echo off Bitsa...
<dependencies> <dependency> <groupId>{ejbModuleGroupId}</groupId> <artifactId>{ejbModuleArtifactId}</artifactId> <version>{ejbModuleVersion}</version> <type>ejb</type> </dependency> &...
The wasd-controls component controls an entity with the W, A, S and D or arrow keyboard keys. The wasd-controls component is commonly attached to an entity with the camera component. <a-entity camera look-controls wasd-controls></a-entity> For azerty keyboards, you could use Z, Q, S...
The look-controls component: Rotates the entity when we rotate a VR head-mounted display (HMD). Rotates the entity when we click-drag mouse. Rotates the entity when we touch-drag the touchscreen. The look-controls component is usually used alongside the camera component. <a-entity came...
A-Frame 0.x0.3 A-Frame provides an implementation for supporting multiple types of 6DoF controllers (Vive, Oculus Touch) via the hand-controls component. The hand-controls component is primarily for 6DoF controllers since it’s geared towards room scale interactions such as grabbing objects. The han...
A-Frame 0.x0.3 The tracked-controls component is A-Frame’s base controller component that provides the foundation for all of A-Frame’s controller components. The tracked-controls component: Grabs a Gamepad object from the Gamepad API given an ID or prefix. Applies pose (position and orien...
An Array Data Structure is used to store similar objects (or data values) in a contiguous block of memory. Array Data Structure has fixed size, which determines the number of data values that can be stored in it. Array : The C++ Way In C++ Programming Language, we can declare a static arr...
For example, consider the following that sets the contents of $@ to the contents of a given variable: a=(1 2 3) eval set -- "${a[@]}" This code is often accompanied by getopt or getopts to set $@ to the output of the aforementioned option parsers, however, you can also use it to creat...
1- First all, install https://www.meteor.com/install 2- Create a project. (--bare is to create an empty project) meteor create --bare MyAwesomeProject 3- Create the minimal file structure (-p to create intermediate directories): cd MyAwesomeProject mkdir -p client server imports/api imports/ui/...

Page 1268 of 1336