Tutorial by Topics: le

The Queue module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be exchanged safely between multiple threads. There are three types of queues provides by queue module,Which are as following : 1. Queue 2. LifoQueue 3. Prior...
When running VbScript in Windows shell, there is no built in function to include a file, therefore, to organize your code in different files you'll need to create a method to do that. A few things to keep in mind when using the IncludeFile(p_Path) method : There is no limitation of file typ...
Previous versions of Raspbian (prior to November 2016) had SSH enabled by default. They also had a default username (pi) and password (raspberry) this was done to make first time setup for new users easier. But this obviously represents a large security hole. The new release (November 2016) disables...
A concurrent collection is a [collection][1] which permits access by more than one thread at the same time. Different threads can typically iterate through the contents of the collection and add or remove elements. The collection is responsible for ensuring that the collection doesn't become cor...
This manual contains the various ways in which portlet can co-ordinate or communicate amongst each other and the various scenarios for which a particular approach is used. References: Public render param JSR 286 specs Portlet session
Platform based conditional compiling comes in two forms in Go, one is with file suffixes and the other is with build tags. After "// +build", a single platform or a list can follow Platform can be reverted by preceding it by ! sign List of space separated platforms are ORed togethe...
Conditional variables are useful in cases where you want a thread to wait for something that happens in another thread. For instance, in a producer/consumer scenario with one or or more producing threads and one consuming thread, conditional variables can be used to signal the consuming thread that ...
Chrome supports headless browsing that's exposed through a switch that can be used when starting the process. This enables opening pages without creating a browser window, thus a graphical environment is not required. When used in conjuction with an appliance that connects to the remote debugging p...
.bash_profile, .bash_login, .bashrc, and .profile all do pretty much the same thing: set up and define functions, variables, and the sorts. The main difference is that .bashrc is called at the opening of a non-login but interactive window, and .bash_profile and the others are called for a login she...
A demonstration of how the producer-consumer pattern is implemented in Ada. function Scalar'Image (Argument : Scalar'Base) return String; task Task_Name; task Task_Name is Entries end; task body Task_Name is Declarations begin Code end; entry Entry_Name; accept Entry_Name; exit; T...
Topic "Automatic Variables" already has 7 examples listed and we can't add more. This topic will have a continuation of Automatic Variables. Automatic Variables are variables that store state information for PowerShell. These variables are created and maintained by Windows PowerShell. ...
From Adminer management tool it's has export to csv file option for mysql database But not available for postgresql database. Here I will show the command to export CSV for postgresql database.
When creating a performant and data-driven application, it can be very helpful to complete time-intensive tasks in an asynchronous manner and to have multiple tasks running concurrently. This topic will introduce the concept of using ThreadPoolExecutors to complete multiple ansynchronous tasks concu...
Sometimes you need to generate the skeleton for the test cases based on the classes you have in your project.
In this example, lets say we have many product CSV files in a folder. Each CSV file need to upload our database from our console write a command. Run the following command in a new or existing project to create this model.
In some cases, for instance when we want to backup solrcloud collections programmatically, we need to know what are the Shard Leaders. The example below shows how that can be achieved using SolrJ.
This topic is about setting up and using OpenGL ES 2.0+ on Android. OpenGL ES is the standard for 2D and 3D accelerated graphics on embedded systems - including consoles, smartphones, appliances and vehicles.
Acumatica ERP lets you define attributes for flexible, meaningful classification of an Entity (Lead, Stock/Non-Stock Items Etc.) as required for your company’s specific needs. An attribute is a property that enables you to specify additional information for objects in the system. Attributes are defi...

Page 50 of 68