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 clipboardy = require('clipboardy'); | |
const fs = require('fs') | |
let last = '' | |
setInterval(() => { | |
fs.readFile('palavras.txt', 'utf8', function(err, data) { | |
const resposta = `Equipe: Oficina / Resposta: ${data.split('\r\n').map(w => w.charAt(0).toUpperCase() + w.slice(1)).sort().join(', ')}` | |
if (resposta !== last) { | |
last = resposta |
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
Bring Me The Horizon , (I Used To Make Out With) Medusa | |
Nirvana , 1. Smells Like Teen Spirit | |
Colorics ft. Aren Eternal , 100 | |
Sweetbox , 1000 Words | |
Schmutz06 , 12 Clusterfucks of Christmas | |
Schmutz06 , 12 Patterns of Christmas | |
Hateen , 1997 | |
Pegboard Nerds , 20K | |
Deventter , 6000 | |
Catfish and the Bottlemen , 7 |
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 numpy as np | |
import math | |
import matplotlib.pyplot as plt | |
min = 0 | |
max = 2*math.pi | |
precision = 3 | |
def x(t): | |
return round(12*math.cos(t) - 6*math.cos(6*t), precision) |
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 sheetsKey = "1zSdw8E6NW7kskIpfi2H0exdLNm8rXo4e8zsPu3-n85E" | |
const sheetsSheet = "handles" | |
const csvUrl = `https://docs.google.com/spreadsheets/d/${sheetsKey}/gviz/tq?tqx=out:csv&sheet=${sheetsSheet}` | |
export default { | |
async fetch(request, env, ctx) { | |
const csvData = await fetch(csvUrl); | |
const csvText = await csvData.text(); |
OlderNewer