Skip to content

Instantly share code, notes, and snippets.

View anthonybudd's full-sized avatar

Anthony C. Budd anthonybudd

View GitHub Profile
echo "Hello World"
require('@shopify/shopify-api/adapters/node');
const { shopifyApi } = require('@shopify/shopify-api');
// UPDATE THESE VALUES
const SHOPIFY_CLIENT_ID = '';
const SHOPIFY_APP_HOSTNAME = '';
const SHOPIFY_CLIENT_SECRET = '';
const SHOPIFY_SESSION = {}; // Add shopify oAuth session here
const { data } = await axios.post(`/upload`, { });
const blob = new Blob([data], { type: 'application/pdf' });
const a = document.createElement('a');
a.href = window.URL.createObjectURL(blob);
a.download = "resume-with-metadata.pdf";
a.target = '_self';
document.body.appendChild(a);
a.click();
const Teleport = require('@ideea-inc/teleport-js');
const teleport = new Teleport('API_KEY');
teleport.create({
group_id: 'c0f37b77-d7e3-428d-953a-3ace386762be',
data: '{arbitrary: "string"}',
pickup_name: 'Anthony Budd',
pickup_phone: '512-xxx-xxx',
pickup_address_line_1: '300 Bowie Street',
const Teleport = require('@ideea-inc/teleport-js')
const teleport = new Teleport('API_KEY')
teleport.create({
group_id: 'c0f37b77-d7e3-428d-953a-3ace386762be',
data: '{arbitrary: "string"}',
pickup_name: 'Anthony Budd',
pickup_phone: '512-xxx-xxx',
pickup_address_line_1: '300 Bowie Street',
const Teleport = require('@ideea-inc/teleport-js')
const teleport = new Teleport('API_KEY')
teleport.create({
group_id: 'c0f37b77-d7e3-428d-953a-3ace386762be',
data: '{arbitrary: "string"}',
pickup_name: 'Anthony Budd',
pickup_phone: '512-xxx-xxx',
pickup_address_line_1: '300 Bowie Street',
if (typeof window.ethereum === 'undefined') {
this.$notify({
title: "window.ethereum is undefined. Have you installed MetaMask?",
type: 'error'
})
console.error('window.ethereum', typeof window.ethereum);
return;
}
ethereum.enable().then((accounts) => {
<template>
<div class="card card-profile text-center">
<img src="storage/images/header.jpg" class="card-img-top" alt="Header Image" />
<div class="card-block">
<img src="storage/images/machiavelli.png" class="card-profile-img" alt="Profile Image" />
<h4 class="card-title">
Niccolò Machiavelli
<small>Italian Diplomat</small>
</h4>
import bio from './components/bio'
export default [
{
path: '/',
name: 'bio',
component: bio,
}
]
const TPS = require('3ps-js');
var tps = new TPS('a2ba8bdf52b64f42e6ade726d50b669902d0ab964755c68d8ac2bb11ae022332');
var componentID = 'f16f83ca-31f1-49d0-add5-016cb251f3a5' // T-Rex
// var componentID = '84a4ce43-f145-45a6-8260-b96fc109fd85' // Skull
// var componentID = '945da150-79f7-4f07-bdbe-429e81b2e7cc' // Moai
var job = {
group_id: YOUR_GROUP_ID,