Prerequisite:
Prior to user import it is a good practice to drop the schema or table imported.
Commands:
impdp <bkpadmin>/<bkp123> parfile=<imp.par>
*Please replace the data in <> with appropriate values as per your environment. You can add/modify parameters as per...
This workaround helped us so much at my job (Tech Support), we made a simple batch file we could run from anywhere (We didnt have the permissions to install the actual exe). This workaround will run OpenSSL and open up the bin folder for you (cause this is where any files you create or modify will b...
Filename myEmail EMAIL
Subject = "My Email Subject"
From = "[email protected]"
To = '[email protected]'
CC = '[email protected]'
Type = 'Text/Plain';
Data _null_; File myEmail;
PUT "Email content";
PUT &q...
Take note of the email type: Type = 'text/html';
Filename myEmail EMAIL
Subject = "My Email Subject"
From = "[email protected]"
To = '[email protected]'
CC = '[email protected]'
Type = 'text/html';
Data _null_; File my...
This example shows how to manipulate button ideal size by specifying a fixed size.
class ButtonSubclass {
public:
ButtonSubclass(HWND hWndButton) {
SetWindowSubclass(hWndButton, MyButtonSubclassProc, 1, (DWORD_PTR) this);
}
~ButtonSuclass() {
RemoveWindowSubclass...
For example, imagine a screen with 3 sections, laid out like this:
The blue box might be given a margin of 4,4,0,0. The green box might be given a margin of 4,4,4,0. The purple box margin would be 4,4,4,4. Here's the XAML: (I'm using a grid to achieve the layout; but this design principle applies...
Sometimes Android's logcat is running infinitely with errors coming from some process not own by you, draining battery or just making it hard to debug your code.
A convenient way to fix the problem without restarting the device is to locate and kill the process causing the problem.
From Logcat
03...
Install Firebase resource in the the AppScript
To do that click on Resources and then on Libraries.
Firebase has a unique project library key that need to be installed in the AppScript.
Click on Libraries
The following pop-up appears. Enter the following project key in the textbox.
MYeP8ZEE...
1. To write a simple data to test whether connection is working or not.
function myFunction(){
var firebaseUrl = "https://example-app.firebaseio.com/";
var secret = "secret-key";
var base = FirebaseApp.getDatabaseByUrl(firebaseUrl, secret);
base.setData("test&quo...
Team Foundation Server (TFS) can be installed in two basic infrastructure ways, Single Server Deployment and Multi-Server Deployment. The difference between these two deployments is where the Application Tier (TFS) and the Data Tier (MS SQL) reside.
It is considered best practice to install TFS in...
Master process spawns server and client applications with a single process for each application. Server opens a port and client connects to that port. Then client sends data to server with MPI_Send to verify that the connection is established.
master.c
#include "mpi.h"
int main(int ar...
First step of creating a plugin is creating the folder and file which the plugin will load from.
Plugins are located in /wp-content/plugins/.
The WordPress standard is to create a folder and filename that mirror each other like so:
/wp-content/plugins/myplugin/
/wp-content/plugins/myplugin/myplu...
Creates a graph topology in a distributed manner so that each node defines its neighbors. Each node communicates its rank among neighbors with MPI_Neighbor_allgather.
#include <mpi.h>
#include <stdio.h>
#define nnode 4
int main()
{
MPI_Init(NULL, NULL);
int rank;
...
To extend and expand upon the binding experience we have converters to convert one a value of one type into another value of another type.
To leverage Converters in a Databinding you first need to create a DataConverter class tht extens either
IValueConverter(WPF & UWP)
or
IMultiVal...
Partial Update: Used when a partial document update is needed to be done, i.e. in the following example the field name of the document with id doc_id is going to be updated to 'John'. Note that if the field is missing, it will just be added to the document.
doc = {
"doc": {
...
Example of usage scalacheck with scalatest.
Below we have four tests:
"show pass example" - it passes
"show simple example without custom error message " - just failed message without details, && boolean operator is used
"show example with error messages on arg...
These function will help you to take the screenshot and also match the image with the part of the screen.
.screenshot('c:\\path') #get the screenshot.
.locateOnScreen('c:\\path') #search that image on screen and get the coordinates for you.
locateCenterOnScreen('c:\\path') #get th...