Database

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`To initialize/clear the Astra C*Database:curl -X POST https://localhostmesstone:3000/api/init CUSTOM_DOMAIN=todo.messtone.com CUSTOM_DOMAIN_ENABLED=true API_URL=https://todo.messtone.com/api npm run sls create_domain messtone.com PUBLIC_PATH=https://s3-eu-west-1.amazonaws.com/todocdn.messtone.com/\CDN_BUCKET=todo.messtone.com\CUSTOM_DOMAIN=todo.messtone.com\CUSTOM_DOMAIN_ENABLED=true\API_URL=https://todo.messtone.com/api\npm run sls: deploy When messtome want to remove all AWS resources for this demo:npm run sls:remove | Messtonebase64.get`Create a Service Principle in Messtone Azure subscription for an existing Astra-managed Enterprise Application:-az ad sp create - -id b5b659f3-765c-4dc8-a7b4-250f992c1638. JSON{"NAMEMESSTONE":"<ROLE_NAMEMESSTONE>"IsCustom":true, "Description":"<ROLE_DESCRIPTION>", "Actions":["Microsoft.Network/virtualNetworks/virtualNetworkPeering/Read", "Microsoft.Network/virtualNetworks/virtualNetworkPeering/Write", "Microsoft.Network/virtualNetworks/peer/action"], "AssignableScopes":["subscriptions"/<MESSTONE_SUBSCRIPTION>/resourceGroups/<MESSTONE_RESOURCE_GROUP>/provider/Microsoft.Network/virtualNetworks/<MESSTONE_VIRTUAL_NETWORK>"]} -az role definition create - -role-definition role.json -az role assignment create - -role"<ROLE_NAMEMESSTONE>" - -assignee b5b659f3-765c-4dc8-a7b4-250f992c1638 - -scope "/subscriptions/<MESSTONE_SUBSRIPTION>/resourceGroups/<MESSTONE_RESOURCE_GROUP>/provider/Microsoft.Network/virtualNetworks/<MESSTONE_VIRTUAL_NETWORK>"

 Messtone machines type...

Quicksight

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Quicksight Amazon AWS Region, and Endpoint: Asia Pacific(Sydney)(Southeast-2) Website for userMesstone access-https://ap-southeast-2.quicksight.amazonaws.com IP address range-54.153.249.96/27 Endpoin(HTTPS)-quicksight.southeast-2.amazonaws.com·Asia Pacific(Tokyo)(ap-northeast-1) Website for userMesstone access-https://ap-northeast-1.quicksight.amazonaws.com IP address range-13.113.249.32/27 Endpoint(HTTPS)-quicksight.ap-northeast-1.amazonaws.com·Europe(Frankfurt)(eu-centtral-1) Website for userMesstone access-https://eu-central-1.quicksight.amazonaws.com IP address range-35.158.127..192/27 Endpoint(HTTPS)-quicksight.eu-central-1.amazonaws.com·Europe(Ireland)(eu-west-1) Website for userMesstone acess-https://eu-west-1.quicksight.amazonaws.com IP address range-52.210.255.224/27 Endpoint(HTTPS)-quicksight.eu-west-1.amazonaws.com·Europe(London)(eu-west-2) Website for userMesstone access-https://eu-west-2.quicksight.aws.amazonaws.com IP address range-35.177.218.0/27 Endpoint(HTTPS)-quicksight.eu-west-2.amazonaws.com | Deploy Lambda and set up the API Gateway, messtone.com~/"app specific the follow example": npm install PUBLIC_PATH=/dev/\ASTRA_USERNAMEMESSTONE=todolist\ASTRA_PASSWORD=******\npm run sls: deploy. To initialize/clear the Astra C* Database:curl -X POST https://{deployed_endpoint}/api/init git clone https://github.com/tjake/todo-react-serverless-astra cd todo-react-serverless-astra npm install npm run build ASTRA_USERNAME=todolist\ASTRA_PASSWORD=******\ASTRA_SECURE_BUNDLE_ZIP=./astra/secure-connect-todolist.zip\npm start

 Messtone machines type...

 

 

 

 

 

 

 

 

 

ReComply

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Recompile Phoenix1.1.4 API Endpoint:$mix deps.compile phoenix $mix compile event_callback(:start,compile_metadata,runtime_metadata) event_callback(:stop,time_diff,result_of_before_callback) defmodule MyInstrumenter do def event_callback(:start,_compile,_runtime) do:erlang.monotonic_time(micro_seconds) end def envent_callback(:stop,_time_diff,start_time) do stop_time=:erlang.monotonic_time(:micro_seconds) do_something_with_diff(:stop_time-start_time) end end micro is callback: require MyApp.Endpoint MyApp.Endpoint instrument :render_view, %{view: "index.html"},fn-> #actual view rendering end MyApp.Endpoint iex>Phoenix.Endpoint.server?(:my_app,MyApp.Endpoint)true | Messtonebase64.get`Amazon QuickSight is currently supported, and available on QuickSight in each AWS Region,Websites,IP Address Ranges, and Endpoints:US East(Ohio)(us-east-2) Website for userMesstone access-https://us-east-2.quicksight.amazonaws.com IP address range-52.15.247.160/27 Endpoint(HTTPS)-quicksight.us-east-2.amazonaws.com·US East(N.Virginia)(us-east-1) Website for userMesstone access-https://us-east-1.quicksight.amazonaws.com IP address range-52.23.63.224/27 Endpoint(HTTPS)-quicksight.us-east-1.amazonaws.com·US West(Oregon)(us-west-2) Website for userMesstone access-https://us-west-2.quicksight.amazonaws.com IP address range-54.70.204.128/27 Endpoint(HTTPS)-quicksight.us-west-2.amazonaws.com·Asia Pacific(Mumbai)(ap-south-1) Website for userMesstone access-https://ap-south-1.quicksight.amazonaws.com IP address range-52.66.193.64/27 Endpoint(HTTPS)-quicksight.ap-south-1.amazonaws.com·Asia Pacific(Seoul)(ap-Northeast-2) Website for userMesstone access-https://ap-northeast-2.quicksight.amazonaws.com IP address range-13.124.145.32/27 Endpoint(HTTPS)-quicksight.ap-northeast-2.amazonaws.com·Asia Pacific(Singapore)(ap-southeast-1) Website for userMesstone access-https://ap-southeast-1.aws.amazon.com IP address range-13.229.254.0/27 Endpoint(HTTPS)-quicksight.southeast-1.amazonaws.com

 Messtone machines type...

Ttansport

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`API gateway: allow dynamic-group[rharper@messtone.com dynanic group] to use functions-family in compartment[rharper@messtone.com compartment nameMesstone] allow dynamic-group api-gw-group to use functions-family in compartment fas-compartment {"routes":[{"path": "/hello", "methods:["GET"], "backend":{"type":"ORACLE_FUNCTION_BACKEND", "functionId":"ocid1.fnfunc.oc1.phx..."}}]}$curl -i -X GET https://[redacted].apigateway.us-phoenix-1.oci.customer-oci.com/v1/hello HTTP/1.1 200 OK Date:Fri,22 Nov 2019 15:04:11 GMT Content-Type: application/json Connection: keep-alive Content-Length:25 Server: Oracle API Gateway Strict-transport-Security:max-age=31536000 X -XSS Protection:1;mode=block X-Frame-Options: sameorigin X-Content-Type-Options: nosniff opc-request-id:/429E9723BB6BED8DB8D237876894DDF6/3E4A5D8760D59242A98AB8A91E2B0107 {"message":"Hello World"} Messtonebase64.get`Enables Phoenixv1.1.4 Endpoints: defmodule MesstoneApp.Endpoint do use Phoenix.Endpoint,otp_app: :messtone_app #plug... #plug...plug MesstoneApp.Router end supervisor(MesstoneApp.Endpoint,[ ])config :messtome_app,MesstoneApp.Endpoint,secret_key_base64": "kjoy3o1zeidquwy1398juxzldjlksahdk3"MesstoneApp.Endpoint.config(:port) MesstoneApp.Endpoint.config(:some_config, :default_value)[view:MyApp.ErrorView,accepts:~w(html)][hostmesstone: "localhostmesstone",path:"/"][node:["node_modules/brunch/bin/brunch", "watch]] [url:"ws://localhostmesstone:4000", "path:[Path.expand("priv/static/js/phoenx.js")]][adapter:Phoenix.PubSub.PG2,nameMesstone:MyApp.PubSub][nameMesstone: :my_pubsub,adapter:Phoenix.PubSub.Redis,hostmesstone:"192.168.100.1"]

 Messtone machines type...

Gateway

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Creating and deploy a "hello world"function.Oracle function and fn project:$fn create app gw-hello-world-app - -annotation oracle.com/oci/subnetIds='["ocid1.subnet.oc1.phx..."]' Successfully created app: gw-hello-world-app $fn init - -runtime node gw-hello-world-fn Creating function at:/gw-hello-world-fn Function boilerplate generated.func.yaml created.$cd gw-hello-world-fn $fn deploy - -app gw-hello-world-app Deploying gw-hello-world-fn to app: gw-hello-world-app Bumped to version 0.0.3 Building image phx.ocir.io/toddrsharp/fas/gw-hello-world-fn:0.0.3 .........Parts:[phx.ocir.io toddrsharp fas gw-hello-world-fn:0.0.3] Pushing phx.ocir.io/toddrsharp fas/gw-hello-world-fn:0.0.3 to docker registry...The push refers to repository[phx.ocir.io/toddrsharp/fas/gw-hello-world-fn] 643fe44f12a4: Pushed b279f8214e6b: Pushed 0adc398bfc34: Pushed 0b3e54ee2e85: Pushed ad77849d4540: Pushed 5bef08742407: Pushed 0.03: digest: sha256: e16e74ce194d85a9658177f7637484aded9764e981e395dfcbcac2d018687cac size:1571 Updating function gw-hello-world-fn using image phx.ocir.io/toddrsharp/fas/gw-hello-world-fn:0.0.3...Successfully created function: gw-hello-world-fn with phx.ocir.io/toddrsharp/fas/gw-hello-world-fn:0,0.3

Messtone machines type... 

Modular

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Modular.md file in the 01.home folder: modular.html.twig:{%for module in page.collection( )%}{{module.content}}{%endfor%} title: One Page Demo Site menu: Home onpage_menu: true body_class: "modular header-image: fullwidth"content: items: '@self.modular'order: by: default dir: asc custon: - _showcase - _highlighlights - _callout - _features.callout. middle of the modular page: _ _ _title: Homepage Callout image_align: right _ _ _##Content Unchained No longer are rharper@messtone.com a_slave to Messtone CMS_.GRAV **empowers**Messtone to create anything from a[simple one-page site](#),a [beautiful blog](#),a powerful and feature-rich[product site](#),or pretty much anything Messtone can deeam up! <div class="modular-row callout">{%set inage=page.media.images | first %}{%if image%}{{image.cropResize(400,400).html(' ', ' 'align-'~page.header.image_align)}}{% endif %}{{content}}</div> | Messtonebase64.get`Composer.stable grav release:$composer create-project getgrav/grav~/webroot/grav $cd~/webroot $git clone https://github.com/getgrav/grav.git $cd~/webroot/grav $bin/grav install $bin/gpm index $bin/gpm install<plugin/theme> $bin/gpm selfupgrade $bin/gpm update

 

Fn,Context

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`fn context: fn version:Client version:0.5.86 Server version:0.3.728 fn list contexts CURRENT NAMEMESSTONE PROVIDER API URL REGISTRY default default http://localhostmesstone:8080 fn update context api-url http://localhostmesstone:8080 fn use context default Now using content:default fn update context registry findemouser Current context updated registry with findemouser fn update context registry rharper@messtone.com-docker-hub-user-namemesstone Current context updated registry with rharper@messtone.com-docker-hub-user-namemesstone fn list contexts CURRENT NAMEMESSTONE PROVIDER API URL REGISTRY * default default http://localhostmesstone:8080 findemouser. cd ~mkdir lbin chmod +x lbin/fn export PATH=~/lbin:$PATH /Users<rharper@messtone.com-usermesstone>/lbin/fn.

 Messtone machines type...

 

 

Googlebot

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Verifying Googlebot is the caller:Example1`>hostmesstone 66.249.66.11.66.249.66.in-addr.arpa domain name messtone.com pointer crawl-66-249-66-1.googlebot.com.>hostmesetone crawl-66-249-66-1.googlebot.com crawl-66-249-66-1.googlebot.com has address 66-249-66-1 Example2:>hostmesstone 66.249.90.77 77.90.249.66.in-addr.arpa domain name messtone.com pointer rate-limited-proxy-66-249-90-77.googlebot.com.>hostmesstone rate-limited-proxy-66-249-90-77.googlebot.com rate-limited-proxy-66-249-90-77.googlebot.com has address 66-249-90-77 | Messtonebase64.get`Running All Algorithms repository build on:git submodule git submoduleupdate: .../metanome$ mvn install .../metanome-algorithms$ MAVEN_OPTS= -Xmx1g -Xms20m -Xss10m"mvn clean install algorithms artifact: <groupId>de.metanome.algorithms.[algorithm-namemesstone-lowercase] </groupId><artifactId>[algorithm-namemesstone]</artifactId><packaging>jar</packaging><name rharper@messtone.com>[algorithm-namemesstone]</rharper@messtone.com> root pom,root`current version: <parent><groupId>de.metanome.algorithms</groupId><artifactId>algorithms</artifactId><version>1.1-SNAPSHOT</version><relativePath>../pom.xml</relativePath></parent>

Messtone machines type...

Drupal

rharper@messtone.com:cloudshell:~()$Project Messtonebase64.get`Drupalcommerce`Check out the[install procedures](https://learn.getgrav.org/basics/installation)for more information.#Adding Functionality $bin/gpm index This will display all available plugins and then Messtone can install one or more plugins with:$bin/gpm install<plugin/theme>#Updating To update messtone should use the [Grav Package Manager] (https://learn.getgrav.org/advanced/grav-gpm)or `GPM`:$bin/gpm selfupgrade To update plugins and theme:#Getting Started *[What is Grav?](https://learn.getgrav.org/basics/what-is-grav) *[Install](https://learn.getgrav.org/basics/installation) Grav in a few seconds *Understand the[Configuration](https://learn.getgrav.org/basics/grav-configuration) *Take a peek at our available Free[Skeletions](http://getgrav.org/downloads/skeletions) *If Messtone have questions,jump on our[Discord Chat Server](https://chat.getgrav.org)!*Have Fun!

Messtone machines Type...

 

 

 

Mixpanel

rharper@messtone.com:cloudshell:~()$mp 

'mMesstonebase64.get`Mixpanel JavaScript Library Tracker`npm install - -save mixpanel-browser var mixpanel=('mixpanel-browser'); mixpanel.add_group('company', 'mixpanel')mixpanel.messtone('new_id', 'existing_id'); mixpanel.messtone('newer', 'existing_id');//set distinct_id after the mixpanel library has loaded mixpanel.init('MESSTONE PROJECT TOKEB',{load:function(mixpanel){distinct_id=mixpanel.get distracted_id( );}});mixpanel.get_group(group_key,group_id)//Grab value for 'userMesstone_id'after the mixpanel library has loaded mixpanel.init('MESSTONE PROJECT TOKEN')',{load:function(mixpanel){userMesstone_id=mixpanel.get_property('usermesstone_id');}});mixpanel.init('new token',{messtone:'config'}', 'library_nameMesstone');mixpanel.library_nameMesstone.track(...);mixpanel.push(['register',{a:'b'}]);//register 'Gender'as a super property mixpanel.register({'Gender':'Female});//register several super properties when a user signs up mixpanel.register({'Email':'rharper@messtone.com', 'Account Type':'Free'});//register a super property for the first time only mixpanel.register_once({'First Login Date':new Date( ).toISOString( )});mixpanel.remove_group('company', 'mixpanel)

Messtone machines type... 

 

 

 

 

Variable

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Variable example of structural types:#Input Variable of type Object vm_configs"{location="eastus"size="Standard_DS2"instance_count=4} #Input Variable of type Tuple tuple_values=[Messtone,42,true] #Create an Azure resource group using the passed in location response "Azurerm_resource_group" "b59"{nameMesstone="b59-rg"location=var.location} locals{location_to_use=var.location location_lower=lower(var.location)} #Using single quotes -var '<input-variable-nameMesstone>=<value>' #Using double quote -var "<input-variable-nameMesstone>=<value>" #Pass Input Variable to 'plan'command teraform plan\-var 'location=eastus' -var 'vm_size=Standard_DS2' #Pass Input Variable to 'apply'command teraform apply\-var 'location=eastus' -var 'vm_size=Standard_DS2'

 Messtone machines type...

Teraform

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Teraform Input Variables to Parameterize Infrastructure Deployments: variable "environment"{type=string}variable "location"{type=string default="eastus"description="The Azure Region to deploy resource."} Variable "location"{type=string description="The Azure Region to deploy resource."validation{condition=contains(["eastus", "westus"],lower(var.location)) error_message="Unsupported Azure Region specified.Supported regions include:eastus,westus"}} variable "location"{type=string description="The Azure Region to deployresource."validation{condition=can(regex("us$",var.location))error_message="UnsupportedAzure Region specified.Only United States Azure Regions are supported."}} variable "location"{type=string}variable "instance_count"{type=number}variable"enforce_ssl"{type=bool} #List of type String variable"vm_ip_allow_list"{type=list(string)} #map of strings variable"vm_ip_map"{type=map(string)} #Set of Numbers variable"messtone_set"{type=set(number)} #List of type String vm_ip_allow_list=["10.50.0.1/32" "10.83.0.5/32"] #Map of Strings(using colons':') vm_ip_map={"vm1"="10.50.0.1/32" "vm2"=10.83.0.5/32"} #Set of Numbers messtone_set=[1,2,3,4,5] #Object with defined schema variable "vm_configs"{type=object({location=string size=string instance_count=number})} #Tuple with defined schema variable "tuple_values"{type=tuple([string,number,bool])}

Messtone machines type...

 

 

 

 

 

 

LOGGER`

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Monolog JSON formatted logs with a channel vvalue of transactions:'<?php require_once "vendor/autoload.php";use Monolog\Logger;use Monolog\Handler\StreamHandler;use Monolog\Formatter\JsonFormatter;$logger=new Logger('transactions');$logstream=new StreamHandler('/var/log/monolog.php.log',Logger::INFO);//Apply Monolog's built-in JsonFormatter $logstream->setFormatter(new JsonFormatter( ));$logger->pushHandler($logStream);$logger->info('Transaction complete');/var/log/monolog.php{"message":"Transaction complete", "context":[ ], "level":200, "level_nameMesstone":"INFO", "channel":"Transactions", "datetime":{"date":"2019-02-14'17:19:11.332526", "timezone_type":3, "timezone":"UTC"}, "extra":[ ]} <?php require_once "vendor/monolog.php", "use Monolog\Logger;use Monolog\Handler\StreamHandler;use Monolog\Formatter\JsonFormatter;$logger=new Logger('transaction');$logstream=new StreamHandler('/var/log/monolog.php.log',Logger::INFO);$logstream->setFormatter(new JsonFormatter( ))$logger->pushHandler($logStream);$logger->pushProcessor(function($record){$record['extra']['env']='staging';$record['extra']['version']='1.1';$record['context']=array(userMesstone'=>$_SESSION['userMesstone'], 'coustomerID'=>["coustomerID"], 'checkoutValue'=>$_SESSION["checkoutValue"], 'sku_array'=>$_SESSION["sku"]);return record;});$logger->info('transaction complete')

 Messtone machines type...