Tutorial by Examples: is

The images in this section are all from Outlook 2016 but they could have come from Outlook 2003. Outlook VBA may have changed over the years but to my eyes the VBA Editor has not. Whichever version you have you will see something like: Above there is a “+” against "Project1". If you hav...
Did your version of Outlook need you to add the Development tab? If so, you will not need to repeat this process until you next have a new Outlook installation. Come back here when that happens. Remember how to enter the Visual Basic Editor. Remember how to create and rename a module.
A common technique for using channels is to create some number of workers (or consumers) to read from the channel. Using a sync.WaitGroup is an easy way to wait for those workers to finish running. package main import ( "fmt" "sync" "time" ) func ...
Let's consider the below snippet, Get-ChildItem -Path C:\MyFolder | Select-Object Name, CreationTime, Length It simply output the folder content with the selected properties. Something like, What if I want to display the file size in KB ? This is where calcualted properties comes handy. Get-...
Incorrect code Public Sub DoSomething() DoSomethingElse "42?" End Sub Private Sub DoSomethingElse(foo As Date) ' Debug.Print MonthName(Month(foo)) End Sub Why doesn't this work? VBA is trying really hard to convert the "42?" argument into a Date value. When it ...
There are a number of functions and methods for working with comma (or other character) separated lists in Progress 4GL. NUM-ENTRIES Returns the number of entries in a list. You can optionally specify delimiter, comma is default NUM-ENTRIES(string [, delimiter]) Using comma, the default deli...
First create a disposable class: public class MyDisposableHelper: IDisposable { private bool _disposed; private readonly ViewContext _viewContext; public MyDisposableHelper(ViewContext viewContext) { if (viewContext == null) { throw ne...
The creators of Swift have put a lot of attention into making the language expressive and error handling is exactly that, expressive. If you try to invoke a function that can throw an error, the function call needs to be preceded by the try keyword. The try keyword isn't magical. All it does, is mak...
Ubuntu: lshw is a small tool to extract detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. $ sudo lshw | less (or more) $ sudo lshw -ht...
Open Visual Studio and Select File -> New Project Select AWS Lambda Project with Tests (.NET Core) Next the Select Blueprint screen will display. Select Empty Function and Click the Finish button: Go to Tools -> NuGet Package Manager -> Package Manager Console. In the console win...
After Step 3 above, Visual Studio will open the View Function window with your function loaded. On the bottom left of this screen, enter the following json into the Sample Input box: { "month": "10", "day": "28", "year": "1979" } ...
To get general statistics about main components of Linux family of stat commands are extremely useful CPU To get processors related statistics you can use mpstat command but with some options it will provide better visibility: $ mpstat 2 10 Memory We all know command free to show amount of (r...
Online Books These are books that are freely accessible online. Practical Common Lisp by Peter Seibel is a good introduction to CL for experienced programmers, which tries to highlight from the very beginning what makes CL different to other languages. Common Lisp: A Gentle Introduction to Symb...
As most of the information contained within Google drive is private user data. You must have an access token in order to access the information. Access tokens can be retrieved via the Oauth2 authentication process. GET https://www.googleapis.com/drive/v2/files?access_token={Valid Access Token} ...
react-native bundle --platform android --dev false --entry-file index.android.js \ --bundle-output android/app/src/main/assets/index.android.bundle \ --assets-dest android/app/src/main/res/
This uses the Dropbox Java SDK to retrieve an existing shared link for /Testing/test.txt specifically: ListSharedLinksResult listSharedLinksResult = client.sharing() .listSharedLinksBuilder() .withPath("/Testing/test.txt").withDirectOnly(true) .start(); System....
Hello friends before start code we have need to declare dependency for access firebase ui component, so here is the dependency which you can put it in your gradel other wise you can add dependency as jar also. compile 'com.firebaseui:firebase-ui-database:0.4.0' Then after we are querying in fire...
It internally creates a ReplaySubject and makes it multicast compatible. The minimal replay value of ReplaySubject is 1 emission. This results in the following: First subscription will trigger the publishReplay(1) to internally subscribe to the source stream and pipe all emissions through the Rep...
In LR Classifier, he probabilities describing the possible outcomes of a single trial are modeled using a logistic function. It is implemented in the linear_model library from sklearn.linear_model import LogisticRegression The sklearn LR implementation can fit binary, One-vs- Rest, or multinomia...
New Java programmers often forget, or fail to fully comprehend, that the Java String class is immutable. This leads to problems like the one in the following example: public class Shout { public static void main(String[] args) { for (String s : args) { s.toUpperCase(); ...

Page 90 of 109