Tutorial by Examples: l

<!doctype html> <html> <head> <title>Page Title</title> <meta charset="UTF-8"> <meta name="viewport" content="initial-scale=1.0"> <script src="vue.js"></script> <style> ...
<!doctype html> <html> <head> <title>Page Title</title> <meta charset="UTF-8"> <meta name="viewport" content="initial-scale=1.0"> <script src="vue.js"></script> <style> ...
<!doctype html> <html> <head> <title>Page Title</title> <meta charset="UTF-8"> <meta name="viewport" content="initial-scale=1.0"> <script src="vue.js"></script> <style> ...
Detailed instructions on getting jooq set up or installed.
Add nuget package System.ComponentModel.Annotations Define a class: public class BankAccount { public enum AccountType { Saving, Current } [Required(ErrorMessage="First Name Required")] [MaxLength(15,ErrorMessage="First Name s...
Yarn uses the same registry that npm does. That means that every package that is a available on npm is the same on Yarn. To install a package, run yarn add package. If you need a specific version of the package, you can use yarn add package@version. If the version you need to install has been tag...
To split pane vertically, do a prefix followed by % ie, by default ctrlb followed by % To split pane horizontally, do a prefix followed by " ie, by default ctrlb followed by "
To add a module called GuestModule, run: $ ng g m guest installing module create src/app/guest/guest.module.ts To enable .spec files creation add --spec or -sp flag $ ng g m guest --spec installing module create src/app/guest/guest.module.spec.ts create src/app/...
Instead of defining URL endpoints for each data resource, in GraphQL you define a single endpoint that accepts GraphQL queries. Unlike traditional database query languages, GraphQL Query Language (GQL) is a projection of data returned by a root level query. The GraphQL schema will define the data mo...
Let's go through the problem first. Have a look on the code below: public class BankAccount { public BankAccount() {} public string AccountNumber { get; set; } public decimal AccountBalance { get; set; } public decimal CalculateInterest() { // Co...
Here, we try to explain OCP using codebase. First we'll show a scenario that violate OCP and then we'll remove that violation. Area Calculation (OCP violation Code) : public class Rectangle{ public double Width {get; set;} public double Height {get; set;} } public class Circle{ public do...
Renaming a variable or class is usually a tedious task, by searching for all the locations where it is used. This can be significantly speeded up by highlighting the word, pressing Alt+Shift+R and then typing the new word. Eclipse will automatically rename the word in every file where it is called. ...
MARS MIPS simulator is an assembly language editor, assembler, simulator & debugger for the MIPS processor, developed by Pete Sanderson and Kenneth Vollmar at Missouri State University (src). You get the MARS for free here. As for installing the 4.5 version, you might need the suitable Java SD...
Detailed instructions on getting django-views set up or installed.
To understand Dependency Inversion Principle (DIP) we need to clear concept about Inversion Of Control(IOC) and Dependency Injection(DI). So here we discuss all about the terms with Dependency Inversion Principle (DIP). Inversion Of Control(IOC) : The control or logic which is not the part of t...
Introduction SRP can be defined as “a class handles only one responsibility”. This is a very short definition for something influential on to the other principles of S.O.L.I.D. I believe that if we get this right, it will have a positive knock-on effect on the upcoming principles, so let’s get star...
Here we give an example of ISP violation and then refactor that violation. Without talking unnecessary things let's jump into the code. ISP violation : public interface IMessage{ IList<string> ToAddress {get; set;} IList<string> BccAddresses {get; set;} string MessageBody {get; s...
First Select Or Create a database. > use mydb switched to db mydb Using db.createCollection("yourCollectionName") method you can explicitly create Collection. > db.createCollection("newCollection1") { "ok" : 1 } Using show collections command see all col...
MongoDB's db.collection.drop() is used to drop a collection from the database. First, check the available collections into your database mydb. > use mydb switched to db mydb > show collections newCollection1 newCollection2 newCollection3 system.indexes Now drop the collection with...
Virtual Environment tool (virtualenv) is used to isolate different projects and their dependencies by creating individual python environments for each of them. It's like installing a package locally (and not globally), similar to npm package installation option. Following is an example to install ...

Page 785 of 861