Skip to content

Instantly share code, notes, and snippets.

View aarchbold's full-sized avatar

Andrew Archbold aarchbold

  • Quietly
  • Vancouver BC
View GitHub Profile
@aarchbold
aarchbold / metadata.js
Created June 24, 2022 20:06
Love Jules NFT MetaData object
[{
"description": "12 years later... we found ourselves at a crossroads. To mark and celebrate the next chapter, we released our very first limited run NFT. The 50 folks who chose to support us through this foundational project shall forever have first dibs on each and every limited run release, as well as a lifetime 10% discunt on all future purchases. Family. First. Forever.",
"external_url": "https://ipfs.ethosnft.com/lovejules/2010-nfth-50-00.png",
"image": "https://gateway.pinata.cloud/ipfs/Qmbg1bK97TtVEFCWQxwS1wS6RufCWdNjSi2T84uCV4dgZB/2010-nfth-50-00.png",
"name": "Love Jules Leather: 2010 NON FUNGIBLE TIGER HEAD",
"serial_number": "2010.NFTH.50.00"
}, {
"description": "12 years later... we found ourselves at a crossroads. To mark and celebrate the next chapter, we released our very first limited run NFT. The 50 folks who chose to support us through this foundational project shall forever have first dibs on each and every limited run release, as well as a lifetime 10% discunt on all future purc
@aarchbold
aarchbold / Quietly Code
Created August 23, 2021 17:16
Snippet for installing the quietly code
<script>
!function(t,e,a,c,x){var s='q';t[s]={publication_id:c,tags:x};
var s=e.createElement(a),r=e.getElementsByTagName(a)[0];s.async=1,s.src=
'https://insights.quiet.ly/app/analytics.min.js',r.parentNode.insertBefore(s,r)}
(window,document,'script','234531cf-f7bf-4fc5-a64d-b52c4a7e0d42','[]');
</script>
@aarchbold
aarchbold / contact_us.html
Created April 13, 2021 00:14
dell contact us
<html>
<head>
<style>
body {
color: #5e5e5e;
margin-top: 25px;
font: 14px "Roboto Regular", sans-serif;
}
.contact-container {
@aarchbold
aarchbold / views.js
Created March 23, 2021 16:48
Scraping Robot Node function
exports.get_google_scrapes = async function (req, res, next) {
const token = process.env.SCRAPING_ROBOT_API_KEY;
const url = 'https://api.scrapingrobot.com?token=' + token;
const topic = req.query.topic;
const payload = {
"url": "https://www.google.com",
"module": "GoogleSearchScraper",
"params": {
"query":topic,
"version": "desktop",
@aarchbold
aarchbold / gist:a24f16bcc6a645851fae628e2f182f6c
Created July 31, 2020 18:18
http://localhost:7442/api/v1/recommendation?propertyId=47931f69-139f-4ea6-ba5d-f1ee007754b1
{
"topics": [
{
"name": "Internet properties",
"metrics": [
{
"name": "keyword",
"value": "high ranking",
"statement: "Because this keyword was blah blah bla"
},
@aarchbold
aarchbold / keywords.js
Created May 29, 2020 00:46
Sample payload for the keyword categorizer
{
"keywords": ["mortgage calculator", "loan calculator", "tax calculator", "mortgage calculator canada", "mortgage payment calculator", "compound interest calculator", "interest calculator", "financial calculator", "rrsp calculator", "calculator app", "tax calculator canada", "cpp calculator", "investment calculator", "auto loan calculator", "child tax calculator", "loan payment calculator", "tfsa calculator", "savings calculator", "interest rate calculator", "debt repayment calculator", "loan calculator canada", "loan interest calculator", "debt calculator", "severance pay calculator", "resp calculator", "mortgage interest calculator", "money calculator", "ontario mortgage calculator", "daily interest calculator", "revenue canada", "equifax canada", "canada savings bonds", "apple pay canada", "mortgage calculator canada", "canada student loans", "income tax canada", "student loans canada", "canada tax", "tax calculator canada", "interest rates canada", "taxes canada", "cpp canada", "loans canada", "canada s
@aarchbold
aarchbold / Industries
Created May 28, 2020 23:48
A list of industries
export const AllCategories = {
"children": [{
"children": [{
"name": "Celebrities \u0026 Entertainment News",
"id": 184
}, {
"children": [{
"name": "Animated Films",
"id": 1104
}, {
@aarchbold
aarchbold / analysis-api.json
Created April 30, 2020 22:20
A sample response to a query using Crimson Hexagon's Analysis API
{
"resultId": 4249597151,
"status": "DONE",
"analysis": {
"sentiment": {
"positive": {
"proportion": 0.2575,
"count": 110673
},
"neutral": {
@aarchbold
aarchbold / headline-templates.json
Created April 28, 2020 22:22
A sample file of our headline templates
{
"/food/dish": [
"Have leftover %s? Try these # recipes",
"Where to find the best %s in town"
],
"/food/food": [
"The ultimate guide to making amazing %s",
"# easy dishes to make with %s"
],
"/food/ingredient": [
@aarchbold
aarchbold / moz-url-metrics.json
Created April 21, 2020 21:12
Sample of the JSON response from the moz url metrics endpoint
{
"results": [{
"page": "insights.quiet.ly/",
"subdomain": "insights.quiet.ly",
"root_domain": "quiet.ly",
"title": "Quietly Insights | Understand and Deliver Better Content Marketing",
"last_crawled": "2020-03-29",
"http_code": 200,
"pages_to_page": 340,
"nofollow_pages_to_page": 1,