Skip to content

Instantly share code, notes, and snippets.

@tcope25
tcope25 / discover-titles.csv
Last active October 23, 2023 20:00
Google Discover Title/H1/Schema Stats
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 5 columns, instead of 1. in line 4.
URL,Page Title,H1 Headline,Schema headline,Used in Discover
https://www.seriouseats.com/best-home-coffee-roasters-7970613,"The Best Home Coffee Roasters of 2023, Tested and Reviewed",We Went Through More Than 5 Pounds of Beans Testing At-Home Coffee Roasters,We Went Through More Than 5 Pounds of Beans Testing At-Home Coffee Roasters,H1
https://www.npr.org/sections/health-shots/2023/10/17/1206283813/red-dye-food-products-fda-ban,Red dye 3 appears in many foods kids eat. Consumer advocates want FDA to ban it : Shots - Health News : NPR,FDA faces pressure to act nationwide on red dye in food,FDA faces pressure to act nationwide on red dye in food,Page title
https://www.kentucky.com/news/state/kentucky/article280609359.html,"Where copperheads, snakes go in the winter. Tips to keep away | Lexington Herald Leader","Where do KY’s copperheads, other snakes go in the winter? You’ll want to clean your yard","Where do KY’s copperheads, other snakes go in the winter? You’ll want to clean your yard",H1
https://www.usatoda
@tcope25
tcope25 / parse.py
Created September 27, 2023 16:38
python script to get mediavine travel bloggers
import urllib.request, json, csv
sellers = urllib.request.urlopen("https://www.mediavine.com/sellers.json")
data = json.load(sellers)
csv_file = "domains.csv"
sites = []
@tcope25
tcope25 / sellers.json
Created September 27, 2023 16:19
Mediavine travel bloggers
thetravelpockets.com
treasuredfamilytravels.com
we3travel.com
timetravelturtle.com
traveltoblank.com
travellingthirties.com
pointsandtravel.com
solofemaletravelers.club
ladystravelblog.com
francetravelblog.com
@tcope25
tcope25 / sellers.json
Created September 27, 2023 15:56
Mediavine list
mediavine.com
extremecouponingmom.ca
sociomix.com
gloryofthesnow.com
easysewingforbeginners.com
ihearteating.com
livforcake.com
wild-bird-watching.com
theflavorbender.com
backtodefault.com
state harvests
Alabama 272731
Alaska 17678
Arizona 14248
Arkansas 181064
California 31986
Colorado 40561
Connecticut 8971
Delaware 15383
Florida 74098
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am tcope25 on github.
  • I am treycopeland (https://keybase.io/treycopeland) on keybase.
  • I have a public key ASB_jotpZyJBckyj4bQqspFsskCvzTzspPr8dWB9q68X7Ao

To claim this, I am signing this object:

@tcope25
tcope25 / easy-nextjs-sitemap
Created September 27, 2022 19:55
Easy NextJS sitemap using GraphQL
import { GraphQLClient, gql } from 'graphql-request'
const graphQLClient = new GraphQLClient('https://graphql.us.fauna.com/graphql', {
headers: {
authorization: `Bearer ${process.env.FAUNA_ADMIN_KEY}`,
},
})
const Sitemap = () => {
Date: Tuesday, March 10, 2020
Contact: Kim Flora, Barren River District Health Department, 270-781-8039
Title: Novel Coronavirus Update
The Kentucky Department for Public Health and Barren River District Health Department are actively monitoring the COVID-19 situation, in which there are no confirmed cases in the Barren River area. At his time we are encouraging residents to not panic, but to be prepared and use prevention techniques for respiratory viruses.
The current risk of COVID-19 to the general public is low. However, the rate of exposure to flu is widespread. The following prevention techniques for flu and COVID-19 are similar.
Wash your hands often with soap and water for at least 20 seconds. If soap and water are not available, use an alcohol based hand sanitizer
{% if todayProjects is not null %}
{% for project in todayProjects %}
{% include 'projects/block-project.twig' with { 'project': project } %}
{% endfor %}
{% endif %}