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
import GulpClient = require("gulp"); | |
import del from "del"; | |
import { dest, series, src, watch } from "gulp"; | |
import { appendText, prependText } from "gulp-append-prepend"; | |
import rename from "gulp-rename"; | |
import ts from "gulp-typescript"; | |
const DIST = "dist"; | |
const SOURCE = "src/*.ts"; |
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
const interleave = <T, U>(arr: T[], inserted: U) => { | |
let insertions = 0; | |
return arr.flatMap((val, idx) => { | |
const isEven = (idx + insertions) % 2; | |
if(isEven) insertions += 1; | |
return isEven ? [inserted, val] : val; | |
}); | |
} |
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
\documentclass[tikz]{standalone} % last update March 2016 | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\title{Moderator chart} | |
\begin{document} | |
\definecolor{rows}{rgb}{0.95,0.95,0.95} | |
\definecolor{myblue}{rgb}{0.1,0.3,0.9} | |
\definecolor{mypurple}{rgb}{0.5,0.3,0.7} | |
\begin{tikzpicture}[scale=0.5] | |
% 1 horizontal unit = 1 month, 0 = january 2010 |
OlderNewer