After you installed XAMPP and setup the MySQL database you can install WordPress.
Download the latest version of WordPress.
Unzip the file and insert the folder in the root directory of your webserver (if you used the suggested path during the setup of XAMPP it is "c:\xampp\htdocs").
...
Note: These instructions are targeted at .NET Core 1.0.4 & 1.1.1 SDK 1.0.1 and higher.
When using binary archives to install, we recommend the contents be extracted to /opt/dotnet and a symbolic link created for dotnet. If an earlier release of .NET Core is already installed, the directory and ...
Reduce takes a function and a collection of items. It returns a value that is created by combining the items.
This is a simple reduce. It returns the sum of all the items in the collection.
total = reduce(lambda a, x: a + x, [0, 1, 2, 3, 4])
print(total) =>10
Filter takes a function and a collection. It returns a collection of every item for which the function returned True.
arr=[1,2,3,4,5,6]
[i for i in filter(lambda x:x>4,arr)] # outputs[5,6]
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...
If you're in a hurry and want to quickly get a speed boost PLUS save some power, go into Power Save Mode. It's in the File menu, bottom-most option in that menu.
File -> Power Save Mode
Note: this will disable some powerful features like syntax highlighting, code analysis, auto-completing thing...
Simply add an attribute to the controller action
[Route("product/{productId}/customer")]
public IQueryable<Product> GetProductsByCustomer(int productId)
{
//action code goes here
}
this will be queried as /product/1/customer and productId=1 will be sent to the controll...
Unit testing in ionic is the same as in any angular app.
We'll be using a few frameworks to do this.
Karma - a framework for running tests
Jasmine - a framework for writing tests
PhantomJS - an application that runs javascript without a browser
First of all lets install everything, so make sure...
Everything in Python is an object. Each object has some special internal methods which it uses to interact with other objects. Generally, these methods follow the __action__ naming convention. Collectively, this is termed as the Python Data Model.
You can overload any of these methods. This is comm...
HTMLUnitDriver
HTMLUnitDriver is the most lightweight implementation of headless(GUI-less) browser for Webdriver based on HtmlUnit. It models HTML documents and provides an API that allows you to invoke pages, fill out forms, click links, etc. just like you do in your normal browser.
It supports J...
A way to create a list is to place elements in two square brackets, separated by semicolons. The elements must have the same type.
Example:
> let integers = [1; 2; 45; -1];;
val integers : int list = [1; 2; 45; -1]
> let floats = [10.7; 2.0; 45.3; -1.05];;
val floats : float list = [1...
Changing the order (or position) was possible in Bootstrap 3 using the push pull classes. In Bootstrap 4, the push pull classes still work, and additionally flexbox order can be used.
In Bootstrap 4, the push pull classes are now push-{viewport}-{units} and pull-{viewport}-{units} and the xs- infix...
Given that the data directory of the server is empty:
The server is initialized.
SSL certificate and key files are generated in the data directory.
The validate_password plugin is installed and enabled.
The superuser account 'root'@'localhost' is created. The password for the superuser is set ...
To reveal the default "root" password:
shell> sudo grep 'temporary password' /var/log/mysqld.log
Change the root password as soon as possible by logging in with the generated temporary password and set a custom password for the superuser account:
shell> mysql -uroot -p
mysql...
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...