Tutorial by Examples: dio

Gradle Setup : build.gradle(Module: app) compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } jackOptions { enabled true } What is the Stream API ? Stream is a new abstract layer introdu...
To see you unit tests go to Test -> Windows -> Test Explorer (Figure 1) This will open an overview of all the tests in the application (Figure 2) In the figure above you can see that the example has one unit test and it hasn’t been run yet You can double-click on a tes...
To see you unit tests go to Test -> Windows -> Code Coverage Results (Figure 1) It will open the following window (Figure 2) The window is now empty Go to the Test menu -> Analyze Code Coverage (Figure 3) The tests will now be run as well (See the results in the T...
Md2Collapse : Collapse is a directive, it's allow the user to toggle visiblity of the section. Examples A collapse would have the following markup. <div [collapse]="isCollapsed"> Lorum Ipsum Content </div> Md2Accordion : Accordion it's allow the user to toggle vis...
Audio and video assets will only block the scene if we set autoplay or if we set preload="auto": <a-scene> <a-assets> <!-- These will not block. --> <audio src="blockus.mp3"></audio> <video src="loadofblocks.mp4">&...
"""PyAudio Example: Play a wave file (callback version).""" import pyaudio import wave import time import sys if len(sys.argv) < 2: print("Plays a wave file.\n\nUsage: %s filename.wav" % sys.argv[0]) sys.exit(-1) wf = wave.open(sys.arg...
"""PyAudio Example: Play a wave file.""" import pyaudio import wave import sys CHUNK = 1024 if len(sys.argv) < 2: print("Plays a wave file.\n\nUsage: %s filename.wav" % sys.argv[0]) sys.exit(-1) wf = wave.open(sys.argv[1], 'rb') # i...
To start a new project in Visual Studio 2010: Click File Menu Select Project Next, we have project types and available languages listed : Select Languages available from left most panel [Below we have languages like Visual C#, VB, F# etc] Once we select languages from installed template...
File Commands File.NewProject : CTRL + SHIFT + N Displays the New Project dialog box. File.OpenProject: CTRL + SHIFT + O Displays the Open Project dialog box, where existing projects can be added to the solution. Project.AddClass: SHIFT + ALT + C Displays the Add N...
Visual Studio Community 2017 Free, fully-featured IDE for students, open-source and individual developer Visual Studio Professional 2017 Professional developer tools, services, and subscription benefits for small teams Visual Studio Enterprise 2017 End-to-end solution to meet demand...
If you have your data with each month of data arranged in rows like so: start by creating quarterly sums in the adjacent columns, D & E in our example. Start with the third row in the new column or the first quarter you want to create, in this example we'll use March 31st (2000-03-31). Use t...
Creation Steps Start Visual Studio 2013 as administrator Install Visual Studio extension Microsoft Visual Studio Installer Projects Create a class library project (WinFormActivex) Create your example window form (MainWindow) Create a new component interface(ILauncher) Create a new security i...

Page 7 of 7