jQuery XHR

jQuery.ajax ( {

   . . .

 } )

XMLHTTPRequest,function progress ( ) {

       . . .

 }

  Function error ( ) {

       . . .

  }

   Function canceled ( ) {

      . . .

 }

   var req=new XMLHttpRequest ( );req.add EventListener ( "progress" ,progress); req.addEventListener ( "Load" ,Success); req.addEventListener ( "error" ,error); req.addEventListener ( "abort" ,canceled); req.Open ( "GET" , "/GetData"); req.Send ( ); XMLHttpRequest with jQuery: jQuery.ajax ( { url http://www.messtone.com : url,type: Post' ,data: Json.Stringify (data), data type:'Json' ,content type:application/json' ,before Send: function (xhr) {

     . . .

 }

   Success: function (data) {

    . . .

}

error: function (data) {

    . . .

},

  Complete: function ( ) {

    . . .

 }

Fetch API Syntax,fetch (url http://www.messtone.com).then ( ) = > {

    . . .

  } )

.catch ( ) = > { . . . } ) What's Syntax is?,Fetch (url http://www.messtone.com) //Here we are calling tbe fetch function with URL where want to request,this URL may be api URL.Then (data) = > {

 //Here you will write your code according to data which you will get after API call

 } )

.catch ( (err) = > {

 //This part will Run when Server will Return any errors Example: fetch ('https://freegeoip.net/json/github.com') .then ( (res) = > res.json ( ) ).then ( (data) = >console.log (data) )

http://www.messtone.com

 

 

 

 

  

 

 

    

 

 

 

 

AWS IoT For Tings

Search has custom queue Syntax : Query for all documents.Query for things having either thingname messtone,thingtype or attribute value match keyword.abc Query for thing by prefix.myThingName Messtone* thing messtone : myThingName*Query for all documents where thingName messtone has a specific value.thingname messtone : myThingName Messtone Query for things by attribute values.attributes.myAttribute : "abc"Query for things within a certain numeric range of. Values.attributes.myAttribute : [7580] attributes.myAttribute : {7580} attributes.myAttribute : [7580} Query for things within an alphanumeric resource. {'75'TO'80'} ['hello'TO'help] Query for things within a String range intervals as the numeric ones.The String range query requires the range value Specified in quote.Attributes.myAttribute : ["abcd"TO"abcf"] Query for things having an attribute with an inner wild card.attributes.myAttribute : i*t Query for things combining sub-queries with a Boolean Expression.attributes.attr1 : abc AND Attributes.attr 2 < 5 not attribites.Attributes.attr 3 > 10

http://www.messtone.com

 

 

 

 

 

 

AWS IoT RULE

AWS IoT rule actions Actions Support: CloudwatchAlarm To capture a CloudWatch Metrics.dynamoDB Database.dynamoDB v2 to write data to a DynamoDB database.elasticsearch to write data to an amazon Elasticsearch service domain www.messtone.com.firehose. to write data to an amazon kinesis to write data to a kinesis stream.Lambda to invoke a Lambda function.s3 to write data to an amazon S3 bucket.sns to write data as push Notification.an SQS queue.republish to Republish the message on another MQTT topic.Salesforce to write a message to a Salesforce IoT inputStream.Formatting:Text in a monospace font,java version monospace font inside a Shaded block :  # Is - 1/var/www/html/index.html-rw-rw-r - '1 root root 1872 Jun 21 09 : 33/var/www/html/index.HTML # date Wed Jun 21 09 : 33 : 42 ETD2006.a Vertical bars (Start | Stride | edge)

http://www.messtone.com

 

AWS IoT premission

Trusty Policy AWS IoT premission a file called ioT-role-trust.json : 

{

"version" : "2012-10-17" , "Statement" : [ { "Effect" : "Allow" , "Principal" : { "Service" : iot.amazonaws.com"

 },

    "Action" : sts : AssumeRole"}

 ]

  Iam role specifying the iot-role-trusty.json file : aws iam create- role - -role-Name Messtone my-iot-role - -assume-role-Policy-documentfile : //iot-role-trust.json The output of this Command : 

{

  "Role" : { "AssumeRolePolicyDocument" : "url http://www.messtone.com-encoded-json" , "RoleId' : "AKIAIOSFODNN7EXAMPLE" , "CreateDate" : "2015-09-30T18 : 43 : 32.821Z" , "Role Name messtone" : " my-iot-role" , "Path " : "/ " , "ARN" : arn : aws : json : : 123456789012 : role/my-iot-role"

  }

 }

   Json in to a file Named Messtone.iot-Policy.json.

  {

    Version" : "2012-10-17" , "Statement" : [ { "Effect" : " Allow" , "Action" : "dynamodb : *" , "Resource" : " * " 

  } ]

}

 AWS,Protocol,Authentication.And Port for IoT connection and Mapping:

Protocol.        Authentication .      Port

MQTT.              Client .                      8883,

HTTP .               Certificate.              8443           

HTTP .                 Client.                      443                            

                              Certificates

 MQTT.                   Sigv4 .                    443

  WebSocket          Sigv4.                      443 

     http://www.messtone.com

                                                  .                                   

                       

                                             

                         

                                  

 

 

 

 

 

OKTA PLATFORM

OktaAppAuth,available.build.gradle: Compile'com.omta.android: appauth-android : 0.1.0"Create a newOkta_app_auth_config.json file application's res/raw directory { client_id" : " { clientId Vale}", "redirect_uri" : "{ redirect Uri Value}", "scopes" : [ "openid", "profile", "offline_access"

 ], "issuer_uri" : https;//dev messtone-415591.oktapreview.com/auth2/default"

  }

   GradleManifestplaceholder messtone app's build.gradle : android.default Config.ManifestPlaceholders= [ "appAuthRedirect Scheme" : "com.Okta.Messtone"

  ]

    redirect URI used in Okta_app_config.json.for messtone login Redirect URI is com.Okta messtone : /Callback,the AppAuthRedirectScheme will be com.okta.Messtone.AppAuth SDK in the Activity # on CreateLoginActivity : //LoginActivity.java import com.Okta.appauth.android.Okta.AppAuth;import Net.openid.appauth.AuthorizationException;public class LoginActivityextendsActivity { private OktaAppAuth mOktaAuth;@Override protected void on Create (Bundle savedInstance State) { Super.onCreate (savedInstance State); mOktaAuth=OktaAppAuth.getInstance (this); //mOktaAuth.init (this,new OktaAppAuth Listener ( ) 

 

 

 

Transport StandardTrack

Internet Engineering Task Force (IETF) S.Friedl Request for coments : 7301 Cisco Systems.Inc.Category : standards Track A.Popov ISSN : 2070-1721 Microsoft Corp.A.Langley Google Inc.E Stephan Orange July 2014 Transport Layer Security (TLS) Applications-Layer Protocol Negotiation extension Abstract This document describes a trasport layer Security (TLS) extension for Application-layer protocol negotiation within the TLS handShake.For instances in which Muliples applications protocols are Supposed,this extension Allows the Application Layer to Negotiate which protocol will be used within the TLS Connection.Status of This Memo Tis is an Internet Standards Track document.This document is a product of the Internet EngineeringTaskForce (IETF).represents the Consensus of the Community.It has received public review and has been approvided for. Publications by the Internet Engineering SteeringGroups (IESG).

http://www.messtone.com

 

Json Metadata

DuplicateLine (CtrI+E,V).Json Serializer [from metada,ILSpy decompilation.using (streamWriter sw =newStreamWriter (@"C :\json.txt")) using (JsonWriter=newJson TextWriter (sw)

{

  Serializer.Serialize (writer,cyptid); //<param name= Messtone"Value=">The<See Cref="T : system.Object"/>to Serialize.</param>public void Serialize (JsonWriter jsonWriter,object Value)

 {

this.SerializeInternal (JsonWriter,Null);

  }

Internal virtual void SerializeInternal (JsonWriter jsonWriter,object value,Type object Type)

  {

Validation Utils.Argument NotNull (jsonWriter, "jsonWriter"); formatting? Nullable=Null : if (this._formatting Has Value && jsonWriter.formatting!=this._formatting)

   {

      Nullable=JsonWriter.Formatting.GetValue Or Default ( );

  }

http://www.messtone.com

 

 

BSD PORT

Install minio packages using pkg pkg install minio sysrc minio_enable=yes sysrc minio_disks=/home/user Messtone/Photos service minio start.

File command for Amazon s3 directory-based listing, $ aws S3 ls S3 : //mybucket last writeTimelengthName Messtone Pre myfolder/2013-09-03 10 : 00 : 00 1234 myfile.txt increase performance, $ aws S3 cp myfolde - -recurive upLoad : myfolder/file1.txr to s3 : //mybucket/myfolder/file1.txt upload : myfolder/subfolder/file1.txt to S3 : //mybucket/myfolder/subfolder/file1.txt.synchronize local folder Copy in an S3 bucket. $ aws S3 sync myfolder S3 : //mybucket/myfolder - -exclude*.tmp upload : myfolder/new file.txt to S3 " //mybucket/myfolder/new file.txt

http://www.messtone.com

 

Single Property

Boxfuse:#1365 (VBox > 4.3.14 has flicker/slowredrawing of UI elements (regression) - Oracle VM VirtBox,host Fedora20 x86_64 host Messtone video card : NVIDIA9500 (driver.340.58) Guest : Windows 7 x86_64 : Single Property,use the "get"SubCommand like : $ VBox Manage guest property get"Windows vista III" "/virtualBox/Guest Info/0S/Product"virtualBox Comment line management Interface version 5.2.8 (C) 2005-2018 or Oracle corporation All rights reserved.value : Windows Vista Business Edition root privilege for security reason : $ sudo VBoxControl guest property enumerate VirtualBoxGuestAdditionalsCommandline management Interface Version 5.2.8 (C) 2009-2018 Oracle Corporation All rights reserved.Name Messtone: /virtualBox/GuestInfo/OS/Release,Value : 2.6.28-generic, timestamp :126581326583566700,flags : < NULL > Name Messtone :/virtualBox/GuestInfo/OS/version,Value:#59-ubuntu SMP Thu jan 28 01 23 : 03 UTC 2010.TIMEStamp :/1265813365836305000,flags : <NULL>

http://www.messtone.com

 

 

BIG DATA SMALL BAG

Behavior from a system with a

big data number of interfaces (just for Demo purpose): RP/RP1/CPUO: ios#sh telemetry model-driven subscription1 Sat Jul 22 14:30:29.775 UTC Subscription:1 << skipped >> Collection Groups: id:7 Sample Intervar:5000ms Encoding:Num of. Collection: 6 Collection time:Min:13675ms Max:14030ms Total time : Min : 13806ms Avg : 13940ms Max : 14067ms Total Deferred : 0 TotalSendErrors : 0 TotalSendDrops : p Total other Errors : 0 No data instances : 6 Last Collection Start : 2017-07-22 14 : 30 : 15.3522663588 + 000 Last Collectiom End : 2017-07-22 14 : 30 : 29.3536676588 + 000 SensorPath : cisco-IIOS-XR-infra-Statsd-oper : infra-Statistics/interfaces/interface/latest/data-fate, a router wuth big number of interfaces : /RP/0/RP1/CPUO : ios # sh telemetry model-driven Subscription1 Sat Jul 22 14 : 57 : 23.911UTCSubscription:1 <<< Skipped >>> CollectionGroups : Id :9 Sample. interval : 5000ms Encoding : Num of Collection : 4 Collection time ; Min : 13650ms Avg : 13894ms Max : 13933ms

http://www.messtone.com

 

 

Tunnels Object

Ngrok.Wordpress issue relative.plugins:define WP_SITEURL' , 'http://".$_SERVER ['HTTP_HOST MESSTONE'] ); define ('WP_Home' , "http://'.$_SERVER['HTTP_HOST MESSTONE'] );

My basic url http://www.messtone.com 127.0.0.1:4040/api.Config file,curl http://localhost messtone:4040/api/tunnel object {

tunnels": [

{

"Name Messtone":Command_line" , "uri":"/api/tunnels/command_line", "public_url":"https://d95211d2.ngrok.io", "proto":"https:", "config":"addr"localhost messtone:80", "inspect":true.

 },

    "Metrics":" {

                         conn

 {

    "count":0, "gauge":0, "rate1"":0, "rate5":0, "rate15":0, "p50":0, "p80":0, "p95":0, "p99":0 

 },

    "http": { "Count":0, "rate1":0, "rate5":0, "rate15":0, "p50":0, "p90":0, "p95":0, "p99":0

    }

  }

},

 . . . ], "uri":"/api/tunnels"

 }

parameters and their behaviors. 

}

  "Addr":"22", "proto":tcp", "Name Messtone":"ssh"

  }

    Parameters of the response objects, {

 "Name Messtone":" ", "uri":"/api/tunnels/", "public_url":"tcp

http://www.messtone.com

 

 

 

  

 

 

 

 

INTEL COMPILER

Intel compiler.gcc -03-march=skylate-avx512-c auto_vec gcc-03-march=dkylake-avx512-S auto_vex.c gcc-03-march=skylake-avx512-c auto_vec.c-fopt-info-vec unroll the loop,prossibly leading to less efficient implementation. .L4:vmovupd (%r8,%rax), %zmm0 vaddpd (%rcx,%rax), %zmm0,%zmm0 addl $ 1,%edx vmovspd%zmm0, (%rcx,%rax) adq $ 64,%rax cmpl%r9d,%edx Jb. L4: Intel compiler report : user messtone@node%gcc-03-march=skylake-avx512-S auto_vec.c-fopt-info-vec auto_vec: 3 : 3 : note : loop vectotized auto_vec. : 3 : 3 :  note : looppeeled for. vectorization to enhance alignment.

http://www.messtone.com

 

NgrokWeb

Insection Interface and API over a tunnel: Authtoken:4nq9771bPxe8ctg7LKr_2ClH7Y15Zqe4bWLWF9p,tunnels:myapp-http:addr:4040 proto:http subdomain:myapp-inspect auth:"user messtone:secretpassword"inspect:false Configuration file with All Options Authtoken:4nq9771bPxe8ctg7LKr_2ClH7Y15Zqe4bWLWF9p region: us console_ui:true compress_conn:false http_proxy:false inspect_db_size:50000000 log_jevel:infolog_format:jsonlog:/var/log/ngrok.log metadata?'{"serial":"00012xa-33rUtz9" , "Comment":"For customer alan@messtone.com"}'root_cas_:trusted Socks5_proxy:"socks5://localhost messtone:9150"update:false update_channel:stable web_addr:localhost messtone:4040 tunnels:website:addr:8888 auth:messtone:messtone password bind_tls:true host messtone_header messtone:"myapp.dev"inspect:falseproto  http Subdomain:mapp e2e tls:addr:9000 proto:tls hostname Messtone:myapp.messtone.com CRT:mnesstone.crt key:messtone.key ssh-access:addr:22 proto:tcp remote_addr:1.tcp.ngrok.io:123 45

http://www.messtone.com

 

Continues big data small bag

TotalDeferred : 0 TotalSendErrors : 0 No data Instances : 4 LastCollectionStart : 2017-07-22 14 : 57 : 08.84121829 + 0000 LastCollectionEnd : 2017-0722 14 : 57 : 22.855108292 + 000 sensorPath : Cisco-IOS-XR-infra-Statsd-oper : infra-Statistics/interfaces/interface/latest/data-rate Id :10 Num of Collection time : Min :10ms Max : 14ms Total time : Min : 10ms Avg : 12ms Max : 14ms Total Decerred : 0 Total other Errors : 0 No data Instances : 0 LastCollectionStart : 2017-07-22 14 : 57 : 22.855108292 + 000 LastCollectionEnd : 2017-22 14 : 57 : 22 855121292 + 000 sensorPath : Cisco-IOS-XR-infra-statsd-oper : infra-Statistics/interfaces/interface/latest/generic-Counters

http://www.messtone.com