Tutorial by Examples: ce

Create a new bot in Azure following this documentation Login into Azure and from Intelligence + Analytics category, select Bot Service and provide required information. Enter the required details for the bot, they are identical to the required details of an App Service,for example App Name, Subs...
Processing Field collection items with Rules is fun, really! Have a look at this Rule (in Rules export format): { "rules_calculate_sum_of_prices_in_all_field_collection_items" : { "LABEL" : "Calculate sum of prices in all field collection items", "PLUGIN...
Keychain allows to save items with special SecAccessControl attribute which will allow to get item from Keychain only after user will be authenticated with Touch ID (or passcode if such fallback is allowed). App is only notified whether the authentication was successful or not, whole UI is managed b...
TL;DR It basically allows us to simulate real devices and test our apps without a real device. According to Android Developer Documentation, an Android Virtual Device (AVD) definition lets you define the characteristics of an Android Phone, Tablet, Android Wear, or Android TV device that you w...
strComputer = "." instances = 0 processName = "chrome.exe" Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colProcess = objWMIService.ExecQuery("Select * from Win32_Process") For Each objProcess in colP...
One of the most critical parts of dealing with NMS code is being able to support mulitple Minecraft versions. There are numerous ways to do this, but a simple solution is to use this code to store the version as a public static field: public static final String NMS_VERSION = Bukkit.getServer().getC...
This will be our example data frame: df = pd.DataFrame({"color": ['red', 'blue', 'red', 'blue']}, index=[True, False, True, False]) color True red False blue True red False blue Accessing with .loc df.loc[True] color True red True red ...
Consider next example: public interface A { default void foo() { System.out.println("A.foo"); } } public interface B { default void foo() { System.out.println("B.foo"); } } Here are two interfaces declaring default method foo with the same signature. If you wi...
public class ExpandBarDynamicContentExample { private final Display display; private final Shell shell; public ExpandBarDynamicContentExample() { display = new Display(); shell = new Shell(display); shell.setLayout(new FillLayout()); // Create...
DB backup Database backup is a must before starting any Dynamics CRM upgrade process. This is mandatory as to always have the option to rollback in case of any major roadblock. Wrong Estimation DO NOT underestimate the work involved in a CRM Upgrade process. Audit your current Microsoft Dynamics...
The place() manager organises widgets by placing them in a specific position in the parent widget. This geometry manager uses the options anchor, bordermode, height, width, relheight, relwidth,relx, rely, x and y. Anchor Indicates where the widget is anchored to. The options are compass directions...
Hot Module Replacement allows to add, change or delete app module when application is running. Page reloading is not needed in this case. Prerequisites In addition to webpack-dev-middleware packages: npm install --save-dev webpack-hot-middleware Configuration Simply update configuration of UseW...
public class NetworkConnection : IDisposable { string _networkName; public NetworkConnection(string networkName, NetworkCredential credentials) { _networkName = networkName; var netResource = new NetResource() {...
CF keeps you logged in. I sometimes have to switch between regions and don't always know where I am #Where am I? cf target #Login. This is logging in to the UK region of bluemix. Replace eu-gb with ng to go to the US. cf login -a https://api.eu-gb.bluemix.net #List spaces cf spaces #C...
It is common to use javax.sql.DataSource with JNDI in application server containers, where you register a data source under a name and look it up whenever you need a connection. This is code that demonstrates how data sources work: /** * Create a data source with connection pool for PostgreSQL c...
Given the following class: public class FinalizableObject { public FinalizableObject() { Console.WriteLine("Instance initialized"); } ~FinalizableObject() { Console.WriteLine("Instance finalized"); } } A program that create...
Weak references are... references, to other objects (aka "targets"), but "weak" as they do not prevent those objects from being garbage-collected. In other words, weak references do not count when the Garbage Collector evaluates objects as "live" or "dead". T...
The following code, inserted in your wp-config.php file, will log all errors, notices, and warnings to a file called debug.log in the wp-content directory. It will also hide the errors so they do not interrupt page generation. // Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug...
Once you have installed Visual Studio from https://www.visualstudio.com/downloads/, start a new project. Select 'Windows Forms Application' from Visual Basic Tab. You can rename it here if you need to. Once you click 'OK', you will see this window: Click on the 'Toolbo...
To create a customization package replacing images on the login page, follow the steps below on your local Acumatica instance: Create a new folder in the Acumatica instance folder. For this example I added a folder called IconsCustomized in my local LoginImages instance: Add your custom ...

Page 120 of 134