Skip to content

Instantly share code, notes, and snippets.

Avatar
🍕
OSS on my mind

Tylor Steinberger TylorS

🍕
OSS on my mind
View GitHub Profile
View prerender.io cleanup
var cleanUp = {
domains: [],
getDomains: async function() {
let results = null;
let page = 0
do {
const response = await fetch(`https://prerender.io/api/cached-pages?page=${page}&pageSize=1000`);
const json = await response.json();
@axefrog
axefrog / preprocessor.js
Created Feb 26, 2017
Simple DEV vs PROD preprocessor for JS and TS source code
View preprocessor.js
/*
Preprocessor Directives
=======================
// --- OMIT A SINGLE LINE ----------------------------------------------------
log("This line will be excluded from the build"); // ## DEV ##
// --- OMIT A WHOLE BLOCK ----------------------------------------------------
View releasing.md
git checkout master
git fetch origin
git pull origin master
git checkout develop
git merge master
git checkout master
git merge --no-ff develop
git push origin master
npm start