Dear all Github friends,
I moved this gist to the Github repository.
Following this repository https://github.com/nijicha/install_nodejs_and_yarn_homebrew
export const chaosTestStrings = (): void => { | |
const textNodes = getAllTextNodes(document.body); | |
for (const node of textNodes) { | |
const textNodeLength = node.textContent ? node.textContent.length : 0; | |
if (node.textContent === null) { | |
return; | |
} | |
if (node.parentElement instanceof Element) { | |
if (node.parentElement.dataset.originalText === undefined) { |
import * as admin from "firebase-admin" | |
import express from "express" | |
import sharp, { ResizeOptions, OutputOptions } from "sharp" | |
import fetch from "cross-fetch" | |
import FileType from "file-type" | |
import { parseQueryNumber, parseQueryString } from "../some/extra/util/functions" | |
import { Photo } from "../some/custom/types" | |
const router = express.Router() |
import * as path from "path"; | |
import * as zlib from "zlib"; | |
import { PassThrough } from "stream"; | |
import * as functions from "firebase-functions"; | |
import * as admin from "firebase-admin"; | |
import * as log from "firebase-functions/lib/logger"; | |
import * as sharp from "sharp"; | |
import { empty } from "ramda"; |
Dear all Github friends,
I moved this gist to the Github repository.
Following this repository https://github.com/nijicha/install_nodejs_and_yarn_homebrew
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |