Skip to content

Instantly share code, notes, and snippets.

View heyfletch's full-sized avatar
🏠
Working from home

Joe Fletcher heyfletch

🏠
Working from home
View GitHub Profile
/*
*
* Start of disabling Search Functionality, in case the request blocker is not active
*
* see also: https://instance-factory.com/?p=1706#disableSearch
*/
function ifb_filter_query($query)
{
if (is_search()) {
@nntrn
nntrn / espn-api-list.md
Last active April 15, 2025 08:57
List of nfl api endpoints from espn

List of NFL API Endpoints

This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:

:root {
--body-font-family: Sequel Sans, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
--heading-font-family: Sequel Sans, Times New Roman, Times, Times CY;
--heading-font-weight: 500;
--scale-factor-xs: 0.5;
--scale-factor-sm: 0.75;
--scale-factor-md: 0.8;
--scale-factor-lg: 1;
--scale-factor-xl: 1;
--vertical-margin-xs: 0.5rem;
<?php
/**
* @package elementor-extend.php
* @subpackage datdev
* @author Exemplifi
* @created 29/10/20 - 6:30 PM
* @license Creative Commons 3.0 Attribution
* @licenseurl https://creativecommons.org/licenses/by/3.0/us/
* @desc Enter description
* @link http://www.dat.com
//
// Package Name: DAT
// Package URI: https://www.dat.com
// Subpackage: Stylesheet
// Author: Exemplifi
// Author URI: https://www.dat.com
// Description: Elementor fixes
// Version: 1.0
// License: Creative Commons 3.0 Attribution
// License URI: https://creativecommons.org/licenses/by/3.0/us/
javascript:!function(){function e(e){return[{tag:"span",textContent:"People also ask"}].some(t=>{let{tag:r,textContent:o}=t,l=e.querySelector(`${r}:not([hidden])`);return l&&l.textContent.trim()===o})}let t=document.getElementById("rso"),r=document.querySelectorAll("em"),o={};r.forEach(t=>{let r=t.closest("#rso > div");if(r&&e(r))return;let l=t.textContent.trim().toLowerCase();if(l){let n=l.split(",").map(e=>e.trim());n.forEach(e=>{e&&(o[e]=(o[e]||0)+1)})}});let l=[["Bolded Terms","Count"]];for(let[n,i]of Object.entries(o))l.push([n,i]);let a=[["URL","Position","Title","Description","Terms","Count"]];if(t){let s=Array.from(t.children),c=0;s.forEach(t=>{var r;if(e(t)||!(r=t).querySelector("a[href]")&&!r.querySelector("h3"))return;c++;let o=t.querySelector("a[href]");if(!o)return;let l=o.href,n=t.querySelector("h3")?.textContent.trim()||"",i=t.querySelector(".kb0PBd > .VwiC3b > span:not(.LEwnzc)")?.textContent.trim()||"",s=t.querySelectorAll("em"),u={};s.forEach(e=>{let t=e.textContent.trim().toLowerCase();if(t