This file contains 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
use std::collections::VecDeque; | |
pub struct Preview<'a, T, I> | |
where | |
I: Iterator<Item = T> + 'static, | |
T: 'static, | |
{ | |
iter: &'a mut PreviewIterator<T, I>, | |
buffer: Vec<T>, | |
} |
This file contains 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
// delete all files in the uploads directory | |
const fs = require('fs'); | |
const path = require('path'); | |
// clear directories | |
const adaptiveCards = path.join(__dirname, '../bot/src/adaptiveCards'); | |
const cardActions = path.join(__dirname, '../bot/src/cardActions'); | |
const comamnds = path.join(__dirname, '../bot/src/commands'); | |
[adaptiveCards, cardActions, comamnds].forEach((dir) => { |
This file contains 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
<!-- found on https://jawbone.com/up --> | |
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="0"> | |
<symbol id="microsoft-store-badge" viewBox="0 0 210 72"><title>Microsoft Store badge</title><rect width="210" height="72" rx="8" ry="8"></rect><rect x="16" y="14.93" width="20.29" height="20.29" style="fill:#f25022"></rect><rect x="38.41" y="14.93" width="20.29" height="20.29" style="fill:#7fba00"></rect><rect x="16" y="37.33" width="20.29" height="20.29" style="fill:#00a4ef"></rect><rect x="38.41" y="37.33" width="20.29" height="20.29" style="fill:#ffb900"></rect><path d="M97.84,37.8a2,2,0,0,1,.65-1.5,2.2,2.2,0,0,1,1.55-.61,2.17,2.17,0,0,1,1.59.62,2,2,0,0,1,.63,1.49,1.94,1.94,0,0,1-.64,1.48,2.22,2.22,0,0,1-1.57.6,2.19,2.19,0,0,1-1.56-.6,2,2,0,0,1-.64-1.47m4,19.83H98.21V42.24h3.62V57.63Z" style="fill:#fff"></path><path d="M112.82,55a5,5,0,0,0,1.78-.37,7.52,7.52,0,0,0,1.8-1V57a7.26,7.26,0,0,1-2,.75A10.7,10.7,0,0,1,112,58a7.32,7.32,0,0,1-7.65-7.63,8.78,8.78,0,0,1,2.17-6.11,7.86,7.86,0,0,1,6.15-2.4,8.42 |