This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#standardSQL | |
# Gatsby Core Web Vitals performance | |
CREATE TEMP FUNCTION IS_GOOD (good FLOAT64, needs_improvement FLOAT64, poor FLOAT64) RETURNS BOOL AS ( | |
good / (good + needs_improvement + poor) >= 0.75 | |
); | |
CREATE TEMP FUNCTION IS_NON_ZERO (good FLOAT64, needs_improvement FLOAT64, poor FLOAT64) RETURNS BOOL AS ( | |
good + needs_improvement + poor > 0 | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let last_known_version = "1.2.2"; | |
const api_root = "https://XXX.workers.dev/version/"; | |
const x86_64_apple_darwin = api_root + "x86_64-apple-darwin"; | |
const x86_64_unknown_linux_gnu = api_root + "x86_64-unknown-linux-gnu"; | |
const x86_64_pc_windows_msvc = api_root + "x86_64-pc-windows-msvc"; | |
const re_x86_64_apple_darwin = /href="\/denoland\/deno\/releases\/download\/v(.*?)\/deno-x86_64-apple-darwin.zip"/; | |
const re_x86_64_unknown_linux_gnu = /href="\/denoland\/deno\/releases\/download\/v(.*?)\/deno-x86_64-unknown-linux-gnu.zip"/; | |
const re_x86_64_pc_windows_msvc = /href="\/denoland\/deno\/releases\/download\/v(.*?)\/deno-x86_64-pc-windows-msvc.zip"/; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//serpApiKey from serpapi.com | |
var GLOBAL_VARIABLES = { | |
serpApiKey : "add your api key" | |
} | |
/* | |
/*************************** | |
/BEGIN PRESENTATION SCRIPTS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote prune origin | |
git branch -r --merged master | egrep -iv '(master|develop)' | sed 's/origin\///g' | xargs -n 1 git push --delete origin |