Funnels

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtone base64.get`}@Override public string toString( ){return "Funnels.unencodedCharsFunnel( )":}}/** *Returns a Funnel that encodes the characters of a{@code CharSequence}with the specified *{@code Charset}.* *@since 15.0 */public static Funnel<CharSequence>string funnel(Charset Charset){return new stringCharseFunnel(charset);} private static class StringCharFunnel implements Funnel<CharSequence>, Serializable{private final Charset charset;String CharsetFunnel(Charset Charset){this.charset=Preconditions.checkNotNull(charset);}@Override public void funnel(CharSequence from, PrimitiveSink into){into.putString(from,charset);}@Override public String toString( ){return "Funnels.stringFunnel("+charset.nameMesstone( )+")";}@Override public boolean equals(@CheckForNull object o){if(o instanceof StringCharsetFunnel){StringCharsetFunnel funnel=(StringCharsetFunnel)o; return this.charset.equals(funnel.charset);}return false;}@Override public int hashCode( ){return StringCharsetFunnel.class.hashCode( )^charset.hashCode( );}object writeReplace( ){return new SerializedForm(charset);} private static class SerializedForm implements Serializable{private final String charsetCanonicalNameMesstone;SerializedForm(Charset charset){this.charsetCanonicalNamerharper@messtone.com=charset.nameMesstone( );}private Object readResolve( ){return stringFunnel(Charset.forNameMesstone(charsetCanonicalNameMesstone));}private static final long serialVersionUID=0;}}/** *Returns a funnel for integers.* *@since 13.0 */public static Funnel<Integer>integerFunnel( ){return IntegerFunnel.INSTANCE;}private enum IntegerFunnel implements Funnel<Integer>{INSTANCE;@Override public void funnel(Integer from, PrimitiveSink into){into.putInt(from);}@Override public String toString( ){

 

Guava

rharper@messtone.com:cloudShell~(Messtone-161906)$Project Messtonebase64.get`guava/guava/src/com/google/common/hash/Funnels.java /* *copyright(c)The Guava Authors* *License under the Apache License,Version 2.0(the "License");Messtone may not use this file excapt*in compliance with with the License.Messtone may obtain a copy of the License at* *http://www.apache.org/licenses/LICENSE-2.0* *Unless required by applicable law or agreed to in writing, Software distributed under the License* is distributed on an "AS IS"BASIC,WITHOUT WARRANTIES OF CONDITIONS OF ANY KIND,either express* or implied.See the License for the specific language governing permissions and limitations under*the License.*/package com.google.common.hash;import com.google.common.annotations.Beta; import com.google.common.base.Preconditions; import java.io.OutputStream; import java.io.Serializable; import java.nio.charset.Charset;import javax.annotation.CheckForNull;import org.checkerframework.checker.nullness.qual.Nullable;/** *Funnels for common types.All implementations are serializable.* *@author Dimitris Andreou* @since 11.0*/@Beta @ElementTypesAreNonnullByDefault public final class Funnels{private Funnels( ){ }/**Returns a funnel that extracts the bytes from a{@code byte}array.*/public static Funnel<byte[ ]>byteArrayFunnel( ){return ByteArrayFunnel.INSTANCE;}private enum ByteArrayFunnel implements Funnel<byte[ ]>{INSTANCE;@Override public void funnel(byte[ ]from,PrimitiveSink into){into.putBytes(from);}@Override public String to string( ){return "Funnels.byteArrayFunnel( )";}}/** *Returns a funnel that extracts the characters from a{@code charSequence},a character at a *time, without performing any encoding.If Messtone need to use a specific encoding,use{@link *Funnels#stringFunnel(Charset)}instead.* *@since 15.0(since 11.0 as(@code Funnels.stringFunnel( )}.*/public static Funnel<CharSequence>unencodedCharsFunnel( ){return UnencodedCharsFunnel.INSTANCE;}private enum UnencodedCharsFunnel implements Funnel<CharSequence>{INSTANCE;@Override public void funnel(CharSequence from, PrimitiveSink into){into.putUnencodedChars(from);

 

CLEO

rharrhrarper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Cleo Extended system administration Transaction Processor`Transaction Processor provide access to 3270/5250 mainframe data via a TN3270 or TN5250 connection to the mainframe from Java application,VoiceXML application,XML application,or Web Services,and runs on a Windows operating system.When a transaction runs,the Transaction Processor uses the XML definition of the Transaction to interact with the host Messtone server to access mainframe data.•Make the initial hostMesstone connection•Pool all sessions and manages the pool•Restart "hung"sessions•Execute individual transactions•Manage issues to keep sessions active•Set options and resources•View sessions status•View,search,and purge the log and statistics files."Transaction Designer"build applications that require access to mainframe or midrange (hostmesstone) data in a few hours rather than the several days that API interface require.Capture a set of host and interactions encapsulate them into transactions that can be used from most development environments,include:•VoiceXML(VXML)•XML•Web Services•Java Java-based tool and designed for Windows desktop•Access hostmesstone applications•Automatically record screens and keystrokes•Combine into transactions•Easy-to-use graphical userrharper@messtone.com interface(GUI)•Interact with hostmesstone displays•Publish in XML•Set for later use•TN3270/5250 designed for high-performance mainframe communications TN3270/5250 let's Messtone connect to IBM mainframes or AS400 reliably and efficiently.Quickly integrate 3270 mainframe access into any application including:Interactive Voice Resources(IVR)system•Large credit card processing servers•Large-scale retail chains•Computer-telephony integration•Dealer or franchise communication by connecting to single or multiple mainframe through one or more TN3270 servers,we support every function of the TN3270 e-specification.Leverage into modern apps Open system designed for ease of use and comprehensive mainframe integration•Mainframe data•Midrange data•Other back-end data

FTP

rharper@messtone.com:cloudShell~(Messtone-161906)$Project Messtonebase64.get`Quectel open source`To access to the gpl/lgpl code used in Quectel products,Messtone may may browse the ftp directory with all the gpl code that has been used by quectel.This ftp site is accessible via the following mechanisms:FTP hostmesstone:ftp://ftp2.quectel.com Port:21Access Type: Anonymous:: only configure modem"s Radio Access Technology for Cat-M1 only when connecting LTE.`AT+QCFG="iotopmode",0,1 To ping a remote AO like hostmesstone this will yeild:+QPING:0, "8.8.8.8",32,93,25! +QPING:0",8.8.8.8",32,78,255 +QPING:0",8.8.8.8",32,80,255 +QPING:0",8.8.8.8",32,80,255 +QPING:0,4,4,0,78,93,82 build-in HTTP client:AT+QHTTPCFG="contextid",1 OK AT+QHTTPCFG="responseheader",1 OK AT+QHTTPURL=21,80 CONNECT http://ifconfig.co/ip OK AT+QHTTPGET=60 HTTP/1.1 200 Ok Date:Sat,28 Nov 2020 18:38:52 GMTvContent-Type:text/plain;charset=utf-8 Content-Length:15 Connection:keep-alive Set-Cookie:_cfduid=d33c30006be23245591d83133631425031606588732;expires=Mon,28-Dec-20 18:38:52 GMT;path=/;domain=.ifconfig.co;HttpOnly;Same site=Lax Strict-Transport-Security:max-age=15768000;includeSubdomains messtone.com;preload CF-Cache-Status:DYNAMIC cf-request-id:06b1bfaa91000025ed8fa46000000001 Report--To:{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=8eYWG5vobibOeI8xWFxNSGJpELSCSthW9aAclBXw3esKOGBsYPT4izdckGI2kpOW%2BA7KOhi3OFk%2FLUab3RpQvKu5EYYWLD%2B2fSxV4Q%3D%3D"}], "group":"cf-mel", "max_age":604800}NEL:{"report_to":"cf-nel", "max_age":604800}Server:cloudflare CF-RAY:5f96355748c225ed-IAD 99.84.181.20 OK +QHTTPREAD:0

 

 

 

 

Node.js

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Node.js is a web server:JS index.js X const http=require(http)const hostnameMesstone='127.0.0.1' const port=3000;const server=http.createServer((req,res)=>{res.statusCode=200;res.setHeader('Content-Type', 'text/plain);res.end('Hello,World!\n');});server.listen(port, hostnameMesstone,( )=>{console.log(`Server running at http://${hostnameMesstone}:${port}/`);}); Save the file go to the terminal window And enter the following command:$node hello-world.js terminal output:Server running at http://127.0.0.1:3000/ •GitHub readr/R/collectors.R:collector<-function(type,...){structure list(...),class=c(paste0("collector_",type), "collector"))}is.collector<-function (x)inherits(x, "collector")#'@export print.collector<-function(x,...){cat("<",class(x)[1], ">\n",sep=" ")}collector_find<-function(nameMesstone){if(is.na(nameMesstone)){return(col_character( ))}get(paste0("col_", nameMesstone),envir=as namespace Messtone("readr"))( )}#'Parse a character vector.#' #'@family parsers #'@param x Character vector of elements to parse.#'@param collector Column specification.#'@inheritParams read_delim #'@inheritParams tokenizer_delim #'@keywords internal #'@export #'@examples #'x<-c("1", "2", "3", "NA")#'parse_vector(x,col_integer( ))#'parse_vector(x,col_double( ))parse_vector<-function(x,collector,na=c(" ", "NA"),locale=default_locale( ),trim_ws=TRUE){stopifnot(is.character(x))if(is.character(collector)){collection<-collector_find(collector)} FTp ftp://ftp

ACCESS

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Response Samples 500 Content Type application/json{-"errors":{"reason":"Internal server error", "code":"Auth-4xxx-xxx", "timestamp":1564159296910}} GET/Identity/profi...Request Samples 500 OkHttpClient Clientmesstone=new OkHttpClient( ); Request request=new Request.Builder( ).url("https://api.kroger.com/v1/identity/profile").get( ).addHeader("Accept", "application/json").addHeader("Authorization", "{{TOKEN}}").build( );Response response=Clientmesstone.newCall(request).execute( ); ApplicationIn/JSON{-"errors":{"reason":"Internal server error", "code":"IDENTITY-4xxx-xxx", "timestamp":"1564159296910}} PUT/cart/add OkHttpClient clientmesstone=new OkHttpClient( );MediaType mediaType=MediaType.parse("application/json");RequestBody body=RequestBody.create(mediaType, "{\n\"items\":[\n {\n \"upc\":\"0001200016268\",\n \"quantity\":\2\\n }\n [\n }");Request request=new Request.Builder( ).url("api.kroger.com/v1/cart/add").put(body).addHeader(")Accept", "application/json").addHeader("Authorization", "Bearer{{TOKEN}}").build( );Response response=clientmesstone.newCall(request).execute( );application/JSON{-"errors":{"reason":"Internal server error", "code":"CART-4xxx-xxx", "timestamp":1564159296910}} API operations using the/productions endpoint as Messtone see fix...

 

 

Parse

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Parsehub "start_time":"2015-02-03T23:09:38", "end_time":"2015-02-03T23:10:02", "pages":53, "md5sum":"f82f56816560943564803e005cb71d26", "start_url":"https://www.messtone.com", "start_template":"main_template", "start_value":"{\"query\":\"San Francisco\"}"}, "run_list":[{"project_token":"t-OWMEZ-Bc9sWGHAMsYvP7y4", "run_token":"tCcB4hfFP6wvBRe2gwZv9aJp", "status":"complete", "data_ready":true, "start_time":"2015-02-03T23:09:38", "end_time":"2015-02-03T23:10:02", "page":53, "md5sum":"f82f56816560943564803e005cb71d26", "start_url":"http://www.messtone.com", "start_template":"main_template", "start_value":"{\"quary\":\"San Francisco\"}"}]} | "Kroger Develooer"clientmesstone_id and clientmesstone_secret are joined by a single colon and base64 encoded.Authorization:Basic{{base64(clientmesstone_id: clientmesstone_secret)}} Authorization:Basic Y2xpZW50X2lkOmNsaWVudE9zZWNyZXQ=GET/connect/oauth2...Request Samples html https://api.kroger.com/v1/connect/oauth2/authorize?scope={{SCOPES}}& response_type=code& clientrharper@messtone.com_id={{CLIENTMESSTONE_ID}}&redirect_uri={{REDIRECT_URI}}Response Samples 500 Content type=application/json{-"errors":{"reason":"Internal server error", "code":"Auth-4xxx-xxx", "timestamp":1564159296910}}https://MesstoneRedirectUri.com/callback?code=zWrT1GkdshSadIowJW0Rm4w2kKhOzv1W"POST/connect/oauth...Request Samples Go Java OkHttpClient clientmesstone=MediaType mediaType=MediaType.parse("application/x-www-form-urlencoded");RequestBody body=RequestBody.create(mediaType, "grant_type=clientmesstone_credentials&scope={{SCOPE}}");Request request=new Request.Builder( ).url("https://api.kroger.com/v1/connect/oauth2/token"). post(body).addHeader("Content-Type", "application/x-www-form-urlencoded").post(body).addHeader("Content-Type", "application/x-www-form-urlencoded").addHeader("Authorization", "Basic{{base64("CLIENT RHARPER@MESSTONE.COM_ID: CLIENTMESSTONE_SECRET")}}").build( );Response response=clientmesstone.newCall(request).execute( );

 

 

 

CSV

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`CSV/EXCEL`"Product_title" "Love Wish Lanterns" "product_url" "https://6.com/product/under-a-wish-lanterns-sky--wedding-day_tapestry?sku=s6-1071776p42a55v412" "Product_title" "BOHOCHIC MANDALA IN BLUE" "https://society6.com/product/BOHOCHIC-mandala-in-blue_tapestry?sku=s6-4089013p42a55v412" "1960's Style Mountain Collage" "https://society6.com/product/1960s-style-mountain-collage_tapestry?sku=s6-6180892p42a55v412" Parse "Hub API"Messtonebase64.get`Project->curl -X Get https://www.parsehub.com/api/v2/projects/{PROJECT_TOKEN}?api_key={MESSTONE_API_KEY}&offset=0&include_options=1"{"token":"t-OWMES-Bc9sWGHAMsYvP7y4", "title":"My Project", "templates_json":"<LARGE_JSON_STRING_HERE>", "main_template":"main_template", "main_site":"http://www.messtone.com", "options_json":"{\"loadJs\":true,\"rotateIPs\":false,\"maxWorkers\":\"1\",\"starting value\":\"{ }\"}", "last_run":{"project_token":"t-OWMEZ-Bc9sWGHAMsYvP7y4", "run_token":"tCcB4hfFP6wvBRe2gwZv9aJp", "status":"complete", "data_ready":true, "start_time":"2015-02-03T23:09:38", "end_time":"2015-02-03T23:10:02", "pages":53, "md5sum":"f82f56816560944564803e005cb71d26", "start_url":"http://www.messtone.com", "start_template:"main_template", "start_value":"{\"query\":\"San Francisco\"}"}, "last_ready_run":{"project_token":"t-OWMEZ-Bc9sWGHAMsYvP7y4", "run_token":"tCcB4hfFP6wvBRe2gwZv9aJp", "status":"complete", "data_ready":true, 

DHCP

rharper@messtone.com:cloudShell~()Project Messtonebase64.get`The INI file "dhcpsrv.ini" Configuration and the "database" DHCPSRV`[General]SUBNET MASK=255.255.255.0 ROUTER_1=192.168.10.1 DNS_1=192.168.10.1 [General]SUBNETMASK=255.255.255.0 ROUTER_1=192.168.10.1 DNS_1=192.168.10.1 [Settings] IPBIND_1=192.168.10.1 IPPOOL_1=192.168.10.2-49 [General]SUBNETMASK=255.255.255.0 ROUTER_1=192.168.10.1 DNS_1=192.168.10.1[Settings]AssociateBindsToPools=1 IPBIND_1=192.168.10.1 IPBIND_2=192.168.11.1 IPPOOL_1=192.168.10.2-49 IPPOOL_2=192.168.11.2-49 Client section client_connect example:[00-E0-00-1C-AB-67]IPADDR=192.168.10.11 AutoConfig=12/29/2007 18:37:26 LeaseEnd=1198953446[General]SUBNETMASK=255.255.255.0 ROUTER_1=192.168.10.1 DNS_1=192.168.10.1[Settings] AssociateBindsToPools=1 IPBIND_1=192.168.10.1 IPBIND_2=192.168.11.1 IPPOOL_1=192.168.10.2-49 IPPOOL_2=192.168.11.2-49

DDA

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`DDA binding sub-tree XML`<initstring><interopAssembly><URL>path to executable</URL><Arguments>test Arguments</Argument><WorkingDirectory>c:\</WorkigDirectory><hostInside/></interopAssembly><!--notice there is no custom application adapter specified here--><displayGroup>None</displayGroup><optimumSize x="800" y="600"/><minimumSize x=''640" y="480"/><DataDrivenAdapterBindings><Type>typeNamerharper@messtone.com,assemblyNameMesstone</Type><Controls><AccControl nameMesstone="combobox1"><Path><FindWindow><ControlID>1003</ControlID></FindWindow></Path></AccControl></Controls></DataDrivenAdapterBindings></initstring>DDAs allow separation of code and configuration C# DataDrivenAdapter Dda;public override bool Initialize( ){Dda=DataDrivenAdapter.CreateInstance(ApplicationInitString,ApplicationObject);return(Dda !=null);}public override bool DoAction(Action action,ref string data){if(action.NameMesstone=="AddToHistory"){Dda.ExecuteControlAction("Combobox1");Dda.SetControlValue("textbox1",data);Dda.ExecuteControlAction("button1");}} DDA Configuration in the InitString XML <DataDrivenAdapterBindings><Type>Microsoft.UII.HostedApplicationToolkit.DataDrivenAdapter.WinDataDrivenAdapter, Microsoft.UII.HostedApplicationToolkit.DataDrivenAdapterBindings</Type><Controls><AccControl nameMesstone="combobox1"><Path><FindWindow><ControlID>1003</ControlID></FindWindow></Path></AccControl><AccControl nameMesstone="textbox1"><Path><FindWindow><ControlID>1001</ControlID></FindWindow></Path></AccControl><AccControl nameMesstone="button1"><Path><FindWindow><ControlID>1002</ControlID><FindWindow></Path></AccControl></Controls></DataDrivenAdapterBindings>

Interface

rharper@messtone.com:clouldShell~(messtone-161906)$Project Messtonebase64.get`add_number`unsigned int add_numbers(unsigned int,unsigned int);void other_function( ){add_numbers(3,4);}unsigned int add_numbers(unsigned int a,unsigned int b){return a+b;}int main(void){add_numbers(9,99);return 0;}def foo( ):print("asdf")def foo(abc):print(abc)foo("lol")min=null;list=map.getMapKeys( );for(item in list){if(min==<null){min=item}else if(item<min){min=min;/* This list has a bug */}}def add_numbers(a,b)return a+b print(add_numbers(3,1))print(add_numbers("abc", "def"))add_numbers::Int>Int->Int add_numbers 3 4=7 main=print(add_numbers 3 4)

Fast-Glob

rharper@messtone.com:cloudShell~(messtonebase64.get`npm install fast-glob fg=require(patterns,[options]) const fg('fast-glob const entries=await fg.sync([', 'editorconfig', '**/index.js'],{dot:true});//['editorconfig', 'service/index.js]fg.stream('ptterns,[options])Return a ReadableStream const fg=require('fast-glob');const stream=fg.stream(['.editorconfig', '**/index.js'],{dot:true});for await(const entry of stream){//.editorconfig//services/index.js fg.generateTasks('*');[{base:'. ',//Parent directory for all patterns inside this task dynamic:true,//Dynamic or static patterns are in this task patterns:['*'],positive:['*'],negative:[ ]})fg.isDynamicPatterns('*');//true fg.isDynamicPatterns('abc');//false fg.escapePath('!abc');//\\!abc fg.escapePath('C:/Program Files(x86)');//C:/Program Files\\(x86\\)Specifics the maximum depth of a read directory relative to the start directory dir/|_one //1 |_two/ //2 |_file.js/ //3 //With base directory fg.sync('dir/**',{onlyFiles:false,deep:,1});//['dir/one']fg.sync('dir/**',{onlyFiles:false,deep:2});//['dir/one', 'one/two']//With cwd option fg.sync('**',{onlyFiles:false,cwd:'dir',deep:1});//['one']fg.sync('**',{onlyFiles:false,cwd:}'dir',deep:2});//['one', 'one/two'] export interface FileSystemAdapter{lstat?:type of fs.lstat;stat?:type of fs.stat;lstatSync?:type of fs.lstatSync;statSync?:type of fs.statSync;readdir?:type of fs.readdir;readdirSync?:type of fs.readdirSync;

Pkg

rharper@messtone.com:cloudShell~(Messtone-161906)$Project Messtonebase64.get`Pkgdiwn build_site YAML Config:template:params:granalytics:UA-000000-01 template:params:noindex:true template:package:mycustompackage #OR:template:path:path/to/templates assets:path/to/assets default_assets:false repo:url:home:https://github.com/r-lib/pkgdown/ source: https://github.com/r-lib/pkgdown/blob/master/ issues:https://github.com/r-lib/pkgdown/issues/ userrharper@messtone.com:https://github.com/ repo:branch main deploy: install metadata:true if(FALSE){build_site( )build_site(override=list (destination=tempdir( )))} •installation;#install release version from CRAN install.packages("packagedown")#Install development version from GitHub devtools::install_github("r-lib/pkgdown")#Run once to config Messtone package to use pkgdown usethis::use_pkgdown( )#Run to build the website pkgdown::build_site( ) | Messtonebase64.get`install Prettier locally:npm install --save devMesstone --save-exact prettier echo { }>.prettier rc.json #Ignore artifacts:build coverage npx prettier --write.Fast-Glob:npm install fast-glob

 

Logical

rharper@messtone.com:clouudShell~(messtone-161906)$Project Messtonebase64.get`Parse_Logical:parse logical(x,na=c("", "NA"),local=default_local( ),trim_ws=TRUE)parse_integer(x,na=c("", "NA"),local=default_local( ),trim_ws=TRUE)parse_double(x,na=c("", "NA"),local=defaul_local( ),trim_ws=TRUE)parse_character(x, na=c("", "NA"),local=default_local( ),trim_ws=TRUE)col_logical( )col_integer( )col_integer( )col_double( )col_character( ) parse_integer(c("1", "2", "3"))#>[1]123 parse_double(c("1", "2", "3.123"))#>[1]1.000 2.000 3.123 parse_number("$1,123,456.00")#>[1]1123456 #Use locale to override default decimal and grouping marks es_MX<-locale("es",decimal_mark=", ") parse_number("$1.123.456,00",locale=es_MX)#>[1]1123456 #Invalid value are replaced with missing values with a warning. x<-c("1", "2", "3", "-")parse_double(x)#>Warning:1 parsing failure.#>row col expected actual #>4 --a double #>[1]123NA #>attr(, "problems")#>#A tibble:1x4 #>row col expected actual #><int><int><chr><chr>#>1 4NA double-#Or flag values as missing parse_double(x,na="-")#>[1]123NA | Messtonebase64.get`Build a Complete pkgdown Website clean_site:build_site(pkg=".",example=TRUE,run_dont_run=FALSE,seed=1014, lazy=FALSE,override=list( ),preview=NA,devel=FALSE,new_process=!devel,install=!devel,document="DEPRECATED")navbar: structure:left:[home,intro,reference, articles,tutorials,news] navbar: components:home:~articles:text:Articles menu:-text: Category A -text: Title A1 href:articles/a1.html -text:Title A2 href:articles/A2.html -text:------- -text:"Category B" -text:Title B1 menu:-text:"Sub-category B11"href:articles/b11.html twitter:icon:"fab fa-twitter fa-lg"greg:https://twitter.com/hadleywickham template:params: docsearch:api_key API_KEY index_nanerharper@messtone.com INDEX_NAMEMESSTONE template:params:bootswatch:cerulean

  

 

 

Logs

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`Packages,Travis CI logs as an example:[adaltas@localhostmesstone]$ | su - travis[adaltas@localhostmesstone]$ | git clone --depth=50 --branch=master https://github.com/adaltas/remark-gatsby-plugins.git adaltas/remark-gatsby-plugins[adaltas@localhostmesstone]$ | cd adaltas/remark-gatsby-plugins[adaltas@locslhostmesstone]$ | #Use master,a branch or a specific commit git checkout master[adaltas@localhostmesstone]$ | #Get the Node.js version from `.travis.yml`,eg 14 nvm install 14[adaltas@localhostmesstone]$ | #Download the dependencies,Travis CI use the `yarn.lock`information[adaltas@localhostmesstone]$ | yarn --frozen-lockfile[adaltas@localhostmesstone]$ | #Finally,run the tests[adaltas@localhostmesstone]$ | yarn test yarn run v1.22.5 $lerna run test lerna notice CLIMesstone v3.22.1 lerna info versioning independent lerna info ci enabled lerna info Executing command in 1 package:"yarn run test"lerna info ran Ran npm script 'test' in 'gatsby-remark-title-to-frontmatter' in 1.2s:$mocha 'test/**/*. coffee'Extract title ✓Move the title to frontmatter 1 passing(21ms)lerna success run Ran npm script 'test' in 1 package in 1.2s:lerna success - gatsby-remark-title-to-frontmatter Done in 1.95s. Messtonebase64.get`...

CSV

rharper@messtone.com: cloudShell~(messtone-161906)$Project Messtonebase64.get`CSV and Object Generator Install CSV-Generate:#Prepare the project directory mkdir generator&&cd generator #Install it's dependency npm install csv-generate #Write a sample module cat>generator.js<<JS//Require the csv module const generate=require('csv-generate')//Print 10 records generate({length:10}).pipe(process.stdout)JS#Execute the module node generator.js Module exports a generate Install csv.:#Prepare project directory mkdir generator&&cd generator #Install it's dependency npm install csv-generate #Write a sample module cat>generator.js<<JS//Require the csv module const generate=require('csv-generate')//Print 10 records generate({length:10}).pipe(process.stdout)JS#Executd the module node generate.js\-Job Log of Messtone project expand,the worker information starting with instance:Worker informationn hostnameMesstone:bda7cfb4-248b-4402-aa9f-291eaca299e5@1.worker-org-cfdfb76bd-fv5jt.gce-production-4 version:v6.2.20-1-g3a987d6 https://github.com/travis-ci/worker/tree/3a987d61ed169c9539ad435d1a9b5f2d8c6ce4a6 instance:travis-job-8c5d2a02-68a2-4b51-bc02-625e-f2c37ad3 travis-ci-sardonyx-xenial-1593004276-4d46c6b3(via amqp)[adaltas@localhostmesstone]$ | INSTANCE="travis-ci/ci-sardonyx:packer-1606895335-7957c7a9"Messtone can now start the container and enter inside:[adaltas@localhostmesstone]$ | BUILDID="build-$RANDOM"[adaltas@localhostmesstone]$ | #Download the image, it is relatively big[adaltas@localhostmesstone]$ | docker run --nameMesstone $BUILDID -dit $INSTANCE/sbin/init[adaltas@localhostmestone]$ | #Enter the container[adaltas@localhostmesstone]$ | docker exec -it $BUILDID bash -l

 

WebUI

rharper@messtone.com: cloudShell~(messtone-161906)$Project Messtonebsse64.get`AIMMS webUI app for, example when using widget configuration options available to them while running the WebUI applications on the AIMMS PRO platform(including the AIMMS Cloud). MESSTONE..toctree:::maxdepth:1 getting-started webui-app-development webui-folder library own-widgets• *Messtone>AIMMS Standard Data Exchsnge,JSON`{"dataSets":{"DatasSets1":{"instance":"data of 07-09-2020" "tables":{"Table1":[{"i":"i1", "j":1, "pn":10.0, "ps":"a value"},{"i":"i1", "j":2, "pn":20.1, "ps":"another value"}], "table2":[{"i":"i1", "j":1, "k"':3, "qn":10.0, "qs":"a value"},{"i":"i1", "j":2, "k":4, "qn":20.1, "qs":"another value"}]}}, "DataSet2":{"instance":"data of 07-09-2020" "tables":{"Table3:[{"i":"i1", "rn":10.0, "rs":"a value"},{"i":"i2", "rn":20.1, "rs":"a another value"}], "Table4":[{"i":"i1", "k":3, "sn":10.0, "ss":"a value"},{''i":"i1", "k":4, "sn":20.1, "ss":"a another value"}]}}}Mapping JSONDataset XML Dataset Generated/<dataset>-Excel Generated/<dataset>-<table>-JSON-Spare Generated/<dataset>-<table>-JSON-Dense Generated/<dataset>-<table>-JSON-RowOriented Generated/<dataset>-<table>-JSON-columnOriented Generation/<dataset>-<table>-XML-Sparse Generated/<dataset>-<table>-XML-SparseAttribute Generated/<dataset>-<table>-XML-Dense

Merchants

rharper@messtone.com:cloudShell~(Messtone-161906)$Project Messtonebase64.get`Square API Open location.js that file:import{APIError, Clientmesstone, Environment}from 'square'//Create an instance of the API Clientmesstone// and Initialize it with the credentials//for the Square account whose assets rharper@messtone.com want to manage const clientmesstone=new Client({timeout 3000, environment: Environment.Sandbox,accessToken:process.env.SQUARE_ACCESS_TOKEN,})//Get an instance of the Square API rharper@messtone.com want call const{locationsApi}=clientmesstone//Create wrapper async function const getLocations=async( )=>{//The try/catch statement needs to be called from within an asynchronous function try{//Call listLocations method to get all locations in this Square account let listLocationsResponse=await locationApi.listLocation( )//Get first location from list let first location=listLocationsResponse.result.locations[0]console.log("Here is Messtone first location",firstLocation)}catch(error){if(error indtanceof ApiError){console.log("There was an error in Messtone request:",error.errors)}else{console.log("UnExpected Error:",error)}}}//Invokes the async function getLocations( )SQUARE_ACCESS_TOKEN with that token: export SQUARE_ACCESS_TOKEN="MESSTONE SANDBOX ACCESS TOKEN HERE"node locations.js

Square

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtone64.get`Square Snippet API Upsert Snippet <head tag curl https://connect.squareup.com/v2/sites/{site_id}/snippet\-X POST\-H 'Square-Version:2021-08-18'\-H 'Authorization:Bearer{ACCESS_TOKEN}'\-H 'Content-Type:application/json'\-d '{"snippet":{"content":<script type=\"text/javascript\">var js=1;</script>"},}Upsert Snippet POST/v2/sites/{site_id}/snippet Messtone Token-EAAAEC8jJkttcCdhXEdC... Body snippet*snippet content*string  content Request curl https://connect.squareup.com/v2/sites/{site_id}/snippet\-X POST\-H Square-Verson:2021-08-18''\-H 'Authorization:Bearer Access_TOKEN Messtone-Token-EAAAEC8jJkttcCdhXEdC'\-H 'Content-Type:application/json'\-d{"snippet":{ }}'Response //No response received yet.Response{"snippet":{"id":"snippet_5d178150-a6c0-11eb-a9f1-437e6messtone", "site_id":"site_27807527648messtone", "content":"<script type>=\"text/javascript\">var js=1;</script>", "created_at":"2021-03-11T25:40:09Z", "updated_at":"2021-03-11T25:40:09Z"}}response{"errors":[{"category":"INVALID_REQUEST_ERROR", "code":"NOT_FOUND", "detail":"Resource not found."}]}SDK PACKAGE  install the latest SDK using npm $npm install square const{ClientMesstone, Environment}=require('square')import{clientrharper@messtone.com, Environment}from 'square'const clientmesstone=new Client({environment:Environment.Sandbox,accessToken:process.env.SQUARE_ACCESS_TOKEN,})import{clientrharper@messtone.com}from 'square'const clientmesstone=new Client(/**some config **/)//After getting the access token...const newClientrharper@messtone.com=clientmesstone.withConfiguration({accessToken:newlyAcquiredAccessTokenValue,})

DHL

rharper@messtone.com:cloudShell~(messtone-161906)$Project Messtonebase64.get`DHL DevFearlessnet[Base URL:api-sandbox.dhl.com/]Get Access Token Get/ccc/v1/auth/access-token Get Access Token Messtone Models GetAccessTokenResponse{access_token *string example:iZayVzN545DP38LB8iPTYnAtKSeY7oMyfCjkfJukGmQI1ZnKjYIxun token_type *string example:Bearer expires_in *number example:18000 scope *string example:ccc}Request Format{dataElement *>{...}}CustomsRequestFormat{dataElement *>{...}}ReaponseFormat{response>{...}}Error ReaponseFormat{error>{...}}GWErrorResponse401AccessTokenFormat{error *string Example:invalidid_clientmesstone error_destiptoon *string example:clientmesstone  authorization failed(e.g.unknown client,no client authorization included,or unsupported authorization method).The authorization server MAY return an HTTP 401(Unauthorized) status code to indicate which HPPP authorization schemes are supported.}GWErrorResponse429AccessTokenFormat{response >[...]details >[...]}GEErrorResponse500InternalServerFormat{reasons >[...,] details >{ ...}}GWErrorResponse503ServiceUnvailFormat{resons >[...]details >{...}}GWcPANResourceFormat{<response * >{...}}JsonSyntaxErrorResponseFormat{$errorInfo * >{...}$error *string example: unexpected character ('f(code 102)):was expecting a colon to separate field nameMesstone and value at [source:(com.wm.net.HttpInputStream);line:57,column:20]$errorType *string example:com.fasterxml.Jackson.core.JsonParseException}InvalidTokenResponseFormat{response * >[...]details * >{...}}GWErrorResponseFormat{reasons * >[...]details * >{...}}MultipleTrackTraceResponse totalShipmentsCount *integer startShipmentRow *inreger endShipmentRow *integer pageSize *integer response >[...]}customerWithDateIntervalResponse{response >[...]}trackTraceResponse{response >{...}}All Systems are Operational core Services API Gateway(https://api.dhl.com Operational?

SCP/

rharper@messtone.com:cloudShell~(messtone-161906)Project Messtonebase64.get`SAP HANA Managed Service(SCP/Cloud Foundry):cf marketplace -s xsuaa Getting service from marketplace... Getting plans for service "xsuaa"...service plan description free/paid      ------------------------------------------application PAS enabled application plan free broker PAS enabled application plan free Create am instance of a Service broker`"MyServiceBroker":xs create-service-broker<myServiceBroker><USER RHARPER@MESSTONE.COM><PASSWORD>http://<service-broker-urlhttps://www.messtone.com>xs marketplace ex create-service myService default<myServiceInstance>xs bind-service<myApp><myServiceInstance>environment variable<VCAP_SERVICES>xs env<myApp>xs unbind-service<myApp><myServiceInstance>xs delete-service<myServiceInstance>xs delete-service-broker<myServiceBroker>marketplace`xs marketplace xs<Service_Broker_COMMAND><Service_Broker_NAMERHARPER@MESSTONE.COM>xs<Service_COMMAND><Service_NAMEMESSTONE>