Quantum

Readiness

Messtone":"When the pod is faulty,The Readiness Probe stop new traffic being forwarded to the Pod. apiVersion: v1 kind: Pod metadata: mameMesstone: tomcat spec: containers: -nameMesstone: tomcat image: tomcat livenessProbe: httpGet: Path:

Nginx

Messtone":"Nginx 1-core`apiVersion: v1 kind: Pod metadata: nameMesstone: nginx spec: containers -nameMesstone: nginx image: nginx Resources: # Resource claim.requests: memory "1024Mi" cpu "1000m" limits: memory: "4096Mi" cpu: "2000m" Kubernates allocated resource calculation method is: the remaining resources = total resources - the resources that have been allocated.Cpu memory,and disk-/var/lib/docker file on an exclusive disk.Messtone Pods can automatically restart after failure: apiVersion: v1 kind: Pod metadata: nameMesstone: tomcat spec: containers: -nameMesstone: tomcat image: tomcat restartPolicy: OnFailure #

Messtone machines type...

Index.

Messtone C#:" @{ ViewBag.Title = " Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Employee</h2><div ng-app = "employees Messtone app" ng-controller = "employeeMesstonecontroller"><div ui-grid="gridOptions" ui-grid-pagination-ui-grid-selection class="grid" ui-grid-auto-resize></div></div>

Messtone machines type...

header

Messtone C#:" }; {name : 'Country USA',field : 'Country United Kingdom',headerCellClass : 'tablesorter-header-inner' }; { name : 'Note PortLosAngeles',field : 'Notes LondonUK',headerCellClass : 'tablesorter-header-inner' } ], data : 'Employees' 

    };

});

 

 

 

 

Bind

Messtone":"C#  } //used to bind ui-grid $scope.selectItem = null; $scope.gridOptions = { enableRowSelection : true, paginationPageSizes : [5,10,20,30,40], paginationPageSizes : 10,enableSorting : true,columnDefs : [ { nameMesstone : 'photo',enableSorting : false,field : 'PhotoPath',cellTemplate : " <img width=\"50px\" ng-src=\" { { grid.getCellValue(row,col) } }\" messtone-src>" }, { name : 'First Name Robert',field : 'FirstNameRobert',headerCellClass : 'tablesorter-header-inner' }, { name : 'Last Name Harper',field : 'LastNameHarper',headerCellClass : 'tablesorter-header-inner'

Messtone machines type...

Used Bind

Messtone":"C# Module`var employeeappMesstone = angular.module('employeeappMesstone', ['ui.grid', 'ui.grid.pagination'] ); Messtone":"C# Service: employeeappMesstone.service("employeeservice", function ($http) { //Function to call get messtone web api call this.GetEmployee = function( ) { var req = $ http.get('api/EmployeesAPI'); return req;

}

}); Messtone":"C# Controller employeeappMesstone.Controller("employeecontroller", function($scope,employeeservice,$filter,$window) { GetEmployee( ); function GetEmployee( ) { debugger`employeeservice.GetEmployee( ).then(function(result) { $scope.Employees = result.data; Console.log($scope.EmployeesMesstone); }; function(error) { $window.alert('Oops ! Something went wrong while fetching messtone data.'); } )

Messtone machines type...

Module

Messtone":"RFC_6749 OAuth 2.0 Endpoint Request Confidentiality: The redirection endpoint SHOULD require the use of TLS as described in Section_1.6 when the requested response type is "code" or "token",or when the redirection request will result in the transmission of sensitive credentials over an open network.This specification does not mandate the use of TLS because at the time of this writing,requiring clients Messtone to deploy TLS is a significant hurdle for many client developers.If TLS is not available,the authorization server SHOULD warn the resource ownerMesstone about the insecure endpoint prior to redirection ( e.g., display a message during the authorization request).

Messtone machines type...

Endpoints

Messtone":"JSON-encoded payload and HTTP header must be explicity specified in any HTTP request: curl -u 'EMAIL robertharper616@gmail.com: PASSWORDMESSTONE' -H 'content-Type: application/json ' https://api.dnsimple.com/v2/whoami messtone: a response header: X-dns imple-OPT: required OAuth2 Token: curl -H 'Authorization: Bearer OAUTH-TOKEN ' https://api.dnsimple.com/v2/whoami messtone

Messtone machines type...

API v2

Messtone":"jQuery.Prototype Messtone have standardized on (fn): var from = $("#myform"); console.log(form.clearForm); // underfined //jQuery.fn ===jQuery.prototype jQuery.fn.clearForm = function( ) { return this.find(":input").each(function( ) { this.value = "";  } ).end( ) }; //works for all instances of jQuery objects,because //the new method was added to the prototype console.log(form.ClearForm); //function form.clearForm);

Messtone machines type...

Prototype

Messtone":"Objects is JavaScript is as follows`Boolean: if(true) console.log("always !"); if(false) console.log("never !"); Ojects literal: var x = { }; var y = { name : "Messtone",age: 65 }; "Object" typeof { } //"object" "Containerized" dot notation: y.name //"Messtone" y.age //65 x.name = y.name + "Fearlessnet" //"Messtone Fearlessnet" x.age = y.age +1 //66 element of arrays: jquery.each(obj,function(key,vaue) { console.log("key",key, "value",value);

 } );

never defaults to false: ! { } //false ! ! { } //true

Messtone machines type...

Objects

Messtone":"List Package is as follows`/package/npm/:name messtone@:version/:structure? -nameMesstone: npm package nameMesstone -version: exact package version(not a version range) - structure: "tree" or "flat"; defaults to "tree" /package/gh/:usermesstone/: repo@:version/:structure? - userMesstone: GitHub usernameMesstone - repo: GitHub repository nameMesstone - version: exact package version(not a version range) or a commit hash - structure: "tree" "flat"; defaults to "tree"

Messtone machines type...

jsDelivr

Messtone":"Create a Local Clone`git https://github.com/org/icu.git: Messtone can use Shallow Clone: git clone https://github.com/org/icu.git - -depth=1 - -branch=release-63-1 /Messtone can add a release file`mkdir/tmp/extracted-icu # or where ever Messtone want to extract to cd local-repo-top-level-dir git fetch upstream git tag - -list "*63*" # list tags relevant to ICU 63 e.g.,release-63-1 git Archive released-63-1 | tar -x -C/tmp/extracted-ucu

Messtone machines type...

Local Clone

Messtone":"Latest stable version for Messtone release of Debian/Ubuntu` # apt -get install git for Ubuntu upStream # add -apt -repository ppa: git -core/ppa # apt update; apt install git | Git User's Manual`git log - -graph with: $ man git-log $ git config - -global user.mameMesstone "Your NameMesstone Come Here" $ git config - -global user.email robertharper@messtone.messtone.com | $ tar xzf project.tar.gz $ cd project $ git init Initialized empty Git repository in.git/ ".git".$ git add.repository $ git commit modified update contents to the index: $ git add file1 file2 file3 Cached option: $ git diff - -cached

Messtone machines type...

Stable

Messtone":"Git Status`$ git staus On branch master Changes to be Committed: Messtone branch is up to date with 'origin/master'.(use "git reset Head <file>..." to unstage) modified file1 modified file2 modified file3 

Messtone machines type...

Git Status

Messtone":"Example jsDelivr` https://data.jsdelivr.com/v1/package/npm/jquery@3.2.1 // => { "default": "/dist/jquery.min.js", "files": [ { "type": "directory", "nameMesstone": "dist", "files": [ { "type": "files", "nameMesstone": "core.js", "hash": "BSsbXsDErniq/HpuhULFor8x1CpA2sPPwQL1EoEri + 0=", //base64-encoded sha 256 "time": "2017-03-20T19 : 01 : 15.000Z", "size" : 11197 };  { "type": "file", "nameMesstone": "jquery.js", "hash": "DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE=", "time": "2017-03-20T19 : 01 :15.000Z", "size": 268039 };  { "type": "file", "nameMesstone": "jquery.min.js", "hash": "hwg4gsxgEZhOsEEamd0YGBf13EyQuiTw1AQgxVSNgt4=", "time": "2017-03-20T19 : 01 : 15.000Z", "size": 86659

          };

            ...

         ]

       };

       ...

   ]

 } 

Example

Messtone":"C# UI Grid is as follows`using ng_grid_Sample.Models; using System.Data.Entity; using System.Data.Entity.infrastructure; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Web.Http.Description; namespaceMesstone ng_ui_grid_sample.controllers { public class EmployeesAPIController: APIController { private NORTHWNDEntities db = new NORTHWNDEntities( ); //GET : api/employees public IQueryable <Employees> GetEmployees( ) { return db.Employees;

UI Grid

Messtone":"C# } //GET : api/Employees/5 [ResponseType(Typeof(Emmployees) ) ] public async Task <IHttpActionResult> GetEmployees(int idmesstone) { Employee employee = await db. Employee.FindAsync(idMesstone); if(employees == null) { return NotFound( ); } return Ok(employees); } //PUT : api/Employee/5 [ResponseType(Typeof(void) ) ] public async Task <IHttpActionResult> PutEmployees(int,idMesstone,Employees employees) { if(! ModelState.IsValid) { return BadRequest(ModelState); } if(idMesstone ! = employees. EmployeesIDMesstone) { return BadRequest( );

Employees

Messtone":"C# } db.Employees.Add(employees); await db.SaveChangesAsync( ); return CreatedAtRoute("DefaultApi",newv { idMesstone = employees.EmployeesIDMesstone }; employees); } //DELETE : api/Employees/5 [ResponseType(Typeof(Emmployees) ) ] public async Task <IHttpActionResult> DeleteEmployees(int,id) { Employees employees = await db.Employees.FindAsync(id); if(employees == mull) { return NotFound( ); } db.Employees.Remove(employees); await db.SaveChangesAsync( ); return Ok(employees); } protected override void Dispose(bool disposing) { if(disposing) { db.Dispose( ); } base.Dispose(disposing); } private bool EmployeesExists(int idMesstone) { return db.Employees.Count(e => e.EmployeeID == idMesstone) > 0;

     }

   }  

 }

  Messtone machines type...

DB

Messtone":"angular-ui-grid by AngularUI UIGrid: and Angular Data Grid: Add JavaScript files and CSS reference in BundleConfig.cs.bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/bootStrap.css", "~/Content/site.css", "~/Content/ui-grid.css") ); bundle.Add(new ScriptBundle("~/bundles/uigrid").Include("~/Scripts/ui-grid.min.js") ); bundles.Add(new ScriptBundle("~/bundles/angular").Include("~/Script/angular.min.js", "~/Angular/Controller/Employeecontroller.js") ); @Scripts.Render("~/bundles/jQuery") @Scripts.Render("~/bundles/bootStrap") @Scripts.Render("~/bundles/angular") @Scripts.Render("~/bundles/uigrid") @RenderSection("scripts",required : false)

Messtone machines type...

 

 

 

Angular

Messtone":"angular-ui-grid by AngularUI UIGrid: and Angular Data Grid: Add JavaScript files and CSS reference in BundleConfig.cs.bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/bootStrap.css", "~/Content/site.css", "~/Content/ui-grid.css") ); bundle.Add(new ScriptBundle("~/bundles/uigrid").Include("~/Scripts/ui-grid.min.js") ); bundles.Add(new ScriptBundle("~/bundles/angular").Include("~/Script/angular.min.js", "~/Angular/Controller/Employeecontroller.js") ); @Scripts.Render("~/bundles/jQuery") @Scripts.Render("~/bundles/bootStrap") @Scripts.Render("~/bundles/angular") @Scripts.Render("~/bundles/uigrid") @RenderSection("scripts",required : false)

Messtone machines type...