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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"math/rand" | |
"os" | |
"time" | |
"github.com/icrowley/fake" |
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
<template> | |
<v-container fluid> | |
Hello heatmap {{year}} | |
<div class="calender-map"> | |
<!-- <div> --> | |
<svg width="100%" data-height="0.5678" class="RdYlGn" viewBox="0 0 900 105"> | |
<g transform="translate(132,20)"> | |
<text transform="translate(-38,42)rotate(-90)" style="text-anchor: middle; fill: white;">{{year}}</text> | |
<text class="dow" v-for="d in 7" :transform="getDayTranslations(d)" dy="-.25em">{{dayNames[d-1]}}</text> |
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
x = list('A'=NULL, 'B'=NULL, 'C'=NULL, 'D'=NULL) | |
y = list('B'=100, 'D'=20) | |
z = vector('list',length(x)) | |
need z to look like this | |
z=(null,list(list(search='100')),null, list(list(search='20'))) |