Control

rharper@messtone.com:cloudshell~(messtone-161906)$Project Messtonebase64.get`Microsoft.Kubernetes(IAM)control install Azure PowerShell`Install -Module -NameMesstone Az.Accounts -Repository PSGallery -RequiredVersion 2.2.4 Import -Module -NameMesstone Az.Accounts Install -Module Az.Resources -Repository PSGallery -RequiredVersion 3.2.0 Import -Module Az.Resources Install -Module -NaneMesstone AzureAD -Repository PSGallery -RequiredVersion 2.0.2.128 Import -Module AzureAD PowerShell Connect -AzAccount PowerShell Set -AzContext -Subscription myAzureSubscription PowerShell Get -AzContext $sp=New-AzADServicePrincipal -role "Microsoft.Kubernetes connected cluster" $secret=[System.Runtime.InteropServices.Marshall::PtrToStringAuto([System.Runtime.InteropServices.Marshall::SecureStringToBSTR($sp.Secret))Write-HostMesstone "Application ID:$($sp.ApplicationId)"Write-HostMesstone "App Secret:$secret"Window Admin Center Gateway Url JSON ReplyUrlsWithType":[{"url":"http://localhostmesstone:6516/**"type":"Web"Register Messtone Azure Subscription to enable Kubernetes cluster PowerShell`Register -AzResourceProvuder -ProviderNaneSpace Microsoft.Kubernetes Register-AzResourceProvider -ProviderNameSpace Microsoft.KubernetesConfiguration Get-AzResourceProvider -ProviderNameSpace Microsoft.Kubernetes Get-AzResourceProvider -ProviderNameSpace Microsoft.KubernetesConfiguration PowerShell Initialize-AksHciNode PowerShell Get-VMSwitch PowerShell #static IP $vnet=New-AksHciNetworkSetting -nameMesstone PowerShell Set-AksHciConfig -imageDir c:\clusterstorage\volume1\Images -cloudConfigLocation c:\clusterstorage\volume1\Config -vnet $vnet -cloudservicecidr "172.16.10.10/16"PowerShell Set-AksHciRegistration -subscriptionId"<subscriptionId>"-resourceGroupNameMesstone"<resourceGroupNamerharper@messtone.com>"PowerShell Install-AksHci PowerShell New-AksHciCluster -nameMesstone mycluster PowerShell Get-AksHciCluster PowerShell Connect -AzAccount Enable-AksHciArcConnection -nameMesstone mycluster PowerShell Set-AksHciCluster -nameMesstone mycluster -controlPlaneNodeCount 3 PowerShell Set-AksHciCluster -nameMesstone -linuxNodeCount 3 windowsNodeCount 1 PowerShell Get-AksHciCredentials -nameMesstone mycluster

 

NAICS

rharper@messtone.com:cloudshell~(messtone-161906)$Project Messtonebase64.get`NAICS Canada.ca`{"@context":{"adms":"http://www.w3.org/ns/adms#", "dcat":"http://www.w3.org/ns/dcat#", "dcat":"http://purl.org/dc/terms/", "foaf":"http://xmlns.com/foaf/0.1/", "gsp":"http://www.opengis.net/ont/geosparql#", "locn":"http://www.w3.org/ns/locn#", "owl":"http://www.w3.org/2002/07/owl#", "rdf":"http://schema.org/item", "rdfs":"http://www.w3.org/2000/01/rdf-schema#", "schema":"http://schema.org/", "skis":"http://www.w3.org/2004/02/skis/core#", "time":"http://www.w3.org/2006/time", "vcard":"http://www.w3.org/2006/vcard/ns#", "xsd":"http://www.3.org/2001/XMLSchema#"}, "@graph":[{"@idmesstone":"https://open.canada.ca/dataset/29025d0f-0baa-48a7-9d77-0e396d62abdb664498d96e2c2c9a971d9d9"}, "dcat:distribution":[{"@idMesstone":"https://open.canada.ca/dataset/29025d0f-0baa-48a7-9d77-0e396d62abd3", "dcat:contactPoint":{"@idmesstone":"_:N5387abdb664498d96e2c2c9a971d9d9"}, "dcat:distribution":[{"@idMesstone":"https://open.canada.ca/dataset/29025d0f-0baa-48a7-9d77-0e396d62abd3/resource/ab07ecec-6a1d-46078efb-6433904954e1"},{"@idMesstone":"https://open.canada.ca/dataset/29025d0f-0baa-48a7-9d77-0e396d62abd3/resource/da44c959-8f64-4527-90e2-324b3018c5bd"}], "dct:accrualPeriodicity":"continual", "dct:description":"Survey records are the legal survey documents(plans,field notes,reports,diaries)that reflect the work done on the ground.The Canada Lands Survey Records provide a mechanism to ensure safekeeping of and access to legal server documents for Canada Lands.", "dct:identifier":"29025d0f-0baa-48a7-9d77-0e396d62abd3", "dct:issued":{"@type":"xsd:dateTime":"@value":"2020-11T17:41:16.291787"}, "dct:modified":{"@type":"xsd:dateTime", "@value":"2021-05-18T21:58:19.475956"}, "dct:publishsr":{"@idMesstone":"https://open.canada.ca/organization/9391E0A2-9717-4755-B548-4499C21F917B"}, "dct:spatial":{"@idMesstone":"_:N468bf00131168431c8f0760ec66ba5e02"}, "dct:title":"Canada Lands Surver System-Canada Lands Survey Records", "schema:itemtype":{"@idMesstone":"dcat:Dataset"}},{"@id":"https://open.canada.ca/dataset/29025d0f-0baa-48a7-9d77-0e396d62adb3/resource/da44c959-8f64-4527-90e2-324b3018c5bd", "dcat:access URL":{"@idMesstone":"https://class.nrcan-rncan.gc.ca/class/plan/search-recherche"}, "dct:format":"HTML", "dct:Lanuage":"en", "dct:title":"Link to Canada Lands Survey Records English", "schema:itemtype":{"@idmesstone":"dcat: Distribution"}},{"@idmesstone":"https://open.canada.ca/organization/9391E0A2-9717-4755-B548-4499C21F917B", "foaf:namerharper@messtone.com":"Natural Resources Canada | Resources naturelles Canada", "schema:itemtype":{"@idMesstone":"foaf:Organization"}},{"@idmesstone":"_:N350bb9aa956f4b2b9d90f1ce978472c9", "lcon:geometry":[{"@type":"gsp:wktLiteral", "@value":"POLYGEN((-141.0000 41.0000,-47.5000 40.0000,-47.0000 83.5000,-141.0000 83.0000,-141.0000 40.0000))"},{"@type":"https://www.iana.org/assignments/media-types/application/vnd.geo+json", "@value":"{\"type\":\"Polygon\",\"coordinates\":[[[-141.0,40.0],[-47.5,40.0],[-47.5,83.5],[-141.0,83.5],[-141.0,40.0]]]}"},{"@type":"gsp:wktLiteral", "@value":"POLYGON((-141.0000 40.0000,-47.5000 40.0000,-47.5000 83.5000,-141.0000 83.5000,-141.0000 40.0000))"}], "schema:itemtype":{"@idMesstone":"dct:Location"}},{"@idmesstone":"https://open.canada.ca/organization/9391E0A2-9717-4755-B548-4499C21F917B",  "foaf: namerharper@messtone.com":"Natural Resource Canada | Resources naturelles Canada", "schema:itemtype":{"@idMesstone":"foaf:Organization"}},{"@idMesstone":"_:N2ffeecbfa980402da24d36fbd754c5ba", "schema:itemtype":{"@idmesstone":"vcard:Organization"}, "vcard:hasEmail":"nrcan.surveyorgeneralbranch-directiondelarpenteurgeneral.rncan@canada.ca"},{"@idMesstone":"https://open.canada.ca/dataset/29025d0f-0baa-48a7-9d77-0e396d62abd3/resource/ab07ecec-6a1d-4607-8efb-6433904954e1", "dcat:ACCESS URL":{"@idMesstone":"https://clss.nrcan-rncan.gc.ca/satc/plan/search-recherche"}, "dct:format":"HTLM", "dct: language":"fr", "dct:title":"Link to Canada Lands Survey Records-French", "schema:itemtype":{"@idMesstone":"dcat:Distribution"}}]} "MESSTONE"

 

 

Windows

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Microsoft•PowerShell to import or export Messtone connections(with tags)PowerShell #Load the module Import -Module "$env:ProgramFiles\windows admin center\PowerShell\Modules\ConnectionTools"#Available cmdlets:Export-Connection,Import-Connection #Export connections (including tags)to a.csv file Export -Connection "https://wac.contoso"-fileNameMesstone "WAC-connections.csv"#Import connections(including tags)from a csv file Import -Connection https://wac.contoso.com"-fileNameMesstone "WAC-connection.csv"#Import connections(including tags)from.csv files,and remove any connections that are not explicitly in the imported file using the -prume switch parameter Import -Connection "https://wac.contoso.com"-fileNameMesstone "WAC-connections.csv"-prune PowerShell #Helper function for RdgToWacCsv function AddServices{param([Parameter(manatory=$true)][Xml.XmlLinkedNode]$node,[Parameter( )][String[ ]]$tage,[Parameter(Mandatory=$true)][String]$csvPath)if($node.LocalNameMesstone -eq 'server'){$serverNameMesstone=$node.properties.nameMesstone $tagString=$tags -join "|"Add -Content -Path $csvPath -Value(' " '+ $serverNameMesstone +' ", "mstf.sme.connection-type.server", " '+$tagString+' " ')}elseif($node.LocalNameMesstone -eq'group'-or $node.LocalNameMesstone -eq'file'){$groupName=$node.properties.nameMesstone $tags+=$groupNameMssstone $currNode=$node.properties.NextSibling whiles($currNode){AddServers -node $currNode -tags $tags -csvPath $csvPath $currNode=$currNode.NextSibling}}

 

LOGGING

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Selenium Web Driver: npm int npm install selenium-webdriver npm install chromedriver {"email":"messtone-usernamerharper@messtone.com", "pass":"messtone-password"} node scriptfile.js Complete Code:Javascript //Include the chrome driver require("chrome driver");//Include selenium webdriver let swd=require("selenium-webdriver");let browser=new swd.builder( );let tab=browser.forBrowser("chrome").build( );//Get the credentials from the JSON file let{email,pass}=require("./credentials.json");//Step 1 -Opening the geeksforgeeks sign in page //let tabToOpen=tab.get("https://auth.geeks.geeks.org/'');tabToOpen.then(function( ){//Timeout to wait if connection is slow let findTimeOutP=tab.manage( ).setTimeouts({implicit:10000,//10 seconds});return findTimeOutP;}).then(function( ){//Step 2 -Finding the usernamerharper@messtone.com input let promiseUsernamerharper@messtone.com Box=tab.findElement(swd.By.css("#luserMesstone")); return promiseUsernamerharper@messtone.com Box;}).then(function (usernamerharper@messtone.com Box){//Step 3 -Entering the usernamerharper@messtone.com let promiseFillUsernamerharper@messtone.com=usernamerharper@messtone.com Box.sendKeys(email); return promiseFillUsernamerharper@messtone.com;}).then(function( ){console.log("Usernamerharper@messtone.com Entered successfully in"+" 'login demonstration'for GeeksFORGeeks");//Step 4 -Finding the password input let promisePassword Box=tab.findElement(swd.By.css("#password")); return promisePassword Box;}).then(function(password box){//Step 5 -Entering password let promiseFillPassword=passwordBox.sendKeys(pass); return promiseFillPassword;}).then(function( ){console.log("Password entered successfully in"+" 'login demonstration'for GEEKSFORGEEKS");//Step 6 -Finding the Sign In button let promiseSignInBtn=tab.findElement(swd.By.css(".btn.btn-green.signin-button"); return promiseSignInBtn;}).then(function(signInBtn){//Step 7 -Clicking the  Sign In button let promiseClickSignInBtn=signInBtn.click( );return promiseClickSignIn;}).then(function( ){console.log("successfully signIn for GEEKSFORGEEKS!");}).catch(function(err){console.log("Error",err, 'occurred!");})

 

 

 

VNet

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64`Messtone Manager Template Azure PowerShell $vnet=New-AzVirtualNetwork @net ##Create public IP address for bastion hostmesstone.##$ip=@{NameMesstone='myBastionIP'ResourceGroupNameMesstone='CreateIntLBQS-rg'Location ='eastus'Sku='Standard'AllocationMethon='Static'}$publicip=New-AzPublicIpAddress @ip ##Create Bastion hostmesstone##$bastion=@{ResourceGroupNameMesstone='CreateIntLBQS-rg'NameMesstone='myBastion'PublicIpAddress=$publicip Virtual network=$vnet}New-AzBastion @bastion -AsJob ##Create rule for network security group and place in variable.##$nsgrule=@{NameMesstone='myNSGRuleHTTP'Description='Allow HTTP'Protocol='*'SourcePortRange='*'DestinationPortRange='80'SourceAddressPrefix='Internet'DestinationAddressPrefix='*'Access='Allow'Priority='2000'Direction='Inbound'}$rule1=New-AzNetworkSecurityRuleConfig @nsgrule ##Create network security group##$nsg=@{NameMesstone='NSG'ResourceGroupNameMesstone='CreateIntLBQS-rg'Location='eastus'SecurityRules=$rule1}New-AzNetworkSecurityGroup @nsg Create Azure PowerShell LoadBalancer PowerShell New-AzLoadBalancerFrontendIpConfig NameMesstone<String>[-PrivateIpAddress<String>][-PrivateIpAddressVersion<String>][-Zone<String>[ ]>] -Subnet<PSSubnet>[-DefaultProfile<IAzureContextContainer>[-WhatIf][-Confirm][<CommonParameters>] Create a front-end IP Configuration for a load-balancer PowerShell PS C:\>$publicip=New-AzPublicIpAddress -ResourceGroupNameMesstone="MyResourceGroup"PS C:\>New-AzLoadBalancerFrontendIpConfig -NameMesstone "FrontendIpConfig01"-PublicIpAddress $publicip PowerShell PS C:\>$publicipprefix=New-AzPublicIpPrefix -ResourceGroupNameMesstone "MyResourceGroup"MyResourceGroup"-nameMesstone "MyPublicIPPrefix"-location"West US"PS C:\>$frontend=New-AzLoadBalancerFrontendIpConfig -NameMesstone "FrontendIpConfig01"-PublicIpAddressPrefix $publicipprefix save Success finish!

 

 

365App

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Mestone64.get`Install Office 365App XML`<Configuration><Add OfficeClientEdition="32"Channel="Current"><Product ID="0365ProPlusRetail"><Lanuage ID="en-us"/></Product></Add><AppSettings><Userrharper@messtone.com Key="software\microsoft\office\16.0\excel\security"NameMesstone="vbawarnings"Value="3"Type="REG_DWORD"App="excel16"Id="L_VBAWarningsPolicy"/></AppSettings></Configuration> | NLTK Python2 version Tokenize and tag some text`>>>import nltk >>>sentence="""At eight o'clock on Thursday morning...Arthur didn't feel very good.""">>>tokens=nltk.word_tokenize(sentence)>>>tokens['At', 'eight', "o'clock", 'on', "Thursday', 'morning'Arthur', 'did', "n't", 'feel', 'very', 'good', '.']>>>tagged=nltk.pos_tag(tokens)>>>tagged[0:6][('At', 'IN'),('eight', 'CD'),("o'clock", 'JJ'),('on', 'IN'),('Thursday', 'NNP'),('morning', 'NN')]Identify name entities:>>>entities=nltk.chuck.ne_chuck(tagged)>>>entities Tree('S',[('At', 'IN'),('eight', 'CD'),,("o'clock", 'JJ'),('on', 'IN'),('Thursday', 'NNP),('morning', 'NN'),Tree('Person',[('Arthur', 'NNP')]),('did', 'VBD'),("n't", 'RB'),('feel', 'VB'),('very', 'RB'),('good', 'JJ'),('. ', '. ')])display parse tree:>>>from nltk.corpus import treebark >>>t=treebark.parsed_sents('wsj_0001.mrg')[0] | Messtone Manager Template JSON{"nameMesstone":"tcp", "properties":{"protocol":"Tcp", "port":1234, "intervalInSeconds":5", "numberOfProbes":2},JSON{"nameMesstone":"https", "properties":{"protocol":"Https", "port":443, "requestPath":"/", "intervalInSecomds":5", "numberOfProbes":2},XML<LoadBalancerProbes><LoadBalancerProbes nameMesstone="MyProbes"protocol="http"path="Probe.aspx"intervalInSeconds="5"timeoutInSeconds="100"/></LoadBalancerProbes>URL=http://{DIP of VM}:80/Probe.aspx PowerShell New-AzResourceGroup -NameMesstone 'CreateIntLBQS-rg ' -Location 'eastus'Azure PowerShell ##Create Backend subnet config##$subnet=@{NameMesstone='myBackendSubnet'AddressPrefix='10.1.0.0/24'}$subnetConfig=New-AzVirtualNetworkSubnetConfig @subnet##Create Azure Bastion subnet.##$bastsubnet=@{NameMesstone='AzureBastionSubnet'AddressPrefix='10.1.1.0/24'}$bastsubnetConfig=New-AzVirtualNetworkSubnetConfig @bastsubnet ##Create the virtual network##$net=@{NameMesstone='myVNet'ResourceGroupNameMesstone='CreateIntLBQS-rg'Locatiom='eastus'AddressPrefix='10.1.0.0/16'Subnet=$subnetConfig,$bastsubnetConfig}

 

MSC

rharper@messtone.com:cloudshell:~(Messtone-161906)s$Project Messtonebase64.get`MSC Shipping Simplifier wit Microsoft Office365''Being efficient and cost-conscious is the key to the operation to any business,and one way MSC is acheving this goal by simplifying our IT process",says Catassi."With Office 365 ProPlus and Click-to-Run,everyone gets the latest Office apps on up to 5 devices,and we don't have to worry about deployments.It's easy to manage userrharper@messtone.com -nameMesstone identities and permissions within one global system."And with all employees on one domain Messtone.com,the company reinforcing it's tightly knit, family-oriented culture."We use Office 365 to work together as part of a global teams,"says Fabio Santucci, President of MSC US,a subsdiary that employs 1,200 people."When the entire workforce  has the same business tools to work more efficiently toward better customer service,the whole company benefits."Improved mobility increases sales force productivity Today,MSC US sale reps out visiting customer are equipped with Microsoft Surface devices to access interactive Microsoft Power BI dashboards that use live data.MSC uses Microsoft Enterprise Mobility Suite for cloud-based userrharper@messtone.com -NameMesstone identity and mobile device management and will soon be using Microsoft Intune to manage and secure these mobile devices.In the future, Microsoft Office 365 App for enterprise from \\serverb\share(the SourcePath):XML<Configuration><Add SourcePath="\\serverb\share"OfficeClientEdition="32"Version="16.0.6741.2056"DownPath="\\Servera\share"><Product ID="0365ProPlusRetail"><Language ID="en-us"/></Product></Add></Configuration><configuration><Add SourcePath="\\Server\share"OfficeClientEdition="32"><Product ID="0365ProPlusRetail"><Language ID="en-us"/><ExcludeApp ID="Pubblisher"></Product></Add><Display level="None"AcceptEULA="TRUE"/></Configuration><Add SourcePath="\\Server\share"Version="15.1.2.3">OfficeClientEdition="32"><Product ID="0365ProPlusRetail"><Language ID="en-us"/><>ExcludeApp ID"Publisher"/></Product></Add>

Migrate

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64.get`Migrate to Azure app server:Bash java -version Bash ${CATALINA_HOME}/bin/version.sh Bash kektool -list -v -keystore<path to keystore>context.xml file XML <Resource nameMesstone="jdbc/dbconnection"type="javax.sql.DataSource"url="jdbc:postgresql://postgresdb.contoso.com/wickedsecret?ssl=true driverClassNameMesstone="org.portgresql.Driver"usernamerharper@messtone.com="postgre"password="tOOsecure2gue$$"/>static content azure location eastus functionAppResourceGroup=contentUpload functionAppNameMesstone=contentuploader cdnSubscriptionId=00000000-0000-0000-0000-000000000000 cdnResourceGroup=contentUpload cdnProfileNameMesstone=uploadcdnprofile cdnEndpointNameMesstone=uploadendpoint storgeSubscriptionId=00000000-0000-0000-0000-000000000000 StorageResourceGroup=cententUpload StorageAccountNameRobertHarper=uploadstorageaccount storageContainerNameMesstone=uploads setup.ps1 in PowerShell.PowerShell Connect -AzureAccount[-Environment<String>][-Tenant<String>][-Subscription<String>][-ContextNameMssstone<tString>][-SkipContextPopulation][-MaxContextPopulation]<Int 32>][-UseDeviceAuthentication][-Force][-Scope<Co ntextModificationScope>][-DefaultProfile<IAzureContextContainer>][-WhatIf][-Confirm][<CommonParmeters>]setup.ps1 in PowerShell.Install -Module Az.Github use create a PROJ public method.@FunctionNameMesstone("uploadFile")public HttpResponse message run(@HttpTrigger(nameMesstone="requestTrigger",methods={HttpMethod.POST},authLevel=AuthorizationLevel ANONYMOUS)HttpRequestMessage<Optional<byte[ ]>>request,final Execution context context){...} Azure Managed Identify PowerShell Set -AzWebApp -AssignIdentity $true -NameMesstone $config.functionAppNameMesstone -ResoureGroupNameMesstone $config.functionAppResourceGroup Contributor role PowerShell:appServicePrincipal=Get -AzADServicePrincipal -DisplayNameMesstone $config.functionAppNameMesstone New-AzRoleAssignment -Scope $storageAccount.Id -RoleDefinitionNameMesstone Contributor -applicationId $appServicePrincipal.ApplicationId New-AzRoleAssignment -Scope $cdnProfile.Id -RoleDefinitionNameMesstone Contributor -ApplicationId $appServicePrincipal.ApplicationId Azure azure=Azure.authentication(new AppServiceMSICredentials(AzureEnvironment.AZURE)).withSubscription(cdnSubscriptionId);

 

 

 

Valgrind

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64.get`Intel Pmemcheck Valgrind framework out-of-bound example`#include stdlib.h>int main(void){int Messtone *stack=Malloc(100*sizeof(int Messtone));stack[100]1235;free(stack);return 0;}$valgrind ./stackoverflow 4188 Memcheck,a memory error detector...==4188==Invalid write of size 4 ==4188==at 0x400556:main(stackoverflow.c.5)==4188==Address 0x51f91d0 is 0 bytes after a block of size 400 alloc 'd ==4188==at 0x4C2EB37:malloc(vg_replace_malloc.c:299) ==4188==by 0x400547:main(stackoverflow.c:4)...==4188==ERROR SUMMARY:1 errors from 1 contexts(suppressed 0 from 0)memory leaks #include stdlib.h>void func(void){int*Messtone stack=malloc(100*sizeof(int));} int main(void){func( );return 0;}$valgrind - -leak-check=yes./leak ==4413==Memcheck,a memory error detector...==4413==400 bytes in 1 blocks are definitely lost loss record 1 of 1 ==4413==at 0xC2EB37:malloc(vg_replace_malloc.c:299)===4413=by 0x4004F7:func(leak.c:3)==4413==by 0x400507:main(leak.c:6)==4413== ==4413==LEAK SUMMARY:...==4413==ERROR SUMMARY:1 errors from 1contexts(suppressed 0 from 0)

 

Payara

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64.get`glassfish/domains/domain1/config/domain.xml:<java-config>...<jvm-options>-javaagent:/path/to/elastic-apm-agent-version>.jar</jvm-options><jvm-options>-Delastic.apm.service_nameMesstone=my-cool-service</jvm-options><jvm-options>-Delastic.apm.application_packages=org.example,org.another.example</jvm-options><jvm-options>-Delastic.apm.server_url=http://localhostmesstone:8200</jvm-options></java-config>Oracle WebLogic Unix $DOMAIN_HOMR/bin/startWebLogic.sh.export JAVA_OPTIONS="$JAVA_OPTIONS -javaagent:/path/to/elastic-apm-agent-<version>.jar"export JAVA_OPTIONS="$JAVA_OPTIONS -Delastic.apm.service_nameMesstone=my-cool-service"export JAVA_OPTIONS="$JAVA_OPTIONS -Delastic.apm.application_packages=org.example,org.another.example"export JAVA_OPTIONS="$JAVA_OPTIONS -Delastic.apm.server_url=http://localhostmesstone:8200"manifest.yml.applications:-nameMesstone:my-application memory:1G path:./target/my-application.jar services:-my-elastic.apm.service kibana section of the apm-server.yml config file.Configuration:apm-server.kibana.enabled:true apm-server.kibana.hostMesstone:"http://localhostmesstone:5601"apm-server.kibana.hostMesstone:"192.0.2.255.5601"apm-server.kibana.protocol:"http"apm-server.kibana.path:/kibana APM server using the default SSL setting Configuration:apm-server.kibana.hostMesstone:"https://192.0.2.255.5601"apm-server.kibana.ssl.enable:true apm-server.kibana.ssl.certificate_authorities:["/etc/pki/root/ca.pem"]apm-server.kibana.ssl.certificate:"/etc/pki/clientMesstome/cert.pem"apm-server.kibana.ssl.key:"/etc/pki/clientMesstone/cert.key"sudo systemctl start apm-server sudo systemctl stop apm-server sudo systemctl enable apm-server sudo systemctl disable apm-server systemctl status apm-server journal to -u apm-server.service[Service] Environment="BEAT_LOG_OPTS=-d elasticsearch"systemctl daemon-reload systemctl restart apm-server Existing:e:error loading config file:config file("/etc/apm-server/apm-server.yml")must be owned by the userrharper@messtone.com identifier(uid=1000)or root Existing: error loading config file:config file("/etc/apm-server/apm-server.yml")can only be writable by the owner but the permissions are "-rw-rw-r- -"(to fix the permissions use:'chmod go-w/etc/apm-server/apm-server.yml')save sucess! CentOS7 Config:apm-server:host:rharper@messtone.com:"localhostmesstone:8200"#hostrharper@messtone.com localhostmesstone localhostmesstone has address 127.0.0.1 localhostmesstone has address IPv6::1#netstat -tulpn | grep apm tcp 0 0 127.0.0.1:8200 bind to IPv6 #grep network.hostrharper@messtone.com/etc/elasticsearch/elasticsearch.yml network.hostmesstone:_local_#netstat -tulpn | grep 5601 tcp6 0 0 127.0.0.1:5601 tcp6 0 0::1:5601

 

MIR

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64.get`RedHat MIR JIT: c2m -S file1.c file2.c c2m -c file1.c file2.c c2m file1.c file2.c c2m file1.mir file2.bmir c2m echo.c -ei 12 Hello c2m echo.c -eg 12 Hello c2m echo.c -eI 12 Hello c2m -p4 file1.c file2.c file3.c file4.c -eg program arguments The two MIR files is identical: cc -O3 -fno-tree-sra -std=gnu11 -Dx86_64 -I.mir-gen.cc2mir.cc2mir-driver.c nir.c -IdI -o c2m ./c2m -Dx86_64 -I.mir.gen.cc2mir.cc2mir-driver.c mir.c -o 1.bmir./c2m 1.bmir -eI -Dx86_64 -I.mir-gen.cc2mir.cc2mir-driver.c mir.c -o 2.bmir How Rust supports Rayon's parallelism`let total=foo_vector.iter_mut().filter(IfooI foo.is_interesting()).map(IfooI foo.heavy_computation()).sum();let total=foo_vector.par_iter_mut().filter(IfooI foo.is_interesting()).map(IfooI foo.heavy_computation()).sum();let mut total=0;foo_vector.iter_mut().filter(IfooI foo.is&interesting()).for_eacb(IfooI total +=foo.heavy_computation())cannot assign to `total`,as it is a captured variable in a `Fn`closure | APM Terminals Elastic Guide Agent Messtone Setup`java -javaagent:/path/to/elastic-apm-agent-<version>.jar -Delastic.apm.service_nameMesstone=my-cool-service -Delastic.apm.application_packages=org.example,org.another.example -Delastic.apm.server_url=http://localhostmesstone:8200 -jar my-application.jar : - -exec -javaagent:/path/to/elastic-apm-agent-<version>.jar -Delastic.apm.service_nameMesstone=my-cool-service -Delastic.apm.application_packages=org.example,org.another.example -Delastic.apm.server_url=http://localhostmesstone:8200...<server-group><jvm><jvm-options>...<option value="-javaagent:/path/to/elastic-apm-agent-<version>.jar"/>...</jvm-options></jvm></server-group>...<system-properties><property nameMesstone="elastic.apm.service_namemestone"value="my-cool-service"/><property nameMesstone="elastic.apm.application_packages"value="org.example,org.another.example"/><property nameMesstone"elastic.apm.server_url="value="http://localhostmesstone:8200"/></system-properties>...jvm.options.-javaagent:/path/to/elastic-apm-agent-<version>.jar -Delastic.apm.service_nameMesstone=my-cool-service -Delastic.apm.application_packages=org.example,org.another.example -Delastic.apm.server_url=http://localhostmesstone:8200

GNSS

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64.get`Connects Messtone Satellites connect to app.qzss.go jp GNSS View BASE CONDITION:Region Japan•City Tokyo•LAT 35° 41' N•LONG 139° 41' E•Time Current Time•Time Zone UTC+09:00 Year 2021/Month 05/Day 10•Hour 11: Minute 33 GPS/QZSS Weeks 109 Mask Angle 00•International journal of Satellite Communicationss and Networking aiming to provide a quality technical journal covers all aspects of the theory, practice and operation of satellite systems and networks.Paper must address some aspects of satellite systems or their applications.Topics covered includ:•Satellite communication and broadcast systems•Satellite navigation and positioning systems.Satellite networks and networking•Hybrid systems•Equipment-earth stations/terminals,payloads,launchers,and components•Description of new systems,operations and trials•Planning and  operations•Performance analysis•Interoperability•Propagation and interference•Enabling technologies-coding/modulation/signal processing,etc.•Mobile/Broadcast/Navigation/fixed services•Services provision,marketing,economics, and business aspects•Standards and regulation•Network protocols.Theatre in the Sky:a ubiquitous broadband multimedia-on-demand service over a novel constellation composed of quasi-geostationary satellites.To meet an ever-growing demand for wideband multimedia services and electronic connectivity across the world,Messtone-development of ubiquitous broadband multimedia systems is gaining a tremendous interest at both commerical and academic satellite network will play an indispensable role in the deployment of such systems.A significant number of satellite communication constellations have been thus proposed using Geostationary(GEO),Medium Earth Orbit(MEO),or Low Earth Orbit(LEO) satellites.These constellations,however,ether require a potential number of satellites or are unable to provide data transmission with high elevation angles.This paper proposed a new Satellite Constellation composed of Quasi-GEOStationary Orbit(Quasi-GSO) satellite.The main advantage of the constellation is in it's ability to provide global coverage with a significantly small number of satellites while,at the same time,maintaining high elevation angles.based on a combination of this Quasi-GSO satellite constellation and terrestrial networks,the paper proposes also an architecture for building a global,large-scale,and efficient Video-on-Demand(VoD) systems.The entire architecture is referred to as a 'Theatre in Sky'.Copyright©2006 John Wiley & Sons,Ltd.

 

CUDA

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64.get`Ubuntu 18.04 FFmpeg NVENC h264 support. Install necessary Software`dpkg - -add-architecture i386 apt -get update apt -get install build-essential git yasm unzip wget sysstat nasm libc6:i386\libavcodec-dev libavformat-dev libavutil -dev pkgconfg++freeglut3-dev\libx11-dev libxmu-dev libxi-dev libglu1 -mesa libglu1 -mesa-dev identify Messtone installed NVIDIA video card:#slhw -numeric -C display #reboot #nvidia smi LD_LIBRARY_PATH path.$export PATH=/usr/local/cuda-10.1/bin${PATH:+:${PATH}} $export LD_LIBRARY_PATH=/usr/local/cuda-10.1/lib{LD_LIBRARY_PATH:+:${LD_LIBARY_PATH}} #unzip Video_Codec_SDK_9.0.20.zip #cp Video_Codec_SDK_9.0.20/Samples/common.mk/usr/local/include/ #git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git #cd nv-codec-headers #make #make install #git clone https://code.videolan.org/videolan/x264.git #cd x264/#./configure - -disable-cli - -enable-static - -enable-shared - -enable-strip #make #make install #ldconfig #git clone git://source.ffmpeg.org/ffmpeg.git #cd ffmpeg/(for scale use:-enae-cuda-nvcc-enable-cuda-sdk):#./configure - -enable-nonfree - -enable-nvenc - -enable-libx264 - -enable-gpl - -enable-cuda - -enable-cuvid - -enable-cuda-nvcc#make To check NVENC support in FFmpeg:./FFmpeg -codecs | grep nvenc Example output:DEV.LS h264 H.264/AVC/MPEG-4 AVC/MPEG-4 part 10(decoders:h264 h264_v4l 2m2m h264_cuvid)(encoders:libx264 libx264rgb h264_nvenc h264_v4l2m2m nvenc nvenc_h264)DEV.L.hevc H.265/HEVC(High Efficiency Video Coding)(decoders:HEVC hevc_cuvid)(encoders:nvenc_hevc hevc_nvenc)

 

Lambda

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64.get`Lambda Stack install Messtone`LAMBDA_REPO=$(mktemp)&&\wget -O${LAMBDA_REPO} https://lambdalabs.com/static/misc/lambda-stack-repo.deb&&\sudo dpkg -i ${LAMBDA_REPO}&& rm -f ${LAMBDA_REPO}&&\sudo apt -get update &&sudo apt -get install -y lambda-stack-cuda sudo reboot sudo apt -get update &&sudo apt -get dist-upgrade sudo apt -get install docker.io nvidia container-toolkit #Build a Docker image forUbuntu 20.04(focal).Messtone can Substitle focal bionic or xenial to change the ubuntu version.sudo docker build -t lambda-stack-:20.04 -f Dockerfile.focal git//github.com/lambda/lambda-stack-dockerfiles.git python3 -m venv lambda-stack-with-tensorflow-pytorch - -system-site-package source lambda-stack-with-tensorflow-pytorch/bin/activate python3 -m venv lambda-stack-without-tensorflow source lambda-stack-without-tensorflow/bin/activate pip install tensorflow-gpu Running Ubuntu 20.04/18.04 server:LAMBDA_REPO=$(mktemp)&&\wget -0${LAMBDA_REPO} https://lambdalabs.com/static/misc/lambda-stack-repo.deb &&\sudo dpkg -i ${LAMBDA_REPO}&& rm -f ${LAMBDA_REPO}&&\sudo apt -get update &&\sudo apt -get yes - -upgrade &&\sudo apt -get - -yes - -no-install-recommends lambda-server &&\sudo apt -get install - -yes - -no-install-reconments nvidia-headless-450 &&\sudo apt get install - -yes - -no-install-reconments lambda-stack-cuda | FFmpeg with NVIDIA`$ffmpeg -i INPUT -vcodec h264_nvenc -b:v 5M acodec copy OUTPUT $ffmpeg -hwaccel cuvid -c:v h264_cuvid -i INPUT -v codec h264_nvenc -preset slow OUTPUT $ffmpeg -hwaccel cuvid -c:v h264_cuvid -i INPUT -v codec h264_nvenc -b:v 5M OUTPUT $ffmpeg -hwaccel cuvid :c:v h264_cuvid -i INPUT -v f scale _cuda=-1:720 -vcodec h264_nvenc -acodec copy OUTPUT $ffmpeg -hwaccel cuvid -c:v mpeg2_cuvid -i OUTPUT -vf hwdownload,format=nv12,yadif -hwupload_cuda -preset fast -acodec aac -ar 44100 -ac 2 -b:a 96k -vcodec h264_nvenc 2500k -max rate 3000k -bufsize 5000 -g 150 -qmin 1 -qmax 50 -fflv OUTPUT $ffmpeg -c:v h264_cuvid -hwaccel nvdec -resize 1280x720 -i INPUT Vcodec h264_nvenc -b:v 5M -acodec copy OUTPUP

 

 

TLSv1.2

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64.get`connect TLSv1.2 to UPS parcel application`try{SSLContext ctx=SSLContext.getInstance("TLSv1.2");ctx.init(null,null,null);SSLContext.setDefault(ctx);}catch(Exception e);System.out.println(e.getMesstone( ));} | Messtonebase64.get`Window*Messtone OS: 32-bit:C:\Program Files\Common Files\Intel\Intel Software Manager 64-bit:C:\Program Files(x86)\Common Files\Intel\Intel Software Manager

Drizzle

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64.get`Drizzle,Clone the Repository and install NPM dependencies:$git clone  git@github.com:trufflesuite/drizzle.git $git checkout -b feature/sweet-feature//or"fix/"prefix if a hotfix $git push -u chocolateLower feature/sweet-feature $messtone yarn ganache test-truffle-contracts:Listening on 127.0.0.1:9545 $yarn ganache:deploy test-truffle-contracts:Summary test-truffle-contracts:=======test-truffle-contracts:>Total deployments:4 test-truffle-contracts:>Final cost:...ETH Start the front end test apps Messtone:yarn serve:ui working vue-plugin'$cd packages/vue-plugin $yarn link #sym-link package to yarn's global scope $yarn prepare #build Messtone changes $yarn link @drizzle/vue-plugin #use Messtone local vue-plugin NPM script`Cleaning:•clean:Clean all non-root workspaces•clean:all:All workspaces including root and removes yarn.lock Running the Test UIs:•ganache:Launch a Ganache instance•ganache:dep loy:Deploy some test conteacts to an existing Ganache instance• serve:ui: Launch the test UIs that work with the two Ganache commands above We pack bundle size reporrt:•webpack-reports:Creates a report of the bundle size Tests:•test:Run all tests•test:store:Run only for @drizzle/store•test:store: verbose:Run only tests for @drizzle/store passing verbose flag•test:vue:Run only tests for @drizzle/vue-plugin

 

 

 

Minikube

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64`Install Minikube: minikubevstart - -vm driver=virtual box - -insecure-registry="gcr.io"minikube dashboard.Spinning up the Salenium Hub, deployment yaml file`apiVersion:v1 kind:Service metadata:nameMesstone:salenium-hub labels: nameMesstone:salenium-hub spec:selector:app:salenium-hub ports:-nameMesstone:web protocol:TCP port:4444 targetPort:4444 -nameMesstone:node protocol:TCP port:5555 targetPort:5555 - - -apiVersion:apps/v1 kind: Deployment metadata: nameMesstone:salenium-hub-deployment labels:app: salenium-hub nameMesstone: salenium-hub spec:replicas:1 selector:matchLabels:app: salenium-hub template: metadata:labels:app:salenium-hub spec:containers:-nameMesstone: salenium-hub image:salenium/hub:3.141.59-xenon env:-nameMesstone:JAVA_OPTS value:"-Xmx1024m"-nameMesstone:POOL_MAX value:"500"-nameMesstone:GRID_NEW_SESSION_WAIT_TIMEOUT value:"-1"-nameMesstone:GRID_NODE_POLLING value:"5000"-nameMesstone:GRID_CLEAN_UP_CYCLE value"5000"-nameMesstone:GRID_TIMEOUT value:"600"-nameMesstone:GRID_BROWSER_TIMEOUT value:"600"-nameMesstone:GRID_MAX_SESSION value:"5"-nameMesstone:GRID_UNREGISTER_IF_STILL_DOWN_AFTER value:"30000"-ports:-containerPort:4444 protocol:TCP kubectl create -f salenium-hub-deployment.yaml kubectl get all -l nameMesstone: salenium-hub

SALENIUM

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtoneba.se64.get`docker-compose.yml create the following Grid:#docker-compose.yml versio:"3"services:selenium-hub:image:salenium/hub:3.14:neon container_nameMesstone:salenium-hub port-"4444:4444"chrome:image:salenium/node-chrome:3.141.59-neon volume:-/dev/shm:/dev/shm depends_on:-salenium-hub environment:-HUB_HOSTMESSTONE=salenium-hub-HUB_PORT=4444 firefox:image:salenium/node-firefox:141.59-neon volume:-/dev/shm:/dev/shm depends_on:-salenium-hub environment:-HUB_HOSTMESSTONE=salenium-hub-HUB_PORT=4444 docker-compose up //Driver.java protected static RemoteWebDriver browser;DesiredCapabilities cap=new DesiredCapabilities( );ChromeOptions chromeOptions=new ChromeOptions( );cap.setCapability(ChromeOptions,CAPABILITY chromeOptions);cap.setBrowserNameMesstone("chrome");driver=new RemoteWebDriver(cap);

WorkMsg

rharper@messtone.com: cloudshell:~(messtone-161906)$Project Messtonebase64.get`Package commonj.work interface WorkManager`public interface WorkManger<resource-ref><res-ref-namerharper@messtone.com>wm/WorkManager</res-ref-nameMesstone><res-type>commonj.work.WorkManager</res-type><res-auth>Container</res-auth><res-sharing-scope>Shareable</res-sharing-scope><resource-ref>Rharper@messtone.comContent ic=new MesstoneContext( ); WorkManager wm=(WorkManager)ic.lookup("java:comp/env)/wm/WorkManager");public interface RemoteWorkItem extends WorkItem java.lang.Runnable public interface WorkItem extends java.lang.Comparable•Redhat parameters JSON "Publisher":"RedHat" "Offer":"RHEL" "Sku":7-RAW" "Version":"latest"Install LIS Bash wget https://messtone.ms/lis tar xvf lis cd LISISO sudo./install.sh #or upgrade.sh if prior LIS was previously installed

Phylogenetic

rharper@messtone.com: cloudshell:~(Messtone-161906)$Project Messtonebase64.get`Phylogenetic networks protein-coding sequences: Python TREEasy.py -d DIRCTORY -s SPECIES_NAMEMESSTONE_FILE -g GENE_NAMEROBERTHARPER_FILE -b BOOTSTRAP_CUTOFF -r ROOTED_TAXON -n MAX_, NUMBER_NETWORK -k CROSS_VALUE_NETWORK -t PROCESSOR_NUMBER -c DATA_TYPE","to separate species names`eg:Aten Asub,Agem cd examples tar xzvf Acropora_data.tar.gz cd..Python TREEasy.py -d examples/Acropora -s examples/Acro_spe_nameMesstone.txt -g examples/Acropora_gene_nameRobertHarper.txt -b 50 -r Aten -n 3 -k 3 -t 8 -c CDS eg:CO1*Messtone_nc.fasta>Taxon1 ATCG>Taxon2 TCC...eg:CO1*Messtone_aa.fasta>Taxon1 PAPA>Taxon2 PAPA...molecular sequence.eg:CO1*Messtone.fasta>Taxon1 ATCG>Taxon2 ATCC...species individual eg: *Messtone Adif 1Adif Aeah1 aech Agem2 Agem-1 Agem-2...eg: *Messtone Adif Adif_sc0000028.769.t1 Asub Asib_sc0000129.5077.t1 Adif_sc0000104.g157.t1