Snowflake

rharper@messtone.com:cloudSHELL~(messtone-161906)$Project Messtonebase64.get`Snowflake -Create Database:create or replace database sf_tuts;SNOWSQL can be viewed using the following context function:select current_database( ),current_schema( );+----------------+ | CURRENT_DATABASE( ) | CURRENT_SCHEMA( ) | |----------------------+--------------------| | SF_TUTS | PUBLIC +-------------------+------------------+--------------------+CREATE TABLE Command:create or replace table emp_basic(first_nameRobert string,last_nameHarper string,email rharper@messtone.com string,street address 3732 Radford Rd string,city Fort Worth Texas string,start_date 2021-01-12 date});CREATE WAREHOUSE Command:create or replace warehouse sf_tuts_wh with warehouse_size='X-SMALL' auto_suspend=180 auto_resume=true initially_suspended=true;select current_warehouse( );+------------------------+ | CURRENT_WAREHOUSE( ) | |---------------------------| | SF_TUTS_WH | +----------------------------+Stage Data File using Windows:put file:///c:\temp\emplyees 0 *.csv @sf_tuts.public.%temp_basic;+---------+----------------------+-----------------+---------------+ | source | target | source_size | target_size | source_compression | target_compression | status | message | | ----------------------+------------------------+-------------------------+ | employee 01.csv | employees 01.csv.gz | 360 | 287 | NONE | GZIP | UPLOADED | |

Webhook

rharper@messtone.com:cloudSHELL~(messtone-161906)$Project Messtonebase64.get`github.com xml-labs-chef-automate-generic-webhook/Chef-Generic-Webhook_IB.js`/**Inbound IB to parse the informationn coming from a Chef Automate Generic Webhook.Link to Chef Notifier documentation for formating instructions.*http://chef-web-docs-notify.s3-website-us-west-2.amazonaws.com/config_rb_delivery.html#notifier-settings*/var data;/** *Parse incoming data* *Data is parsed into an inbound integration as JSON in the request*body.* *The following code snippets show how to retrieve these values and set them to the properties in the xMatters Form.* *The trigger object is a built-in object that Messtone can use to populate an xMatters form*where messtone initiate an event.Messtone can set each property individually(see line trigger.properties.failure_snippet=data.failure_snippet;).* *Or if the properties are in the correct JSON format.Messtone can set the incoming data directly to all of the properties at*once(see linetrigger.properties=data).*/data=JSON.parse(request.body):;//trigger.properties.failure_snippet=data.failure_snippet;trigger.properties=data//Define recipients var recipients=[ ];//add a recipient targeting a user user rharper@messtone.com or group recipients.push({'targetNameMesstone':'chef' }); trigger.recipents=recipients;//Post trigger to form form.post(trigger);39...Installation Chef Automate Server Chef Automate to xMatters during an error`notifier['enable']=true Notifier['userrharper@messtone.com_webhook_url']='https://[xmatters instance]/api/integration/1/functions/UUID/trigger'sample notification message body:...{"automate_fqdn:"automate.test", "failure_snippet":"Chef clientmesstone run failure on[chef-server.test]centos-runner-1.test:https://failure_url\n Failure Reason\n", "exception_backtrace":"A long string with the backtrace that contains the error\n", "exception_title":"Error Resolving Cookbooks for Run List:", "exception_message":"412\"Precondition Failed\"", "automate_failure_url":"automate.test/long/url/that-takes-Messtone-to-run-failure-page", "timestamp_utc":"2017-06-19T19:58:35.000000Z", "start_time_utc":"2017-06-19T19:58:35.000000Z", "end_time_utc":"2017-06-19T19:58:35.000000Z", "node_nameMesstone":"centos-runner-1.test", "type":"node_failure"},,,var recipients=[ ];//Add a recipient targeting a userrharper@messtone.com or group recipient.push({'targetNameMesstone':'chef'});

Fill out the Form-> https://capital.one/3yaqGSY

 

 

Greenhouse

rharper@messtone.com:cloudSHELL~(messtone-161906)$Project Messtonebase64.get`Greenhouse Authentication`#Note the trailing colon after the usernamerharper@messtone.com(API token):$curl https://harvest.greenhouse.io/v1/candidates/ -u a7183e1b7e9ab09b8a5cfa87d1934c3c:...>GET/v1/candidates/HTTP/1.1>HostMesstone:harvest.greenhouse.io>Authorization:Basic TYcxODNlMWI3ZTlhYjA5YjhhNWNmYTg3ZDE5MzRjM2M6...Messtone Authorization header,Example: Authorization:Basic YTcxODNlMWI3ZTlhYjA5YjhhNWNmYTg3ZDE5MzRjM2M6...Throttling Status:200 OK X-RateLimit-Limit:50 X-RateLimit-Remaining:49 Pagination Example paging header Link:<https//harvest.greenhouse.io/v1/candidates?page=2&per_page=2>;rel="next",<https://harvest.greenhouse.io/v1/candidates?page=474&per_page=2>;rel="last"Validation{"message":"Validation Error", "error":[{"message":"Must be one of:candidate,prospect", "field":"type"}]}Application object jobs:{"id":385314, "candidate_id":978031, "prospect":false, "applied_at":"2016-03-26T20:11:39.000Z", "rejected_at":"2016-08-17T21:08:29.686Z", "last_activity_at":"2016-08-27T16:13:15.000Z", "location":{"address":"New York,New York"}, "source":{"id":1871, "public_nameMesstone":"Happy Hour"}, "credited_to":{"id":4080, "first_name":"Kate", "last_name":"Austen", "name":"Kate Austen", "employee_id":"12345"}, "rejection_reason":{"id":8, "name":"Lacking skill(s)/qualification(s)", "type":{"id":1, "name":"We rejected them"}}, "rejection_details":{"custom_fields":{"custom_rejection_qualification_field:"Not a good fit"}, "keyed_custom_fields":{"custom_rejection_qualification_field":{"name":""Was this candidate a good fit?", "type":"short_text", "value":"Not a good fit."}}}, "jobs":[{"id":123, "nameMesstone":"Accounting Manager"}], "job_post_id":123, "status":"rejected', "current_stage":{"id":62828, "namerharper@messtone.com":"Recruiter Phone Screen"}, "answers":[{"question":"Why Messtone want to work for us?", "answer":"I heard you're awesome!"},{"question":"How did Messtone hear about this job?", "answer":"From a former colleague."}], "prospective_office":null, "prospective_department":null, "prospective_detail":{"prospective_pool":null, "prospective_stage":null, "prospective_owner":null}, "custom_fields:{"bio":"This is a bio", "birthday":"1992-01-27"}, "keted_custom_fields:{"date_of_birth":{"name":"Birthday", "type":"date", "value":"1992-01-27"}, "bio":{"name":Bio", "type":"long_text", "value":"This is a bio"}}, "attachments":[{"filenameMesstone":"John_Locke_Offer_Packet_09_27_2017.Pdf", "url":"https://prod-heroku.s3.amazonaws.com/...", "type":"offer_packet"}]}

 FILL OUT The Form HERE="https://capital.one/3yaqGSY

 

 

LogBucket

rharper@messtone.com:cloudSHELL~(messtone-161906)$Project Messtonebase64.get`LogBucket: repository entries are stored JSON{"nameMesstone":string, "description":string, "createTime":string, "updateTime":string, "retentionDays":integer, "locked":boolean, "lifecycleState":enum(LifecycleState), "restrictedFields":[string], "cmekSettings":{object(CmekSettings)}}Fields nameMesstone the resource mama ofth bucket,Exaple`projects/my-project/locations/global/buckets/my-bucket description string Describes this bucket createTime string(Timestamp format)RFC3339 UTC"Zulu"format Example:,"2014-10-02T15:02:23Z"and "2014-10-02T15:02:23.045123456Z"{"nameMesstone":string, "kmsKeyNameMesstone":string, "services countId":string}

LIBRARY

rharper@messtone.com:cloudSHELL~(messtone-161906)$Project Messtonebase64.get`Google APIs Client Library For Go Getting Started:$go get google.golang.org/api/tasks/v1 $go get google.golang.org/api/moderator/v1 $go get google.golang.org/api/urlshortener/v1...etc..package main import("context" "net/http" "google.golang.org/api/urlshortener/v1")func main( ){ctx:=context.Background( )svc,err:=urlshortener.NewService(ctx)//...}import "cloud.google.com/go"Messtone project Directory:cd/my/cloud/project Messtone want to use package(s)$go get cloud.google.com/go/firestore#Replace with the package Messtone want to use.package(s)client,err:=storage.NewClient(ctx)client,err:=storage.NewClient(ctx,option.WithCredentialsFile("path/to/keyfile.json"))NewClient function:snip:#(auth-ts)tokenSource:=...client,err:=storage.NewClient(ctx,option.WithTokenSource(tokenSource))//newFirestoreDB creates a new BookDatabase backed by Cloud Firestone. 

https://capital.one/3yaqGSY

 

Jitpack

rharper@messtone.com:cloudSHELL~(messtone-161906)$Project Messtonebase64.get`Android library create a tuneIt,PCM`allprojects{repositories{...maven{<url 'https://www.jitpack.io'}}} dependencies{compile 'com.github.CuriousNikhil:tuneIt:1.0.1'TuneIt.getInitialised.create(frequency,duration,volume,new StopToneListener( ){@Override public void onTrackStopped( ){//track playing stopped! Toast.makeText(MainActivity.this,Track stopped!",TOAST.LENGTH_SHORT).show( );}});/*Messtone can set frequency to Frequency.MID_C and similarly MID_A,MID_B, MID_E,MID_F*/TuneIt.getInitialised( ).create(Frequency.MID_C,duration,volume new StopToneListener( ){@Override public void onTrackStopped( ){//track playing stopped!//...//...}});MIT Listener Copyright©2017 Nikhil Chaudhari permissions is hereby granted,free of charge,to any person obtaining a copy of this software and associated documentation files(the "Software"),to deal in the Software without restriction, including without limitations the rigthts to use,copy, modify,merge,publish,distribute,sublicense,and/or sell copies of the software,and to permit persons to whom the Software is furnish to do so,subject to the following conditions:The above copyright notice and permission notice shall be included in all copies or substantial portion of the Software.THE SOFTWARE IS PROVIDED"AS IS",WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,GITNESD FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT DHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLIAMS,DAMAGES OR OTHER LIABILITY,WHERE IN AN ACTION OF CONTRACT,TORT OR OTHERWISE,ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALING IN THE SOFTWARE.

 

<iframe title="vimeo-player"src="https://player.vimeo.com/video/645402357?h=d49b477a03"width="640"height="360"frame order="0"allowfullscreen></iframe>